/* Aevora Wellness — aevorawellness.com (rebuilt 2026-11-10) */
@font-face { font-family: 'Playfair Display'; font-weight: 700; font-style: normal; font-display: swap; src: url('../fonts/playfair-display-latin-700-normal.woff2') format('woff2'); }
@font-face { font-family: 'Playfair Display'; font-weight: 400; font-style: italic; font-display: swap; src: url('../fonts/playfair-display-latin-400-italic.woff2') format('woff2'); }
@font-face { font-family: 'Playfair Display'; font-weight: 700; font-style: italic; font-display: swap; src: url('../fonts/playfair-display-latin-700-italic.woff2') format('woff2'); }
@font-face { font-family: 'DM Sans'; font-weight: 400; font-display: swap; src: url('../fonts/dm-sans-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'DM Sans'; font-weight: 500; font-display: swap; src: url('../fonts/dm-sans-latin-500-normal.woff2') format('woff2'); }
@font-face { font-family: 'DM Sans'; font-weight: 700; font-display: swap; src: url('../fonts/dm-sans-latin-700-normal.woff2') format('woff2'); }

:root {
  --navy: #0E1F35;
  --navy-deep: #0A1726;
  --navy-mid: #16304F;
  --blue: #2E8BD6;
  --teal: #3AADA0;
  --teal-light: #6FD3C6;
  --white: #FFFFFF;
  --off-white: #F4F7FA;
  --text: #E7EEF5;
  --text-dim: #A9B8C8;
  --ink: #142235;
  --ink-body: #34465A;
  --ink-muted: #5E6F82;
  --line: rgba(255,255,255,0.10);
  --line-dark: rgba(14,31,53,0.10);
  --serif: 'Playfair Display', Georgia, serif;
  --sans: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --radius: 18px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--sans); background: var(--navy); color: var(--text); line-height: 1.65; font-size: 17px; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal-light); }
a:focus-visible, button:focus-visible { outline: 2px solid var(--teal-light); outline-offset: 3px; }
main p a:not([class]), main li a:not([class]) { text-decoration: underline; text-underline-offset: 2px; }
.skip-link { position: absolute; left: -9999px; top: 0; z-index: 100; background: var(--teal); color: var(--navy); padding: .6rem 1rem; font-weight: 700; }
.skip-link:focus { left: 0; }
.wrap { max-width: 1140px; margin: 0 auto; padding: 0 1.5rem; }
.narrow { max-width: 820px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(10,23,38,0.94); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; color: var(--white); font-family: var(--serif); font-size: 1.35rem; font-weight: 700; }
.brand img { width: 44px; height: 44px; }
.brand span em { font-style: italic; font-weight: 400; color: var(--teal-light); }
.nav { display: flex; align-items: center; gap: 1.6rem; list-style: none; }
.nav a { color: var(--text); text-decoration: none; font-weight: 500; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--teal-light); }
.nav .nav-cta { background: var(--teal); color: var(--navy); padding: .55rem 1.1rem; border-radius: 999px; font-weight: 700; }
.nav .nav-cta:hover { background: var(--teal-light); color: var(--navy); }
.menu-btn { display: none; background: none; border: 1px solid var(--line); color: var(--text); border-radius: 10px; padding: .45rem .7rem; font: inherit; cursor: pointer; }
@media (max-width: 860px) {
  .menu-btn { display: block; }
  .nav { display: none; position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--navy-deep); border-bottom: 1px solid var(--line); padding: .5rem 1.5rem 1rem; }
  .nav.open { display: flex; }
  .nav li a { display: block; padding: .8rem 0; border-bottom: 1px solid var(--line); }
  .nav .nav-cta { margin-top: .8rem; text-align: center; border-bottom: 0; }
}

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; padding: .85rem 1.5rem; border-radius: 999px; font-weight: 700; text-decoration: none; font-size: 1rem; border: 2px solid transparent; transition: background .2s, color .2s, border-color .2s; }
.btn-primary { background: var(--teal); color: var(--navy); }
.btn-primary:hover { background: var(--teal-light); }
.btn-ghost { border-color: rgba(255,255,255,.35); color: var(--white); }
.btn-ghost:hover { border-color: var(--teal-light); color: var(--teal-light); }
.btn-dark { background: var(--navy); color: var(--white); }
.btn-dark:hover { background: var(--navy-mid); }

