/* FinnTimen — production stylesheet
   Baked-in state: accentHue=240 (blue), serifHeadlines=false (sans), heroVariant="ett"
   Mirrors the live-rendered result of the tweak script applied over the base CSS. */

:root {
  --bg: #F7F5F0;
  --bg-2: #EFEBE2;
  --ink: oklch(0.2 0.01 160);
  --ink-2: oklch(0.42 0.01 160);
  --ink-3: oklch(0.6 0.01 160);
  --line: oklch(0.85 0.01 160);
  --line-soft: oklch(0.9 0.01 160);
  --accent: oklch(0.55 0.13 240);
  --accent-ink: oklch(0.32 0.08 240);
  --accent-soft: oklch(0.92 0.04 240);
  --serif: 'Instrument Serif', 'Times New Roman', serif;
  --sans: 'Inter Tight', -apple-system, system-ui, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, monospace;
  --radius: 4px;
  --maxw: 1120px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: inherit; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 32px; }

/* ── Nav ─────────────────────────────── */
nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 28px 0;
}
.logo {
  font-family: var(--sans); font-weight: 500;
  font-size: 24px; letter-spacing: -0.02em;
  text-decoration: none; color: var(--ink);
}
.logo .dot { color: var(--accent); }
nav .nav-right { display: flex; align-items: center; gap: 28px; font-size: 14px; color: var(--ink-2); }
nav .nav-right a { text-decoration: none; transition: color .15s; }
nav .nav-right a:hover { color: var(--ink); }
nav .btn-nav {
  padding: 9px 16px; border-radius: 999px; background: var(--ink); color: var(--bg);
  font-weight: 500; font-size: 13px;
}
nav .btn-nav:hover { background: var(--accent-ink); color: var(--bg); }

/* ── Buttons ────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--sans); font-size: 15px; font-weight: 500;
  padding: 15px 24px; border-radius: 999px; border: 1px solid transparent;
  cursor: pointer; text-decoration: none; transition: all .18s ease;
  white-space: nowrap;
}
.btn-primary { background: var(--ink); color: var(--bg); }
.btn-primary:hover { background: var(--accent-ink); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--ink); }
.btn .arrow { transition: transform .18s ease; }
.btn:hover .arrow { transform: translateX(3px); }

/* ── Hero ───────────────────────────── */
.hero { padding: 120px 0 120px; position: relative; }
.hero h1 {
  font-family: var(--sans); font-weight: 500;
  font-size: clamp(56px, 9vw, 124px);
  line-height: 0.92; letter-spacing: -0.03em;
  margin: 24px 0 32px;
  max-width: 15ch;
  text-wrap: balance;
}
.hero h1 em {
  font-style: italic; color: var(--accent-ink);
  font-feature-settings: "ss01";
}
.hero .lede {
  font-size: clamp(18px, 1.5vw, 22px);
  color: var(--ink-2); max-width: 52ch;
  line-height: 1.45; margin-bottom: 40px;
  text-wrap: pretty;
}
.hero .ctas { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }

/* Time visual */
.time-display {
  margin-top: 96px;
  border-top: 1px solid var(--line);
  padding-top: 40px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: end; gap: 40px;
}
.time-display .label { font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--ink-3); }
.time-display .time {
  font-family: var(--sans); font-weight: 500;
  font-size: clamp(64px, 10vw, 140px);
  line-height: 0.85; letter-spacing: -0.04em; color: var(--ink);
}
.time-display .time .sep { color: var(--accent); }
.time-display .time small {
  font-size: 0.35em; color: var(--ink-3); display: block;
  letter-spacing: 0.05em; text-transform: uppercase;
  font-family: var(--mono); font-weight: 400;
  margin-top: 12px;
}
.time-display .time-sub {
  margin-top: 8px; font-family: var(--sans);
  font-size: 14px; color: var(--ink-2);
}
.time-display .meta { text-align: right; }
.time-display .meta-v {
  font-family: var(--sans); font-weight: 500;
  font-size: 32px; letter-spacing: -0.01em; line-height: 1;
  margin-top: 6px;
}

/* ── Sections ───────────────────────── */
section { padding: 120px 0; border-top: 1px solid var(--line); }

h2.section-title {
  font-family: var(--sans); font-weight: 500;
  font-size: clamp(40px, 5vw, 68px);
  line-height: 1; letter-spacing: -0.02em;
  margin: 20px 0 0;
  max-width: 20ch; text-wrap: balance;
}
h2.section-title em { font-style: italic; color: var(--accent-ink); }

/* ── Pricing ────────────────────────── */
.pricing-head { text-align: center; max-width: 640px; margin: 0 auto 72px; }
.pricing-head h2 {
  font-family: var(--sans); font-weight: 500;
  font-size: clamp(40px, 5vw, 68px);
  line-height: 1; letter-spacing: -0.02em;
  margin-bottom: 20px; text-wrap: balance;
}
.pricing-head h2 em { font-style: italic; color: var(--accent-ink); }
.pricing-head p { color: var(--ink-2); font-size: 17px; line-height: 1.5; max-width: 48ch; margin: 0 auto; text-wrap: pretty; }

