:root {
  --bg: #f6f3ec;
  --surface: #ffffff;
  --ink: #151a22;
  --muted: #5b6270;
  --line: #e2ddd2;
  --accent: #1f3d6b;
  --accent-soft: #e8edf5;
  --warm: #b4532a;
  --ok: #2f7d5b;
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; color-scheme: light; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 17px/1.65 Figtree, system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
p { margin: 0; }
h1, h2, h3 { margin: 0; font-family: "Instrument Serif", Georgia, serif; font-weight: 400; line-height: 1.04; letter-spacing: -0.012em; }
h1 { font-size: clamp(2.7rem, 6.2vw, 4.7rem); }
h2 { font-size: clamp(2rem, 4.2vw, 3rem); }
h3 { font-size: 1.7rem; }
h1 em, h2 em { font-style: italic; }
h1, h2, h3, p, summary, .label, .tabs button { overflow-wrap: anywhere; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 24px; }
.muted { color: var(--muted); }
.label { font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }

/* header */
header { border-bottom: 1px solid var(--line); }
header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-family: "Instrument Serif", serif; font-size: 1.55rem; letter-spacing: -0.01em; white-space: nowrap; }
.brand svg { width: 34px; height: 27px; color: var(--accent); }
nav { display: flex; align-items: center; gap: 28px; font-size: .95rem; }
nav a.plain { text-decoration: none; color: var(--muted); transition: color .15s ease; }
@media (hover: hover) and (pointer: fine) { nav a.plain:hover { color: var(--ink); } }
@media (max-width: 700px) { nav a.plain { display: none; } .brand { font-size: 1.35rem; } }