/* Hero */
.hero { position: relative; overflow: hidden; padding: 5rem 0 4rem;
  background: radial-gradient(1000px 500px at 80% 10%, rgba(58,173,160,.22), transparent 60%), radial-gradient(800px 500px at 0% 100%, rgba(46,139,214,.18), transparent 60%), var(--navy); }
.hero .wrap { display: grid; grid-template-columns: 1.15fr .85fr; gap: 3rem; align-items: center; }
.eyebrow { display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--teal-light); margin-bottom: 1rem; }
.hero h1 { font-family: var(--serif); font-size: clamp(2.3rem, 5vw, 3.6rem); line-height: 1.12; color: var(--white); margin-bottom: 1.25rem; }
.hero h1 em { color: var(--teal-light); }
.hero .lede { font-size: 1.15rem; color: var(--text-dim); max-width: 36rem; margin-bottom: 2rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-bottom: 1.5rem; }
.hero-note { font-size: .92rem; color: var(--text-dim); }
.hero-phone { justify-self: center; width: min(320px, 80vw); filter: drop-shadow(0 30px 60px rgba(0,0,0,.45)); border-radius: 28px; }
@media (max-width: 860px) { .hero { padding: 3rem 0; } .hero .wrap { grid-template-columns: 1fr; } .hero-phone { width: min(280px, 75vw); } }

/* Sections */
section { padding: 4.5rem 0; }
.light { background: var(--off-white); color: var(--ink-body); }
.light h2, .light h3 { color: var(--ink); }
.light a { color: #13756B; }
.section-head { text-align: center; max-width: 760px; margin: 0 auto 3rem; }
.section-head h2 { font-family: var(--serif); font-size: clamp(1.9rem, 3.6vw, 2.6rem); line-height: 1.2; margin-bottom: .8rem; color: var(--white); }
.light .section-head h2 { color: var(--ink); }
.section-head p { color: var(--text-dim); font-size: 1.08rem; }
.light .section-head p { color: var(--ink-muted); }

/* Features */
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.4rem; }
.feature { background: var(--white); border: 1px solid var(--line-dark); border-radius: var(--radius); padding: 1.6rem; }
.feature .icon { font-size: 1.6rem; margin-bottom: .6rem; }
.feature h3 { font-size: 1.12rem; margin-bottom: .45rem; }
.feature p { font-size: .97rem; }

/* Screens */
.screens { display: flex; gap: 1.2rem; overflow-x: auto; padding: .5rem .25rem 1.5rem; scroll-snap-type: x mandatory; }
.screens figure { flex: 0 0 auto; width: 230px; scroll-snap-align: start; }
.screens img { border-radius: 22px; box-shadow: 0 14px 34px rgba(0,0,0,.35); }
.screens figcaption { text-align: center; color: var(--text-dim); font-size: .9rem; margin-top: .7rem; }