.plans {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
  align-items: stretch;
}
.plan {
  background: var(--bg); padding: 36px 32px 32px;
  border: 1px solid var(--line);
  border-radius: 14px;
  display: flex; flex-direction: column; gap: 20px;
  position: relative;
  transition: border-color .2s;
}
.plan:hover { border-color: var(--ink-3); }
.plan-name {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--ink-3);
}
.plan-price {
  display: flex; align-items: baseline; gap: 6px;
  font-family: var(--serif);
  letter-spacing: -0.03em;
}
.plan-price .num {
  font-family: var(--serif); font-size: 68px; line-height: 0.9;
  letter-spacing: -0.03em; font-weight: 400;
}
.plan-price .unit {
  font-family: var(--sans); font-size: 14px; font-weight: 500; color: var(--ink-2);
  white-space: nowrap;
}
.plan-features {
  list-style: none;
  padding: 24px 0 0; border-top: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 12px;
  flex: 1;
}
.plan-features li {
  display: flex; align-items: center; gap: 12px;
  font-size: 14px; color: var(--ink-2); line-height: 1.4;
}
.plan-features .check {
  width: 16px; height: 16px; border-radius: 50%;
  background: var(--accent-soft); color: var(--accent-ink);
  display: inline-grid; place-items: center; flex-shrink: 0;
  font-size: 10px; line-height: 1; font-weight: 700;
}
.plan-btn { width: 100%; justify-content: center; padding: 14px 22px; font-size: 14px; margin-top: auto; }

.plan-featured {
  background: var(--ink); color: var(--bg);
  border-color: var(--ink);
  box-shadow: 0 30px 60px -25px rgba(0,0,0,0.35);
}
.plan-featured:hover { border-color: var(--ink); }
.plan-featured .plan-name { color: oklch(0.75 0.03 240); }
.plan-featured .plan-price .unit { color: oklch(0.75 0.01 160); }
.plan-featured .plan-features { border-top-color: oklch(0.3 0.01 160); }
.plan-featured .plan-features li { color: oklch(0.82 0.01 160); }
.plan-featured .plan-features .check { background: var(--accent); color: var(--ink); }
.plan-featured .plan-btn.btn-primary { background: var(--bg); color: var(--ink); border-color: var(--bg); }
.plan-featured .plan-btn.btn-primary:hover { background: var(--accent); color: var(--ink); border-color: var(--accent); }
.plan-featured .tag {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 6px 14px; border-radius: 999px;
  background: var(--accent); color: var(--ink);
  white-space: nowrap;
}

/* ── FAQ ────────────────────────────── */
.faq-wrap { display: grid; grid-template-columns: 1fr 1.4fr; gap: 80px; margin-top: 60px; }
details {
  border-top: 1px solid var(--line);
  padding: 24px 0;
}
details:last-of-type { border-bottom: 1px solid var(--line); }
summary {
  cursor: pointer; list-style: none;
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--sans); font-weight: 500;
  font-size: 24px; letter-spacing: -0.01em; color: var(--ink);
}
summary::-webkit-details-marker { display: none; }
summary::after {
  content: "+"; font-family: var(--mono); font-size: 20px;
  color: var(--accent); transition: transform .2s;
}
details[open] summary::after { content: "–"; }
details p {
  color: var(--ink-2); font-size: 15px; line-height: 1.6;
  margin-top: 16px; max-width: 60ch;
}

/* ── CTA Strip ──────────────────────── */
.cta-strip {
  padding: 140px 0; text-align: center;
  background: var(--ink); color: var(--bg);
  border-top: none;
}
.cta-strip h2 {
  font-family: var(--sans); font-weight: 500;
  font-size: clamp(48px, 7vw, 96px);
  line-height: 0.95; letter-spacing: -0.03em;
  margin-bottom: 40px; text-wrap: balance; max-width: 16ch; margin-inline: auto;
}
.cta-strip h2 em { font-style: italic; color: var(--accent); }
.cta-strip .btn-primary { background: var(--bg); color: var(--ink); }
.cta-strip .btn-primary:hover { background: var(--accent); color: var(--bg); }
.cta-strip .trial-note { color: oklch(0.7 0.01 160); font-size: 14px; margin-top: 20px; }

/* ── Footer ─────────────────────────── */
footer {
  padding: 32px 0;
  text-align: center;
  background: var(--ink); color: oklch(0.65 0.01 160);
}
footer .logo {
  color: var(--bg); font-size: 20px;
  font-family: var(--sans); font-weight: 500;
}
footer .meta {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em;
  margin-top: 6px;
}

@media (max-width: 820px) {
  .plans { grid-template-columns: 1fr; gap: 16px; }
  .faq-wrap { grid-template-columns: 1fr; gap: 40px; }
  .time-display { grid-template-columns: 1fr; text-align: left; gap: 20px; }
  .time-display .meta { text-align: left; }
  nav .nav-right a:not(.btn-nav) { display: none; }
  .hero { padding: 64px 0 80px; }
  section { padding: 80px 0; }
}