.btn {
  display: inline-block; font: inherit; font-weight: 600; font-size: .98rem; text-decoration: none; cursor: pointer;
  padding: 13px 24px; border-radius: 8px; border: 1px solid var(--ink);
  background: var(--ink); color: #fff; white-space: nowrap;
  transition: background .15s ease, transform .15s var(--ease-out);
}
.btn.ghost { background: transparent; color: var(--ink); border-color: #b9b3a5; }
.btn.small { padding: 9px 18px; font-size: .92rem; }
@media (hover: hover) and (pointer: fine) {
  .btn:hover { background: #2b3340; }
  .btn.ghost:hover { background: #ece8dd; }
}
.btn:active { transform: scale(0.98); }

/* hero */
.hero { padding: 72px 0 88px; }
.hero-grid { display: grid; gap: 56px; grid-template-columns: 1fr; align-items: center; }
@media (min-width: 920px) { .hero-grid { grid-template-columns: 1fr 1.1fr; gap: 64px; } }
.hero .label { display: block; margin-bottom: 18px; }
.lede { margin-top: 22px; font-size: 1.18rem; color: var(--muted); max-width: 31em; }
.cta-row { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 12px; }

.rule { position: relative; display: inline-block; }
.rule svg { position: absolute; left: 0; bottom: -.1em; width: 100%; height: .22em; overflow: visible; }
.rule path { fill: none; stroke: var(--warm); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 400; stroke-dashoffset: 400; animation: draw .9s .3s var(--ease-out) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }

.player { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 10px; box-shadow: 0 24px 50px -28px rgba(21, 26, 34, .35); }
.screen { aspect-ratio: 16 / 9; background: #efebe0; border-radius: 8px; overflow: hidden; display: grid; place-items: center; }
.screen video { width: 100%; height: 100%; object-fit: contain; display: block; background: #fff; }
.screen .empty { padding: 24px; text-align: center; color: var(--muted); font-size: .95rem; }
.caption { margin: 0 0 10px 4px; font-size: .85rem; color: var(--muted); }
.tabs { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.tabs button {
  font: inherit; font-weight: 600; font-size: .88rem; cursor: pointer; color: var(--muted);
  padding: 7px 14px; background: transparent; border: 1px solid var(--line); border-radius: 999px;
  transition: background .15s ease, color .15s ease, transform .15s var(--ease-out);
}
@media (hover: hover) and (pointer: fine) { .tabs button:hover { color: var(--ink); background: #ece8dd; } }
.tabs button:active { transform: scale(0.97); }
.tabs button[aria-selected="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }

section { padding: 88px 0; border-top: 1px solid var(--line); }
section .label { display: block; margin-bottom: 14px; }

/* how */
.steps { display: grid; gap: 40px; margin-top: 48px; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.step svg { width: 44px; height: 44px; color: var(--accent); margin-bottom: 18px; }
.step .n { font-family: "Instrument Serif", serif; font-size: 1rem; color: var(--warm); margin-bottom: 6px; display: block; }
.step h3 { font-size: 1.5rem; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: .98rem; max-width: 24em; }

/* pricing */
.tiers { display: grid; gap: 22px; margin-top: 48px; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.tier { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 36px; display: flex; flex-direction: column; justify-content: space-between; gap: 30px; }
.tier.dark { background: var(--ink); color: #f3f0e8; border-color: var(--ink); }
.tier .tag { font-size: .78rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; display: block; }
.tier.dark .tag { color: #a9b3c6; }
.price { font-family: "Instrument Serif", serif; font-size: 3.6rem; line-height: 1; letter-spacing: -0.02em; margin: 14px 0 22px; }
.price small { font: 500 .95rem Figtree, sans-serif; color: var(--muted); letter-spacing: 0; margin-left: 4px; }
.tier.dark .price small { color: #a9b3c6; }
.tier ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.tier li { padding-left: 28px; position: relative; color: var(--muted); font-size: .98rem; }
.tier.dark li { color: #d6d9e0; }
.tier li::before { content: ""; position: absolute; left: 2px; top: .5em; width: 12px; height: 7px; border-left: 2px solid var(--ok); border-bottom: 2px solid var(--ok); transform: rotate(-48deg); }
.tier.dark li::before { border-color: #7fd4ad; }
.tier .btn { text-align: center; }
.tier.dark .btn { background: #f3f0e8; color: var(--ink); border-color: #f3f0e8; }
@media (hover: hover) and (pointer: fine) { .tier.dark .btn:hover { background: #fff; } }
.fine { margin-top: 28px; color: var(--muted); font-size: .95rem; max-width: 40em; }

/* faq */
.faq { margin-top: 36px; max-width: 740px; border-top: 1px solid var(--line); }
details { border-bottom: 1px solid var(--line); padding: 20px 2px; }
summary { cursor: pointer; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-size: 1.4rem; line-height: 1; color: var(--accent); font-weight: 400; transition: transform .2s var(--ease-out); }
details[open] summary::after { transform: rotate(45deg); }
details p { margin-top: 12px; color: var(--muted); max-width: 40em; }

.hello .big { font-family: "Instrument Serif", serif; font-size: clamp(1.9rem, 4.4vw, 3rem); line-height: 1.1; }
.hello a.mail { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 6px; }

footer { border-top: 1px solid var(--line); padding: 36px 0 60px; color: var(--muted); font-size: .88rem; }
footer .wrap { display: grid; gap: 6px; }

[hidden] { display: none !important; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .rule path { animation: none; stroke-dashoffset: 0; }
  .btn, .tabs button, summary::after, nav a.plain { transition: none; }
}

/* sound button on the hero video */
.screen { position: relative; }
.sound { position: absolute; left: 12px; bottom: 12px; display: inline-flex; align-items: center; gap: 8px; font: inherit; font-weight: 600; font-size: .88rem; cursor: pointer; color: #fff; background: rgba(21, 26, 34, .82); border: 0; border-radius: 999px; padding: 9px 16px 9px 12px; transition: background .15s ease, transform .15s var(--ease-out), opacity .2s ease; }
.sound svg { width: 18px; height: 18px; }
@media (hover: hover) and (pointer: fine) { .sound:hover { background: rgba(21, 26, 34, .95); } }
.sound:active { transform: scale(0.97); }

/* styles page */
.page-head { padding: 72px 0 40px; }
.page-head .label { display: block; margin-bottom: 18px; }
.page-head .lede { max-width: 34em; }
.style-grid { display: grid; gap: 28px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr)); padding-bottom: 88px; }
.style-card { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 10px 10px 22px; box-shadow: 0 24px 50px -32px rgba(21, 26, 34, .3); }
.style-card .screen { border-radius: 8px; }
.style-card h2 { font-size: 2rem; margin: 20px 14px 6px; }
.style-card p { margin: 0 14px; color: var(--muted); font-size: .98rem; }
.style-card .best { margin-top: 10px; font-size: .9rem; }
.style-card .best b { color: var(--ink); font-weight: 600; }
.note { color: var(--muted); font-size: .9rem; max-width: 42em; padding-bottom: 12px; }
.cta-band { border-top: 1px solid var(--line); padding: 72px 0 88px; }
.cta-band h2 { max-width: 16em; }
.cta-band .cta-row { margin-top: 28px; }
nav a.current { color: var(--ink); }
.teaser { display: grid; gap: 36px; grid-template-columns: 1fr; align-items: center; margin-top: 8px; }
@media (min-width: 860px) { .teaser { grid-template-columns: 1.1fr 1fr; gap: 56px; } }
.teaser p.muted { max-width: 30em; margin-top: 16px; font-size: 1.05rem; }
.teaser .cta-row { margin-top: 26px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chips span { font-weight: 600; font-size: .95rem; padding: 10px 18px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); }

.group { font-family: "Instrument Serif", Georgia, serif; font-size: 1.7rem; font-weight: 400; margin: 8px 0 22px; }

/* four pricing plans plus enterprise */
.tiers.four { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 18px; }
.tiers.four .tier { padding: 28px; }
.tiers.four .price { font-size: 3rem; }
.enterprise { margin-top: 22px; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; border: 1px dashed #b9b3a5; border-radius: 16px; padding: 26px 30px; }
.enterprise h3 { font-size: 1.6rem; margin-bottom: 6px; }
.enterprise p { max-width: 40em; font-size: .98rem; }

.more { margin-top: 18px; font-size: .95rem; }
.more a { color: var(--accent); text-underline-offset: 4px; }

/* legal pages */
.prose { padding-bottom: 96px; max-width: 760px; }
.prose h2 { font-size: 1.6rem; margin: 40px 0 10px; }
.prose p { color: var(--muted); margin: 0 0 14px; }
.prose b { color: var(--ink); font-weight: 600; }
footer a { text-underline-offset: 3px; }

/* seo: industry cards and topic lists */
.industries { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); margin-top: 26px; }
.industry { display: flex; flex-direction: column; gap: 4px; padding: 18px 20px; border: 1px solid var(--line); border-radius: 14px; background: #fff; text-decoration: none; color: var(--ink); }
.industry:hover { border-color: var(--ink); }
.industry span { color: var(--muted); font-size: .92rem; }
.topics { padding-left: 1.1em; margin: 0 0 14px; color: var(--muted); }
.topics li { margin: 0 0 10px; }
.topics b { color: var(--ink); font-weight: 600; }
.prose h3 { font-size: 1.1rem; margin: 22px 0 6px; }
.others a { margin-right: 4px; }
.foot-links { margin-bottom: 6px; }
