/* Seekvara website.
   Palette: the product's own (dashboard/app/globals.css) so the site and the app feel like one thing.
   Type: Bricolage Grotesque for headings (it carries the voice), Inter for reading (it is the app's face). */
@font-face { font-family: "Bricolage"; src: url("/fonts/bricolage.woff2") format("woff2"); font-weight: 200 800; font-display: swap; }
@font-face { font-family: "Inter"; src: url("/fonts/inter.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }

:root {
  --paper: #ffffff;
  --mist: #f4f4f7;
  --ink: #18181b;
  --slate: #52525b;
  --line: #e4e4e7;
  --indigo: #4f46e5;
  --indigo-dark: #4338ca;
  --indigo-soft: #eef2ff;
  --deep: #1e1b4b;
  --fit: #10b981;

  --display: "Bricolage", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --text: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  /* a 1.25 scale from 17px body text */
  --s-1: 0.875rem; --s0: 1.0625rem; --s1: 1.3125rem; --s2: 1.625rem;
  --s3: clamp(1.75rem, 1.2rem + 2.2vw, 2.75rem);
  --s4: clamp(2.6rem, 1.4rem + 5.4vw, 5.6rem);

  --gutter: clamp(1.25rem, 0.6rem + 2.6vw, 2.5rem);
  --band: clamp(4.5rem, 3rem + 6vw, 8.5rem);
  --radius: 14px;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 var(--s0)/1.6 var(--text);
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; font-feature-settings: "cv11", "ss01"; }
img, video { display: block; max-width: 100%; height: auto; }
a { color: var(--indigo-dark); text-underline-offset: 3px; }
:focus-visible { outline: 3px solid var(--indigo); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: var(--gutter); }
.skip { position: absolute; left: -999px; top: 0; background: var(--ink); color: #fff; padding: .6rem 1rem; z-index: 100; }
.skip:focus { left: 1rem; top: 1rem; }

h1, h2, h3 { font-family: var(--display); font-weight: 700; color: var(--ink); margin: 0; text-wrap: balance; }
h1 { font-size: var(--s4); line-height: .96; letter-spacing: -.038em; max-width: 13ch; }
h2 { font-size: var(--s3); line-height: 1.04; letter-spacing: -.03em; max-width: 22ch; }
h3 { font-size: var(--s2); line-height: 1.12; letter-spacing: -.02em; }
p { margin: 0; text-wrap: pretty; }
.section-lede { margin-top: 1rem; color: var(--slate); font-size: var(--s1); line-height: 1.5; max-width: 38em; }

/* buttons: one shape, two weights */
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: .55rem 1.1rem;
  border-radius: 10px; background: var(--indigo); color: #fff; font: 600 var(--s0)/1.2 var(--text); text-decoration: none;
  border: 1px solid var(--indigo); transition: background-color .15s ease; white-space: nowrap; }
.button:hover { background: var(--indigo-dark); border-color: var(--indigo-dark); }
.button.big { min-height: 52px; padding: .8rem 1.5rem; font-size: 1.0625rem; }
.button.quiet { background: transparent; color: var(--ink); border-color: var(--line); }
.button.quiet:hover { background: var(--mist); }

/* header */
.top { position: sticky; top: 0; z-index: 20; background: rgba(255, 255, 255, .88); backdrop-filter: saturate(1.4) blur(12px);
  -webkit-backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid transparent; transition: border-color .2s ease; }
.top.scrolled { border-bottom-color: var(--line); }
.top-row { display: flex; align-items: center; gap: 2rem; min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: .6rem; font: 650 1.2rem/1 var(--text); letter-spacing: -.02em; color: var(--ink); text-decoration: none; }
.brand svg { width: 30px; height: 30px; flex: none; }
.links { display: flex; gap: 1.6rem; }
.links a, .signin { color: var(--slate); text-decoration: none; font-size: .975rem; font-weight: 500; }
.links a:hover, .signin:hover { color: var(--ink); }
.top-actions { margin-left: auto; display: flex; align-items: center; gap: 1.25rem; }
@media (max-width: 880px) { .links { display: none; } }
@media (max-width: 420px) { .signin { display: none; } }

/* hero: the headline and the product doing its job */
/* the hero video hangs over the grey section below by --overlap, at any screen size */
.hero { --overlap: clamp(3rem, 1rem + 12vw, 10rem); padding-block: clamp(3rem, 2rem + 4vw, 6rem) 0; background: var(--paper); position: relative; z-index: 1; }
.hero + .how { padding-top: calc(var(--band) + clamp(3rem, 1rem + 12vw, 10rem)); }
.hero-copy { display: grid; grid-template-columns: minmax(0, 36rem) auto; gap: 1.25rem 3rem; align-items: end; margin-top: 2rem; }
.lede { font-size: var(--s1); line-height: 1.5; color: var(--slate); grid-row: span 2; }
.cta-row { display: flex; flex-wrap: wrap; gap: .75rem; }
.fine { font-size: var(--s-1); color: var(--slate); }
@media (max-width: 880px) { .hero-copy { grid-template-columns: 1fr; } .lede { grid-row: auto; } }
.hero-frame { margin-top: clamp(2.5rem, 1.5rem + 3vw, 4rem); margin-bottom: calc(-1 * var(--overlap)); }

/* media frames: the product in a window */
.frame { margin: 0; position: relative; border-radius: var(--radius); overflow: hidden; background: var(--paper);
  border: 1px solid var(--line); box-shadow: 0 30px 60px -30px rgba(30, 27, 75, .35), 0 2px 8px rgba(24, 24, 27, .05); }
.hero-frame { box-shadow: 0 50px 90px -40px rgba(30, 27, 75, .5), 0 2px 10px rgba(24, 24, 27, .06); }
.frame img, .frame video { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.frame figcaption { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.clip-toggle { position: absolute; right: 14px; bottom: 14px; width: 40px; height: 40px; border-radius: 50%; border: 0; cursor: pointer;
  background: rgba(24, 24, 27, .72); color: #fff; display: grid; place-items: center; }
.clip-toggle::before { content: ""; width: 12px; height: 14px; box-sizing: border-box; border-left: 4px solid currentColor; border-right: 4px solid currentColor; }
@media (max-width: 640px) { .clip-toggle { width: 32px; height: 32px; right: 10px; bottom: 10px; transform: scale(.85); } }
.clip-toggle.paused::before { width: 13px; border: 0; background: currentColor; clip-path: polygon(12% 0, 100% 50%, 12% 100%); margin-left: 3px; }

/* how it works: a real sequence, so it is numbered */
.how { background: var(--mist); padding-block: var(--band); }
.steps { list-style: none; margin: clamp(3rem, 2rem + 3vw, 5rem) 0 0; padding: 0; display: grid; gap: clamp(3.5rem, 2.5rem + 4vw, 7rem); }
.step { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(1.75rem, 1rem + 3vw, 4.5rem); align-items: center; }
.step-text { position: relative; padding-left: 4rem; }
.step-num { position: absolute; left: 0; top: .1rem; width: 2.5rem; height: 2.5rem; border-radius: 50%;
  background: var(--paper); border: 1px solid var(--line); color: var(--indigo); display: grid; place-items: center;
  font: 700 1.05rem/1 var(--display); }
.step:not(:last-child) .step-num::after { content: ""; position: absolute; top: calc(100% + .6rem); left: 50%; width: 1px;
  height: clamp(8rem, 6rem + 10vw, 14rem); background: linear-gradient(var(--line), transparent); }
.step-text p { margin-top: .85rem; color: var(--slate); }
@media (max-width: 880px) {
  .step { grid-template-columns: 1fr; }
  .step:not(:last-child) .step-num::after { display: none; }
}
@media (max-width: 520px) { .step-text { padding-left: 3.25rem; } }

/* 404 */
.missing { padding-block: clamp(5rem, 4rem + 8vw, 10rem); }
.missing-actions { margin-top: 2rem; }

/* extension */
.extension { padding-block: var(--band); }
.ext-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2rem, 1rem + 4vw, 5rem); align-items: center; }
.ext-list { margin: 2rem 0 2.25rem; display: grid; gap: 1.4rem; }
.ext-list dt { font-weight: 650; }
.ext-list dd { margin: .25rem 0 0; color: var(--slate); }
@media (max-width: 880px) { .ext-grid { grid-template-columns: 1fr; } }

/* the one dark band: what Seekvara will and won't do in your name */
.charge { background: var(--deep); color: #e0e7ff; padding-block: var(--band); }
.charge h2 { color: #fff; }
.charge-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2rem, 1rem + 4vw, 5rem); }
.promises { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.promises li { padding: 1.15rem 0; border-top: 1px solid rgba(199, 210, 254, .18); line-height: 1.55; }
.promises li:last-child { border-bottom: 1px solid rgba(199, 210, 254, .18); }
.promises b { color: #fff; font-weight: 650; }
@media (max-width: 880px) { .charge-grid { grid-template-columns: 1fr; } }

/* pricing */
.pricing { padding-block: var(--band) calc(var(--band) * .6); }
.pricing-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem 4rem; flex-wrap: wrap; }
.pricing-row > div { max-width: 46rem; }

/* questions */
.faq { padding-block: calc(var(--band) * .6) var(--band); }
.faq-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 2rem 4rem; border-top: 1px solid var(--line); padding-top: calc(var(--band) * .6); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list details:first-child { border-top: 1px solid var(--line); }
.faq-list summary { cursor: pointer; list-style: none; padding: 1.15rem 2.5rem 1.15rem 0; position: relative; font-weight: 600; font-size: 1.1rem; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: ""; position: absolute; right: .4rem; top: 50%; width: 10px; height: 10px; margin-top: -7px;
  border-right: 2px solid var(--slate); border-bottom: 2px solid var(--slate); transform: rotate(45deg); transition: transform .2s ease; }
.faq-list details[open] summary::after { transform: rotate(225deg); margin-top: -2px; }
.faq-list details p { padding: 0 0 1.3rem; color: var(--slate); max-width: 40em; }
@media (max-width: 880px) { .faq-grid { grid-template-columns: 1fr; } }

/* closing */
.closing { background: var(--indigo); color: #e0e7ff; padding-block: clamp(4rem, 3rem + 4vw, 6.5rem); }
.closing-row { display: grid; grid-template-columns: auto 1fr auto; gap: 1rem 2.5rem; align-items: center; }
.closing h2 { color: #fff; }
.closing p { font-size: var(--s1); max-width: 24em; }
.closing .button { background: #fff; color: var(--indigo-dark); border-color: #fff; }
.closing .button:hover { background: var(--indigo-soft); }
@media (max-width: 880px) { .closing-row { grid-template-columns: 1fr; justify-items: start; } }

/* footer */
.foot { padding-block: 2.25rem; }
.foot-row { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 2rem; }
.brand.small { font-size: 1rem; } .brand.small svg { width: 24px; height: 24px; }
.foot-links { display: flex; flex-wrap: wrap; gap: .5rem 1.4rem; }
.foot-links a { color: var(--slate); text-decoration: none; font-size: .95rem; }
.foot-links a:hover { color: var(--ink); text-decoration: underline; }
.copy { margin-left: auto; color: var(--slate); font-size: .95rem; }
@media (max-width: 640px) { .copy { margin-left: 0; } }
