/* Cantus website — shared styles (rebuilt Oct 2026). Same palette as the app.
   Headings: Times New Roman, chosen by Davis (Oct 3 2026). The old site asked
   Google Fonts for Fraunces with an invalid axis list, so Fraunces never
   loaded and browsers showed their default serif (Times New Roman); that is
   the look Davis prefers, now set on purpose. Body text: Jost. */
:root {
  --ink: #1c1814; --ink2: #26211b; --ink3: #3a3229;
  --teal: #476C77; --teal-lt: #6a9aaa; --teal-dk: #2e4852;
  --gold: #9a7c3f; --gold-lt: #c4a05a; --gold-dk: #6b5328;
  --parchment: #f2ede4; --parchment2: #ede6d8; --parchment3: #e5dccb;
  --sepia: #6f604d; --sepia-lt: #a89880;
  --border: #c8bfa8; --green: #2f7d4f;
  --max: 1120px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--parchment); color: var(--ink); font-family: 'Jost', system-ui, sans-serif; font-weight: 300; font-size: 16px; line-height: 1.65; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
h1, h2, h3, .display { font-family: 'Times New Roman', Times, serif; font-weight: 500; letter-spacing: -0.01em; line-height: 1.15; margin: 0 0 .5em; }
h1 { font-size: clamp(34px, 5vw, 56px); line-height: 1.08; }
/* Matches the original site (Davis, Oct 3): same weight as the heading, dark teal. */
h1 em, h2 em { font-style: italic; color: var(--teal-dk); font-weight: inherit; }
h2 { font-size: clamp(28px, 3.6vw, 40px); }
h3 { font-size: 22px; }
p { margin: 0 0 1em; }
a { color: var(--teal-dk); }
img { max-width: 100%; height: auto; display: block; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.eyebrow { font-size: 12px; letter-spacing: .26em; text-transform: uppercase; color: var(--gold-dk); font-weight: 500; margin-bottom: 14px; }
.lead { font-size: 17px; color: var(--sepia); max-width: 600px; }
.muted { color: var(--sepia); }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--ink); color: var(--parchment); padding: 8px 14px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--teal-lt); outline-offset: 3px; }