/* Promise / split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; align-items: start; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }
.card { background: var(--navy-mid); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.8rem; }
.light .card { background: var(--white); border-color: var(--line-dark); }
.card h3 { font-family: var(--serif); font-size: 1.4rem; color: var(--white); margin-bottom: .7rem; }
.light .card h3 { color: var(--ink); }
.card p + p, .card ul + p, .card p + ul { margin-top: .8rem; }
.card ul, .steps { padding-left: 1.2rem; }
.card li { margin-bottom: .45rem; }

/* Steps */
.steps { counter-reset: s; list-style: none; padding: 0; }
.steps > li { counter-increment: s; position: relative; padding: 0 0 1.1rem 2.9rem; }
.steps > li::before { content: counter(s); position: absolute; left: 0; top: -.1rem; width: 2rem; height: 2rem; border-radius: 50%; background: var(--teal); color: var(--navy); font-weight: 700; display: flex; align-items: center; justify-content: center; font-size: .95rem; }
.steps strong { color: inherit; }
.tip { margin-top: .8rem; padding: .9rem 1.1rem; border-left: 3px solid var(--teal); background: rgba(58,173,160,.10); border-radius: 0 10px 10px 0; font-size: .95rem; }
.light .tip { background: #E7F5F3; }

/* CTA band */
.cta-band { background: linear-gradient(120deg, #123C55, #0F2A44); text-align: center; }
.cta-band h2 { font-family: var(--serif); font-size: clamp(1.8rem, 3.4vw, 2.4rem); color: var(--white); margin-bottom: .8rem; }
.cta-band p { color: var(--text-dim); max-width: 640px; margin: 0 auto 1.6rem; }

/* Devices */
.device-group { margin-bottom: 2.5rem; }
.device-group h3 { font-family: var(--serif); font-size: 1.5rem; margin-bottom: 1rem; }
.devices { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1rem; }
.device { background: var(--white); border: 1px solid var(--line-dark); border-radius: 14px; padding: 1.2rem 1.3rem; display: flex; flex-direction: column; gap: .35rem; }
.device .kind { font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #13756B; }
.device h4 { font-size: 1.08rem; color: var(--ink); }
.device p { font-size: .93rem; color: var(--ink-muted); flex: 1; }
.device a.buy { align-self: flex-start; margin-top: .4rem; font-weight: 700; text-decoration: none; }
.device a.buy::after { content: ' →'; }
.disclosure { background: #FFF8E6; border: 1px solid #F0DDA8; color: #5C4A16; border-radius: 12px; padding: 1rem 1.2rem; font-size: .95rem; margin-bottom: 2rem; }

/* Page intro */
.page-intro { padding: 4rem 0 3rem; background: radial-gradient(900px 400px at 85% 0%, rgba(58,173,160,.18), transparent 60%), var(--navy); }
.page-intro h1 { font-family: var(--serif); font-size: clamp(2.1rem, 4.5vw, 3rem); color: var(--white); margin-bottom: .8rem; }
.page-intro p { color: var(--text-dim); font-size: 1.12rem; max-width: 760px; }

/* Story */
.story { display: grid; grid-template-columns: auto 1fr; gap: 2rem; align-items: center; }
.story img { width: 150px; }
@media (max-width: 640px) { .story { grid-template-columns: 1fr; } }

/* Footer */
.site-footer { background: var(--navy-deep); border-top: 1px solid var(--line); padding: 3rem 0 2rem; color: var(--text-dim); font-size: .93rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2rem; margin-bottom: 2rem; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h4 { color: var(--white); font-size: .95rem; margin-bottom: .7rem; }
.site-footer ul { list-style: none; }
.site-footer li { margin-bottom: .4rem; }
.site-footer a { color: var(--text-dim); }
.site-footer a:hover { color: var(--teal-light); }
.fine { border-top: 1px solid var(--line); padding-top: 1.4rem; font-size: .85rem; }
.fine p + p { margin-top: .5rem; }
.light a.btn-dark, .light a.btn-dark:hover { color: var(--white); }
.light a.btn-primary { color: var(--navy); }

/* Our apps (home) */
.apps { display: grid; grid-template-columns: 1.4fr 1fr; gap: 1.4rem; }
@media (max-width: 860px) { .apps { grid-template-columns: 1fr; } }
.app-tile { display: flex; gap: 1.4rem; align-items: flex-start; background: var(--navy-mid); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.8rem; color: var(--text); text-decoration: none; transition: border-color .2s; }
a.app-tile:hover { border-color: var(--teal); }
.app-tile img { width: 88px; height: 88px; border-radius: 20px; flex: 0 0 auto; }
.app-tile h3 { font-family: var(--serif); font-size: 1.5rem; color: var(--white); margin: .3rem 0 .5rem; }
.app-tile p { color: var(--text-dim); font-size: .98rem; }
.badge { display: inline-block; font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--teal-light); }
.app-tile .more { display: inline-block; margin-top: .9rem; font-weight: 700; color: var(--teal-light); }
.app-tile .more::after { content: ' →'; }
.app-tile.soon { border-style: dashed; background: transparent; }
.soon-mark { width: 88px; height: 88px; flex: 0 0 auto; border-radius: 20px; border: 2px dashed var(--line); display: flex; align-items: center; justify-content: center; font-size: 2.4rem; color: var(--text-dim); }
@media (max-width: 520px) { .app-tile { flex-direction: column; } }

/* Aevora Reporter help: the generated pages sit inside this band; help.css styles them */
.help-band { background: var(--white); padding: 1.5rem 0 3rem; }
:where(.help-band) .help-main p, :where(.help-band) .help-main ul, :where(.help-band) .help-main ol { margin: .7rem 0; }
:where(.help-band) .help-main ul, :where(.help-band) .help-main ol { padding-left: 1.4rem; }
.help-band .help-nav a { text-decoration: none; }
.help-band .help-main figure img { margin: 0 auto; }