/* ── Buttons ── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 28px; border-radius: 2px; font: 400 13px/1.2 'Jost', sans-serif; letter-spacing: .14em; text-transform: uppercase; text-decoration: none; cursor: pointer; border: 1px solid transparent; transition: background .2s, color .2s, border-color .2s; }
.btn-primary { background: var(--teal); color: #fff; }
.btn-primary:hover { background: var(--teal-dk); }
.btn-ghost { border-color: var(--border); color: var(--ink); background: transparent; }
.btn-ghost:hover { border-color: var(--ink); }
.btn-dark { background: var(--ink); color: var(--parchment); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.text-link { color: var(--teal-dk); font-weight: 500; text-decoration: none; border-bottom: 1px solid currentColor; }
.text-link:hover { color: var(--ink); }

/* ── Header ── */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(242,237,228,.94); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border-bottom: 1px solid var(--border); }
.nav-inner { max-width: var(--max); margin: 0 auto; padding: 10px 24px; display: flex; align-items: center; gap: 28px; }
.nav-brand { display: flex; align-items: center; gap: 2px; text-decoration: none; margin-right: auto; }
.nav-logo { height: 42px; width: auto; }
.tm { font-size: 9px; color: var(--sepia); align-self: flex-start; margin-top: 4px; }
.nav-links { display: flex; align-items: center; gap: 26px; list-style: none; margin: 0; padding: 0; }
.nav-links > li > a, .nav-drop-btn { font: 400 15px 'Jost', sans-serif; color: var(--ink3); text-decoration: none; background: none; border: 0; cursor: pointer; padding: 8px 0; display: inline-flex; align-items: center; gap: 6px; }
.nav-links > li > a:hover, .nav-drop-btn:hover, .nav-links a[aria-current="page"] { color: var(--ink); }
.nav-links a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--gold); }
.nav-drop { position: relative; }
.nav-drop-btn .chev { width: 9px; height: 9px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg) translateY(-2px); transition: transform .2s; }
.nav-drop-btn[aria-expanded="true"] .chev { transform: rotate(-135deg) translateY(-1px); }
.nav-menu { position: absolute; top: calc(100% + 8px); left: -18px; min-width: 300px; background: var(--parchment); border: 1px solid var(--border); box-shadow: 0 18px 40px rgba(36,26,16,.14); padding: 8px; display: none; list-style: none; margin: 0; }
.nav-menu.open { display: block; }
.nav-menu a { display: block; padding: 10px 12px; text-decoration: none; color: var(--ink); border-radius: 3px; }
.nav-menu a:hover, .nav-menu a[aria-current="page"] { background: var(--parchment2); }
.nav-menu a strong { display: block; font-weight: 500; font-size: 15px; }
.nav-menu a span { display: block; font-size: 13px; color: var(--sepia); line-height: 1.4; }
.nav-login { color: var(--ink3) !important; }
.nav-links > li > a.nav-cta { padding: 9px 18px; background: var(--teal); color: #fff !important; border-radius: 4px; font-weight: 500 !important; }
.nav-links > li > a.nav-cta:hover { background: var(--teal-dk); color: #fff; }
.nav-toggle { display: none; background: none; border: 1px solid var(--border); border-radius: 4px; width: 44px; height: 40px; cursor: pointer; padding: 0; align-items: center; justify-content: center; }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after { display: block; width: 18px; height: 1.5px; background: var(--ink); position: relative; content: ''; }
.nav-toggle span::before { position: absolute; top: -6px; } .nav-toggle span::after { position: absolute; top: 6px; }
@media (max-width: 880px) {
  .nav-toggle { display: inline-flex; }
  .nav-links { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--parchment); border-bottom: 1px solid var(--border); flex-direction: column; align-items: stretch; gap: 0; padding: 8px 16px 18px; box-shadow: 0 14px 30px rgba(36,26,16,.12); max-height: calc(100vh - 64px); overflow-y: auto; }
  .nav-links.open { display: flex; }
  .nav-links > li > a, .nav-drop-btn { padding: 13px 4px; width: 100%; font-size: 17px; border-bottom: 1px solid var(--parchment3); }
  .nav-menu { position: static; display: block; border: 0; box-shadow: none; padding: 0 0 6px 10px; min-width: 0; background: transparent; }
  .nav-drop-btn { display: none; }
  .nav-links > li > a.nav-cta { margin-top: 12px; justify-content: center; text-align: center; border-bottom: 0; }
  .nav-links a[aria-current="page"] { box-shadow: none; color: var(--gold-dk); }
}

/* ── Sections ── */
section { padding: 88px 0; }
section.tight { padding: 56px 0; }
.alt { background: var(--parchment2); border-top: 1px solid var(--parchment3); border-bottom: 1px solid var(--parchment3); }
.dark { background: var(--ink); color: var(--parchment); }
.dark .lead, .dark p { color: #d8cfbf; }
.dark .eyebrow { color: var(--gold-lt); }
.section-head { max-width: 700px; margin-bottom: 44px; }
.section-head.center { margin-left: auto; margin-right: auto; }

/* ── Hero ── */
.hero { padding: 72px 0 40px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 48px; align-items: center; }
.hero .lead { margin-bottom: 28px; }
.hero-note { margin-top: 16px; font-size: 14px; color: var(--sepia); }
.page-hero { padding: 64px 0 24px; }
.page-hero .lead { margin-bottom: 26px; }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; } .hero { padding-top: 44px; } }

/* ── Device frames (real app screenshots) ── */
.devices { position: relative; padding: 10px 0 30px; }
.laptop { position: relative; }
.laptop-screen { background: #14110e; border-radius: 12px 12px 0 0; padding: 10px 10px 12px; box-shadow: 0 30px 60px -24px rgba(36,26,16,.45); }
.laptop-screen img { border-radius: 3px; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; }
.laptop-base { height: 14px; margin: 0 -5%; background: linear-gradient(#d6cfc2, #b9b1a3); border-radius: 0 0 14px 14px; box-shadow: 0 10px 24px -10px rgba(36,26,16,.4); }
.phone { width: 100%; max-width: 280px; background: #14110e; border-radius: 40px; padding: 10px; box-shadow: 0 30px 60px -20px rgba(36,26,16,.5), inset 0 0 0 2px #2b251e; }
.phone img { border-radius: 31px; width: 100%; aspect-ratio: 390 / 844; object-fit: cover; object-position: top; background: var(--parchment); }
.devices .phone { position: absolute; right: -2%; bottom: 0; width: 34%; max-width: 230px; }
.devices .laptop { width: 92%; }
.phone-pair { display: flex; gap: 22px; justify-content: center; align-items: flex-start; }
.phone-pair .phone { max-width: 250px; }
.phone-pair .phone:nth-child(2) { margin-top: 48px; }
figure { margin: 0; }
figcaption { font-size: 14px; color: var(--sepia); margin-top: 14px; text-align: center; }
@media (max-width: 600px) { .devices .phone { width: 38%; right: 0; } .phone-pair .phone { max-width: 46%; } .phone-pair .phone:nth-child(2) { margin-top: 28px; } }

/* ── Feature rows ── */
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; padding: 56px 0; border-top: 1px solid var(--parchment3); }
.feature:first-child { border-top: 0; padding-top: 8px; }
.feature.flip .feature-text { order: 2; }
.feature-text h3 { font-size: clamp(24px, 2.6vw, 30px); }
.feature.wide { grid-template-columns: 1fr 1.35fr; }
.feature.wide.flip { grid-template-columns: 1.35fr 1fr; }
.checks { list-style: none; padding: 0; margin: 18px 0 0; }
.checks li { position: relative; padding-left: 28px; margin-bottom: 10px; }
.checks li::before { content: ''; position: absolute; left: 2px; top: 9px; width: 12px; height: 7px; border-left: 2px solid var(--teal); border-bottom: 2px solid var(--teal); transform: rotate(-45deg); }
.feature-visual { display: flex; justify-content: center; }
@media (max-width: 860px) {
  .feature, .feature.wide, .feature.wide.flip { grid-template-columns: 1fr; gap: 28px; padding: 44px 0; }
  .feature.flip .feature-text { order: 0; }
}

/* ── Cards ── */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card { background: var(--parchment); border: 1px solid var(--border); padding: 0; display: flex; flex-direction: column; text-decoration: none; color: var(--ink); transition: transform .2s, box-shadow .2s; }
a.card:hover { transform: translateY(-3px); box-shadow: 0 16px 34px -18px rgba(36,26,16,.35); }
.card-img { background: var(--ink); padding: 14px 14px 0; height: 210px; overflow: hidden; }
.card-img img { width: 100%; border-radius: 4px 4px 0 0; aspect-ratio: 16/10; object-fit: cover; object-position: top left; }
.card-body { padding: 22px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.card-body h3 { font-size: 22px; margin-bottom: 8px; }
.card-body p { color: var(--sepia); font-size: 15.5px; flex: 1; }
.card-more { color: var(--teal-dk); font-weight: 500; font-size: 15px; }
.mini-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px 32px; }
.mini h3 { font-size: 19px; margin-bottom: 6px; }
.mini p { font-size: 16px; color: var(--ink3); margin: 0; }
@media (max-width: 860px) { .cards, .mini-grid { grid-template-columns: 1fr; } .card-img { height: 190px; } }

/* ── Founder strip ── */
.founder { display: grid; grid-template-columns: 1fr; gap: 28px; align-items: center; max-width: 860px; margin: 0 auto; }
.founder-mark { width: 84px; height: 84px; border-radius: 50%; background: var(--ink); display: flex; align-items: center; justify-content: center; }
.founder-mark img { width: 58px; filter: invert(.92) sepia(.15); }
.founder p { font-size: 17px; margin: 0; color: var(--sepia); }
.founder strong { color: var(--ink); font-weight: 500; }
@media (max-width: 600px) { .founder { grid-template-columns: 1fr; text-align: center; } .founder-mark { margin: 0 auto; } }

/* ── Testimonials ── */
.quotes { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.quote { background: var(--parchment); border: 1px solid var(--border); padding: 30px; margin: 0; }
.quote blockquote { margin: 0 0 18px; font-family: 'Times New Roman', Times, serif; font-size: 20px; line-height: 1.45; }
.quote cite { font-style: normal; font-size: 15px; color: var(--sepia); }
.quote cite strong { color: var(--ink); font-weight: 500; }
@media (max-width: 760px) { .quotes { grid-template-columns: 1fr; } }

/* ── Pricing ── */
.price-card { max-width: 520px; margin: 0 auto; background: var(--parchment); border: 1px solid var(--border); padding: 40px; text-align: center; box-shadow: 0 24px 50px -30px rgba(36,26,16,.4); }
.price { font-family: 'Times New Roman', Times, serif; font-size: 58px; line-height: 1; }
.price small { font-family: 'Jost', sans-serif; font-size: 18px; color: var(--sepia); }
.price-alt { margin: 10px 0 24px; color: var(--ink3); }
.price-alt strong { color: var(--green); font-weight: 500; }
.price-card .checks { text-align: left; display: inline-block; margin: 0 auto 26px; }
.guarantee { font-size: 15px; color: var(--sepia); margin-top: 18px; }
.price-teaser { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.price-teaser .price { font-size: 46px; }

/* ── Compare table ── */
.table-wrap { overflow-x: auto; border: 1px solid var(--border); background: var(--parchment); -webkit-overflow-scrolling: touch; }
.compare { width: 100%; border-collapse: collapse; min-width: 640px; font-size: 15.5px; }
.compare th, .compare td { padding: 14px 18px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--parchment3); }
.compare thead th { background: var(--ink); color: var(--parchment); font-weight: 500; font-size: 14px; letter-spacing: .06em; text-transform: uppercase; position: sticky; top: 0; }
.compare tbody th { font-weight: 500; width: 24%; }
.compare td.us { background: rgba(71,108,119,.06); }
.tag { display: inline-block; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; padding: 2px 8px; border-radius: 3px; background: var(--parchment3); color: var(--gold-dk); margin-left: 6px; vertical-align: 1px; white-space: nowrap; }
.tag.soon { background: rgba(154,124,63,.14); }

/* ── FAQ ── */
.faq { max-width: 780px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--border); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 36px 20px 0; position: relative; font-family: 'Times New Roman', Times, serif; font-size: 20px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 4px; top: 16px; font-size: 26px; color: var(--gold); font-family: 'Jost', sans-serif; font-weight: 300; }
.faq details[open] summary::after { content: '−'; }
.faq details p { color: var(--ink3); margin-bottom: 20px; }

/* ── Callouts ── */
.note-box { border: 1px solid var(--border); border-left: 4px solid var(--gold); background: var(--parchment); padding: 22px 26px; }
.note-box h3 { font-size: 20px; margin-bottom: 6px; }
.note-box p { margin: 0; color: var(--ink3); }
.roadmap { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.roadmap div { border: 1px solid var(--border); padding: 20px 22px; background: var(--parchment); }
.roadmap h3 { font-size: 18px; margin-bottom: 4px; }
.roadmap p { margin: 0; font-size: 15.5px; color: var(--ink3); }
@media (max-width: 760px) { .roadmap { grid-template-columns: 1fr; } }

/* ── CTA band + contact ── */
.cta-band { text-align: center; }
.cta-band .btn-row { justify-content: center; margin-top: 26px; }
.contact { max-width: 620px; margin: 40px auto 0; text-align: left; }
.contact label { display: block; font-size: 14px; color: #d8cfbf; margin-bottom: 14px; }
.contact input, .contact textarea { display: block; width: 100%; margin-top: 6px; padding: 12px 14px; border: 1px solid #4a4136; background: #26211b; color: var(--parchment); font: 300 16px 'Jost', sans-serif; border-radius: 3px; }
.contact .grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.contact .hp { position: absolute; left: -9999px; }
@media (max-width: 600px) { .contact .grid2 { grid-template-columns: 1fr; } }

/* ── Footer ── */
.footer { background: var(--ink2); color: #cfc5b4; padding: 56px 0 36px; font-size: 15px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.footer h2 { font-family: 'Jost', sans-serif; font-size: 12px; letter-spacing: .22em; text-transform: uppercase; color: var(--gold-lt); font-weight: 500; margin-bottom: 14px; }
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer li { margin-bottom: 9px; }
.footer a { color: #e8e0d2; text-decoration: none; }
.footer a:hover { color: #fff; text-decoration: underline; }
.footer-logo { height: 40px; filter: invert(.9) sepia(.2); margin-bottom: 12px; }
.footer-legal { border-top: 1px solid #3a3229; margin-top: 40px; padding-top: 22px; font-size: 13px; color: #a69a87; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-grid > div:first-child { grid-column: 1 / -1; } }

/* ── Legal pages ── */
.legal { max-width: 780px; margin: 0 auto; padding: 56px 24px 80px; }
.legal h1 { font-size: clamp(34px, 4.5vw, 46px); }
.legal h2 { font-size: 24px; margin-top: 36px; }
.legal .updated { color: var(--sepia); font-size: 15px; margin-bottom: 26px; }
.legal li { margin-bottom: 8px; }

/* ── Video modal ── */
.video-modal { position: fixed; inset: 0; background: rgba(20,17,14,.86); display: none; align-items: center; justify-content: center; z-index: 100; padding: 20px; }
.video-modal.open { display: flex; }
.video-inner { width: min(960px, 100%); aspect-ratio: 16/9; position: relative; }
.video-inner iframe { width: 100%; height: 100%; border: 0; }
.video-close { position: absolute; top: -44px; right: 0; background: none; border: 0; color: #fff; font-size: 34px; cursor: pointer; }

/* ── Motion ── */
@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s cubic-bezier(.16,.8,.3,1), transform .7s cubic-bezier(.16,.8,.3,1); }
  .reveal.in { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

.steps { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }
