/* Daywell website: the same look as the app (colors, cards, buttons), light mode only. */
:root {
  --brand: #034d63; --brand-deep: #023646; --brand-ink: #012a37; --action: #dd0033; --action-deep: #b8002a;
  --aqua: #3eb1c8; --sun: #e35205; --ok: #00635b; --ok-bg: #e2efe0; --warn: #a83c00; --warn-bg: #fff1d6; --bad: #970d2c;
  --ink: #1b2b34; --ink-2: #4c5c66; --muted: #69747c; --line: #e4e2dd; --line-strong: #d9d6cf;
  --bg: #f6f5f2; --surface: #fff; --surface-2: #f3f2ef; --tint: #eef5f7;
  --r: 12px; --r-lg: 18px; --r-xl: 26px;
  --shadow: 0 1px 2px rgba(16, 32, 40, .06), 0 1px 1px rgba(16, 32, 40, .04);
  --shadow-lg: 0 24px 60px rgba(3, 77, 99, .14);
  --wrap: 1180px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 72px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; } }
body { margin: 0; font-family: 'DM Sans', system-ui, -apple-system, 'Segoe UI', sans-serif; color: var(--ink); background: var(--bg); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
a { color: var(--brand); }
h1, h2, h3, h4 { line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.02em; color: var(--brand-ink); }
h1 { font-size: clamp(38px, 5.4vw, 64px); font-weight: 700; }
h2 { font-size: clamp(30px, 3.6vw, 44px); font-weight: 700; }
h3 { font-size: 21px; font-weight: 700; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.center { text-align: center; }
.eyebrow { display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--sun); margin-bottom: 14px; }
.lead { font-size: clamp(18px, 2vw, 21px); color: var(--ink-2); max-width: 720px; }
.center .lead { margin-left: auto; margin-right: auto; }
.sub { color: var(--ink-2); max-width: 640px; }
.center .sub { margin-left: auto; margin-right: auto; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--brand); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--aqua); outline-offset: 2px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 24px; border-radius: 999px; font: inherit; font-weight: 700; font-size: 16px; text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: transform .15s, box-shadow .15s, background .15s; white-space: nowrap; }
.btn-primary { background: var(--action); color: #fff; box-shadow: 0 8px 20px rgba(221, 0, 51, .22); }
.btn-primary:hover { background: var(--action-deep); transform: translateY(-1px); }
.btn-outline { border-color: var(--brand); color: var(--brand); background: transparent; }
.btn-outline:hover { background: var(--brand); color: #fff; }
.btn-light { background: #fff; color: var(--brand); }
.btn-light:hover { transform: translateY(-1px); }
.btn-sm { padding: 9px 16px; font-size: 14.5px; }
.btns { display: flex; gap: 12px; flex-wrap: wrap; }
.center .btns { justify-content: center; }
.fine { font-size: 14px; color: var(--muted); margin-top: 14px; }

/* Header */
.site-head { position: sticky; top: 0; z-index: 50; background: rgba(246, 245, 242, .86); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px); border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.site-head.scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 24px rgba(16, 32, 40, .06); }
.site-head .wrap { display: flex; align-items: center; gap: 18px; height: 72px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 25px; letter-spacing: -.02em; text-decoration: none; color: var(--brand); flex: none; }
.logo .mark { width: 34px; height: 34px; border-radius: 50%; border: 2px solid var(--sun); color: var(--sun); display: grid; place-items: center; }
.logo .mark svg { width: 20px; height: 20px; }
.logo .dot { color: var(--sun); }
.logo .tm { font-size: .42em; font-weight: 600; margin-left: 1px; vertical-align: super; line-height: 0; opacity: .75; }
.nav { display: flex; gap: 4px; margin-left: 12px; }
.nav > a, .nav > .nav-drop > button { color: var(--ink-2); text-decoration: none; font-weight: 500; font-size: 15.5px; padding: 8px 12px; border-radius: 999px; background: none; border: 0; font-family: inherit; cursor: pointer; display: inline-flex; align-items: center; gap: 4px; }
.nav > a:hover, .nav > .nav-drop > button:hover, .nav a[aria-current="page"] { color: var(--brand); background: var(--tint); }
.nav-drop { position: relative; }
.nav-drop svg { width: 14px; height: 14px; transition: transform .15s; }
.nav-drop.open svg { transform: rotate(180deg); }
.nav-menu { position: absolute; top: calc(100% + 8px); left: -10px; width: 560px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-lg); padding: 12px; display: grid; grid-template-columns: 1fr 1fr; gap: 4px; opacity: 0; visibility: hidden; transform: translateY(-6px); transition: .15s; }
.nav-drop.open .nav-menu, .nav-drop:focus-within .nav-menu { opacity: 1; visibility: visible; transform: none; }
.nav-menu a { display: flex; gap: 12px; align-items: flex-start; padding: 10px 12px; border-radius: var(--r); text-decoration: none; color: var(--ink); }
.nav-menu a:hover { background: var(--tint); }
.nav-menu a b { display: block; font-size: 15px; color: var(--brand-ink); }
.nav-menu a small { display: block; font-size: 13px; color: var(--muted); line-height: 1.35; }
.nav-menu .ic { width: 36px; height: 36px; border-radius: 10px; background: var(--tint); color: var(--brand); display: grid; place-items: center; flex: none; }
.nav-menu .ic svg { width: 19px; height: 19px; }
.head-cta { margin-left: auto; display: flex; gap: 10px; align-items: center; }
.menu-btn { display: none; margin-left: auto; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line-strong); background: #fff; color: var(--brand); align-items: center; justify-content: center; cursor: pointer; }
.menu-btn svg { width: 22px; height: 22px; }
.mobile-nav { display: none; }
@media (max-width: 980px) {
  .nav, .head-cta .signin { display: none; }
  .menu-btn { display: inline-flex; }
  .head-cta { margin-left: 0; }
  .mobile-nav { display: block; position: fixed; inset: 72px 0 0; background: var(--bg); z-index: 49; padding: 16px 24px 40px; overflow-y: auto; transform: translateX(100%); transition: transform .22s ease; }
  .mobile-nav.open { transform: none; }
  .mobile-nav a { display: block; padding: 13px 4px; font-size: 18px; font-weight: 600; color: var(--brand-ink); text-decoration: none; border-bottom: 1px solid var(--line); }
  .mobile-nav .mn-sub { padding-left: 14px; font-size: 16px; font-weight: 500; color: var(--ink-2); }
  .mobile-nav .btns { margin-top: 22px; }
  .mobile-nav .btn { flex: 1; }
}
.menu-btn { flex: none; }
@media (max-width: 520px) { .head-cta .btn { padding: 9px 14px; font-size: 14px; } .logo { font-size: 22px; } }
@media (max-width: 400px) { .head-cta { display: none; } }

/* Sections */
section { padding: 96px 0; }
.sec-tight { padding: 64px 0; }
.sec-white { background: #fff; }
.sec-tint { background: var(--tint); }
.sec-brand { background: var(--brand); color: #e6f1f4; }
.sec-brand h2, .sec-brand h3 { color: #fff; }
.sec-brand .eyebrow { color: #ffb38a; }
.sec-brand .sub, .sec-brand .lead { color: #cfe3e9; }
.sec-head { margin-bottom: 48px; }
@media (max-width: 760px) { section { padding: 68px 0; } .sec-head { margin-bottom: 34px; } }

/* Hero */
.hero { padding: 64px 0 40px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1fr 1.08fr; gap: 48px; align-items: center; }
@media (min-width: 981px) { .fhero .hero-grid { grid-template-columns: 1.05fr .95fr; } }
.hero h1 .accent { color: var(--action); }
.hero .lead { margin-bottom: 28px; }
.hero-art { position: relative; min-height: 520px; }
@media (max-width: 980px) { .hero-grid { grid-template-columns: 1fr; } .hero { text-align: center; } .hero .btns { justify-content: center; } .hero .lead { margin-left: auto; margin-right: auto; } .hero-art { min-height: 460px; } }
.pill-row { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 26px; }
@media (max-width: 980px) { .pill-row { justify-content: center; } }
.pill { display: inline-flex; align-items: center; gap: 6px; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px; font-size: 14px; font-weight: 500; color: var(--ink-2); }
.pill svg { width: 15px; height: 15px; color: var(--ok); }

/* Cards and grids */
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
@media (max-width: 980px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.feat-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
.feat-grid .card { padding: 22px; }
@media (max-width: 1100px) { .feat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4, .feat-grid { grid-template-columns: 1fr; } }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 26px; box-shadow: var(--shadow); }
.card h3 { margin-bottom: 8px; }
.card p { color: var(--ink-2); margin: 0; font-size: 16px; }
.card-link { text-decoration: none; color: inherit; display: flex; flex-direction: column; transition: transform .18s, box-shadow .18s, border-color .18s; }
.card-link:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: var(--line-strong); }
.card-link .more { margin-top: auto; padding-top: 16px; font-weight: 700; color: var(--brand); display: inline-flex; align-items: center; gap: 6px; font-size: 15px; }
.card-link .more svg { width: 16px; height: 16px; transition: transform .15s; }
.card-link:hover .more svg { transform: translateX(3px); }
.ic-tile { width: 48px; height: 48px; border-radius: 14px; background: var(--tint); color: var(--brand); display: grid; place-items: center; margin-bottom: 18px; }
.ic-tile svg { width: 24px; height: 24px; }

/* Feature rows (text + visual) */
.frow { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.frow + .frow { margin-top: 110px; }
.frow.flip .frow-art { order: -1; }
.frow ul { list-style: none; padding: 0; margin: 20px 0 26px; display: grid; gap: 12px; }
.frow li { display: flex; gap: 12px; align-items: flex-start; color: var(--ink-2); }
.frow li svg { width: 22px; height: 22px; color: var(--ok); flex: none; margin-top: 2px; }
.frow li b { color: var(--ink); }
@media (max-width: 900px) { .frow { grid-template-columns: 1fr; gap: 36px; } .frow.flip .frow-art { order: 0; } .frow + .frow { margin-top: 80px; } }
.tag { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; color: var(--brand); background: var(--tint); border-radius: 999px; padding: 5px 12px; margin-bottom: 14px; }
.tag svg { width: 15px; height: 15px; }

/* App window mockup */
.app-win { background: #fff; border-radius: var(--r-lg); box-shadow: var(--shadow-lg); border: 1px solid var(--line); overflow: hidden; }
.app-bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: var(--surface-2); border-bottom: 1px solid var(--line); }
.app-bar i { width: 10px; height: 10px; border-radius: 50%; background: #d6d3cc; }
.app-bar span { margin-left: 10px; font-size: 12.5px; color: var(--muted); font-weight: 500; }
.app-body { display: grid; grid-template-columns: 150px 1fr; min-height: 340px; }
.app-side { background: var(--brand); color: #cfe3e9; padding: 14px 10px; font-size: 12.5px; display: flex; flex-direction: column; gap: 2px; }
.app-side b { color: #fff; font-size: 15px; padding: 0 8px 10px; }
.app-side span { padding: 6px 8px; border-radius: 8px; display: flex; align-items: center; gap: 8px; }
.app-side span.on { background: rgba(255, 255, 255, .14); color: #fff; }
.app-side svg { width: 14px; height: 14px; }
.app-main { padding: 16px; background: var(--bg); min-width: 0; }
@media (max-width: 640px) { .app-body { grid-template-columns: 1fr; } .app-side { display: none; } }

/* The real Daywell app (demo mode) shown in a frame. site.js scales it to fit. */
.app-frame { position: relative; overflow: hidden; background: #f7f6f3; aspect-ratio: var(--ar, 16 / 10); }
.app-frame iframe { position: absolute; top: 0; left: 0; border: 0; transform-origin: 0 0; background: #f7f6f3; }
.app-frame.still { pointer-events: none; }
.app-frame::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, #f7f6f3 30%, #efeee9 50%, #f7f6f3 70%) 0 0 / 300% 100%; animation: shimmer 1.4s linear infinite; transition: opacity .4s; pointer-events: none; }
.app-frame.ready::after { opacity: 0; animation: none; }
@keyframes shimmer { to { background-position: -300% 0; } }
.phone-screen .app-frame { position: absolute; inset: 0; aspect-ratio: auto; }
.app-win .app-frame { border-radius: 0 0 var(--r-lg) var(--r-lg); }
.app-frame[data-live] { aspect-ratio: auto; height: min(820px, 82vh); min-height: 560px; }
.demo-shell > .demo-hint { margin: 0; padding: 12px 20px; background: #fff; border-bottom: 1px solid var(--line); }
.demo-tabs .demo-reset { margin-left: auto; color: var(--muted); font-size: 14px; }
.demo-tabs .demo-reset:hover { color: var(--brand); }
@media (max-width: 640px) { .app-frame[data-live] { height: 78vh; } }
.demo-stagewrap { position: relative; }
.demo-prompt { position: absolute; inset: 0; display: grid; place-items: center; padding: 20px; background: rgba(1, 42, 55, .38); backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); animation: pop .25s ease-out; z-index: 2; }
.demo-prompt[hidden] { display: none; }
.demo-prompt-card { background: #fff; border-radius: var(--r-xl); padding: 30px; max-width: 440px; text-align: center; box-shadow: var(--shadow-lg); }
.demo-prompt-card .ic-tile { margin: 0 auto 14px; }
.demo-prompt-card p { color: var(--ink-2); }
.demo-prompt-card .btns { justify-content: center; }
.demo-cta { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; font-size: 14.5px; }
@keyframes pop { from { transform: scale(.96); opacity: 0; } }

/* Phone mockup */
.phone { position: relative; width: 280px; aspect-ratio: 9 / 19.2; border-radius: 46px; background: #10171b; padding: 11px; box-shadow: 0 30px 70px rgba(1, 42, 55, .28), inset 0 0 0 2px #2b3439; }
.phone::before { content: ''; position: absolute; top: 20px; left: 50%; transform: translateX(-50%); width: 92px; height: 26px; border-radius: 14px; background: #10171b; z-index: 3; }
.phone-screen { position: relative; height: 100%; border-radius: 36px; overflow: hidden; background: var(--bg); display: flex; flex-direction: column; }
.ph-status { display: flex; justify-content: space-between; padding: 16px 26px 6px; font-size: 13px; font-weight: 700; color: var(--ink); }
.ph-head { padding: 10px 18px 12px; background: #fff; border-bottom: 1px solid var(--line); }
.ph-head b { display: block; font-size: 17px; color: var(--brand-ink); }
.ph-head small { color: var(--muted); font-size: 12px; }
.ph-body { flex: 1; padding: 12px; display: flex; flex-direction: column; gap: 8px; overflow: hidden; font-size: 13px; }
.ph-tabs { display: grid; grid-template-columns: repeat(4, 1fr); padding: 8px 6px 18px; background: #fff; border-top: 1px solid var(--line); font-size: 10px; color: var(--muted); text-align: center; }
.ph-tabs span { display: flex; flex-direction: column; align-items: center; gap: 2px; }
.ph-tabs span.on { color: var(--action); }
.ph-tabs svg { width: 18px; height: 18px; }
.ph-note { position: absolute; top: 46px; left: 10px; right: 10px; z-index: 4; background: rgba(255, 255, 255, .92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-radius: 18px; padding: 10px 12px; box-shadow: 0 10px 30px rgba(0, 0, 0, .18); display: flex; gap: 10px; font-size: 12.5px; line-height: 1.35; transform: translateY(-130%); opacity: 0; }
.ph-note.show { animation: noteIn 6s ease-in-out infinite; }
@keyframes noteIn { 0%, 6% { transform: translateY(-130%); opacity: 0; } 12%, 70% { transform: none; opacity: 1; } 78%, 100% { transform: translateY(-130%); opacity: 0; } }
.ph-note .app-ic { width: 30px; height: 30px; border-radius: 8px; background: var(--brand); display: grid; place-items: center; flex: none; }
.ph-note .app-ic svg { width: 18px; height: 18px; color: #fff; }
.ph-note b { display: block; font-size: 12.5px; }
.ph-note small { color: var(--muted); font-size: 11px; margin-left: auto; }
.ph-card { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 10px 12px; }
.ph-card b { display: block; color: var(--brand-ink); font-size: 13.5px; }
.ph-card small { color: var(--muted); font-size: 11.5px; }
.ph-row { display: flex; align-items: center; gap: 8px; }
.ph-row .av { width: 28px; height: 28px; border-radius: 50%; background: var(--action); color: #fff; font-size: 11px; font-weight: 700; display: grid; place-items: center; flex: none; }
.ph-row .av.b { background: var(--brand); } .ph-row .av.a { background: var(--aqua); } .ph-row .av.s { background: var(--sun); }
.ph-badge { margin-left: auto; font-size: 10.5px; font-weight: 700; border-radius: 999px; padding: 2px 8px; background: var(--ok-bg); color: var(--ok); }
.ph-badge.w { background: var(--warn-bg); color: var(--warn); }
.hero-art .phone { position: absolute; right: -24px; top: 96px; width: 220px; border-radius: 38px; padding: 9px; z-index: 2; animation: float 7s ease-in-out infinite; }
.hero-art .phone-screen { border-radius: 30px; }
.hero-art .phone::before { top: 16px; width: 74px; height: 22px; }
.hero-art .ph-note { top: 40px; }
.hero-art .ph-body { font-size: 12px; gap: 6px; padding: 10px; }
.hero-art .app-win { position: absolute; left: 0; top: 20px; width: 100%; }
.hero-art .app-body { grid-template-columns: 130px 1fr; min-height: 360px; }
@keyframes float { 50% { transform: translateY(-10px); } }
@media (max-width: 980px) { .hero-art .app-win { position: relative; top: 0; width: 100%; } .hero-art .phone { display: none; } .hero-art { min-height: 0; } }

/* Live demo */
.demo-shell { background: #fff; border-radius: var(--r-xl); box-shadow: var(--shadow-lg); border: 1px solid var(--line); overflow: hidden; }
.demo-tabs { display: flex; gap: 6px; padding: 12px; background: var(--surface-2); border-bottom: 1px solid var(--line); overflow-x: auto; scrollbar-width: none; }
.demo-tabs button { display: inline-flex; align-items: center; gap: 8px; border: 0; background: transparent; padding: 10px 16px; border-radius: 999px; font: inherit; font-weight: 600; font-size: 15px; color: var(--ink-2); cursor: pointer; white-space: nowrap; }
.demo-tabs button svg { width: 17px; height: 17px; }
.demo-tabs button.on { background: #fff; color: var(--brand); box-shadow: var(--shadow); }
.demo-stage { padding: 24px; min-height: 430px; background: var(--bg); }
.demo-hint { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--ink-2); margin-bottom: 16px; }
.demo-hint svg { width: 17px; height: 17px; color: var(--sun); flex: none; }
.demo-note { font-size: 13px; color: var(--muted); padding: 12px 24px; border-top: 1px solid var(--line); background: #fff; }
/* Steps, stats, compare */
.steps { counter-reset: s; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.step { position: relative; padding-top: 52px; }
.step::before { counter-increment: s; content: counter(s); position: absolute; top: 0; left: 0; width: 38px; height: 38px; border-radius: 50%; background: var(--brand); color: #fff; font-weight: 700; display: grid; place-items: center; }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; } }
.replace { display: grid; grid-template-columns: 1fr auto 1fr; gap: 28px; align-items: center; }
.replace-list { display: grid; gap: 10px; }
.replace-list span { display: flex; align-items: center; gap: 10px; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 12px 16px; color: var(--ink-2); text-decoration: line-through; text-decoration-color: rgba(221, 0, 51, .6); }
.replace-list span svg { width: 18px; height: 18px; color: var(--muted); }
.replace-arrow { width: 56px; height: 56px; border-radius: 50%; background: var(--action); color: #fff; display: grid; place-items: center; }
.replace-arrow svg { width: 26px; height: 26px; }
.replace-one { background: var(--brand); color: #fff; border-radius: var(--r-xl); padding: 34px; text-align: center; }
.replace-one .logo { color: #fff; justify-content: center; font-size: 30px; }
.replace-one p { color: #cfe3e9; margin: 10px 0 0; }
@media (max-width: 860px) { .replace { grid-template-columns: 1fr; } .replace-arrow { transform: rotate(90deg); margin: 0 auto; } }

/* Autopilot timeline */
.ap { background: #fff; border-radius: var(--r-xl); padding: 28px; color: var(--ink); box-shadow: var(--shadow-lg); }
.ap-step { display: flex; gap: 14px; padding: 12px 0; opacity: .25; transition: opacity .4s; }
.ap-step.on { opacity: 1; }
.ap-step .dot { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; flex: none; background: var(--tint); color: var(--brand); }
.ap-step .dot svg { width: 18px; height: 18px; }
.ap-step.done .dot { background: var(--ok); color: #fff; }
.ap-step b { display: block; font-size: 15.5px; color: var(--brand-ink); }
.ap-step small { color: var(--ink-2); font-size: 14px; }
.ap-time { font-size: 12.5px; color: var(--muted); margin-left: auto; white-space: nowrap; }

/* Pricing */
.cycle-toggle { display: flex; width: max-content; max-width: 100%; margin: 0 auto 34px; padding: 4px; gap: 4px; background: #fff; border: 1px solid var(--line); border-radius: 999px; }
.cycle-toggle button { font: inherit; font-size: 15px; font-weight: 600; color: var(--ink-2); background: none; border: 0; border-radius: 999px; padding: 9px 20px; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; }
.cycle-toggle button[aria-pressed="true"] { background: var(--brand); color: #fff; }
.cycle-toggle .save { font-size: 12px; font-weight: 700; color: var(--sun); background: #fdeee6; border-radius: 999px; padding: 2px 8px; }
.cycle-toggle button[aria-pressed="true"] .save { background: rgba(255,255,255,.18); color: #fff; }
[data-cycle][hidden] { display: none; }
.price-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; align-items: stretch; }
.price-grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 820px; margin: 0 auto; }
@media (max-width: 900px) { .price-grid, .price-grid.two { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; } }
.price { background: #fff; border: 1px solid var(--line); border-radius: var(--r-xl); padding: 32px; display: flex; flex-direction: column; position: relative; }
.price.pop { border: 2px solid var(--brand); box-shadow: var(--shadow-lg); }
.price .badge { position: absolute; top: -13px; left: 32px; background: var(--brand); color: #fff; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; border-radius: 999px; padding: 4px 12px; }
.price h3 { font-size: 20px; }
.price .amt { font-size: 50px; font-weight: 700; color: var(--brand-ink); letter-spacing: -.03em; line-height: 1; margin: 12px 0 4px; }
.price .amt small { font-size: 16px; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.price .per { color: var(--ink-2); font-size: 15px; min-height: 48px; }
.price ul { list-style: none; padding: 0; margin: 18px 0 26px; display: grid; gap: 10px; font-size: 15.5px; color: var(--ink-2); }
.price li { display: flex; gap: 10px; }
.price li svg { width: 19px; height: 19px; color: var(--ok); flex: none; margin-top: 3px; }
.price .btn { margin-top: auto; }
.compare { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); font-size: 15.5px; }
.compare th, .compare td { padding: 14px 18px; border-bottom: 1px solid var(--line); text-align: left; }
.compare th { background: var(--surface-2); font-size: 14px; color: var(--ink-2); }
.compare td:not(:first-child), .compare th:not(:first-child) { text-align: center; width: 22%; }
.compare .grp td { background: var(--tint); font-weight: 700; color: var(--brand); font-size: 14px; }
.compare svg { width: 20px; height: 20px; color: var(--ok); margin: 0 auto; }
.compare-wrap { overflow-x: auto; }

/* FAQ */
.faq { max-width: 800px; margin: 0 auto; display: grid; gap: 10px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 0 22px; }
.faq summary { cursor: pointer; font-weight: 700; color: var(--brand-ink); padding: 18px 0; list-style: none; display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary svg { width: 20px; height: 20px; color: var(--brand); transition: transform .2s; flex: none; }
.faq details[open] summary svg { transform: rotate(45deg); }
.faq details p { color: var(--ink-2); padding-bottom: 18px; margin: 0; }

.faq-nav { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; margin: 0 auto 48px; max-width: 800px; }
.faq-nav a { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 8px 16px; font-weight: 600; font-size: 15px; text-decoration: none; color: var(--brand); }
.faq-nav a:hover { border-color: var(--brand); }
.faq-group { max-width: 800px; margin: 0 auto 52px; }
.faq-group h2 { font-size: clamp(24px, 3vw, 30px); margin-bottom: 18px; }
.faq details p a { font-weight: 600; }

/* Forms */
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-xl); padding: 32px; box-shadow: var(--shadow-lg); max-width: 760px; margin: 0 auto; }
/* minmax(0, 1fr): a long row inside (like the day picker) scrolls on its own instead of stretching the form off the screen */
.form { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; }
.form > * { min-width: 0; }
.form .span { grid-column: 1 / -1; }
.form label { display: flex; flex-direction: column; gap: 6px; font-weight: 600; font-size: 15px; }
.form label > span { display: block; }
.form .opt { font-weight: 400; color: var(--muted); }
.form input, .form textarea, .form select { font: inherit; font-weight: 400; padding: 12px 14px; border-radius: 12px; border: 1.5px solid var(--line-strong); background: #fff; color: var(--ink); width: 100%; }
.form input:focus, .form textarea:focus, .form select:focus { outline: none; border-color: var(--aqua); box-shadow: 0 0 0 3px rgba(62, 177, 200, .2); }
@media (max-width: 640px) { .form { grid-template-columns: minmax(0, 1fr); } .form-card { padding: 22px; } }
.thanks { display: none; text-align: center; padding: 26px; background: var(--ok-bg); border-radius: 16px; color: var(--ok); font-weight: 700; }
.thanks.on { display: block; }
.thanks a { color: var(--ok); }
.slots { background: var(--surface-2); border-radius: 14px; padding: 16px; }
.slots-head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; flex-wrap: wrap; margin-bottom: 10px; }
.slots .hint { font-weight: 400; font-size: 13px; color: var(--ink-2); }
.slot-days { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; }
.slot-days button, .slot-times button { font: inherit; border: 1.5px solid var(--line); background: #fff; color: var(--ink); border-radius: 12px; cursor: pointer; }
.slot-days button { flex: none; padding: 8px 12px; display: flex; flex-direction: column; align-items: center; min-width: 64px; font-weight: 600; }
.slot-days button small { font-weight: 400; font-size: 12px; color: var(--ink-2); }
.slot-times { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 8px; margin-top: 10px; }
.slot-times button { padding: 9px 6px; font-weight: 500; }
.slot-days button.on, .slot-times button.on { border-color: var(--brand); background: var(--brand); color: #fff; }
.slot-days button.on small { color: #fff; }

/* Legal pages */
.legal { max-width: 820px; margin: 0 auto; background: #fff; border: 1px solid var(--line); border-radius: var(--r-xl); padding: 48px; }
.legal h1 { font-size: clamp(32px, 4vw, 44px); }
.legal h2 { font-size: 23px; margin-top: 34px; }
.legal p, .legal li { color: var(--ink-2); font-size: 16.5px; }
.legal .updated { color: var(--muted); font-size: 14px; }
@media (max-width: 640px) { .legal { padding: 26px; } }

/* CTA band and footer */
.cta-band { background: var(--brand); border-radius: var(--r-xl); padding: 56px; color: #fff; display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center; }
.cta-band h2 { color: #fff; margin: 0 0 6px; }
.cta-band p { color: #cfe3e9; margin: 0; }
@media (max-width: 760px) { .cta-band { grid-template-columns: 1fr; padding: 34px; text-align: center; } .cta-band .btns { justify-content: center; } }
.site-foot { background: var(--brand-ink); color: #a9c3cc; padding: 64px 0 30px; font-size: 15px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 28px; }
.site-foot .logo { color: #fff; }
.site-foot h4 { color: #fff; font-size: 14px; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 14px; }
.site-foot a { color: #cfe3e9; text-decoration: none; display: block; padding: 4px 0; }
.site-foot a:hover { color: #fff; }
.foot-tag { margin-top: 14px; max-width: 280px; }
.foot-bottom { margin-top: 44px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .12); display: flex; gap: 16px; justify-content: space-between; flex-wrap: wrap; font-size: 13.5px; }
.foot-bottom a { display: inline; }
@media (max-width: 860px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-brand { grid-column: 1 / -1; } }

/* Cookie banner */
.cookie { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 60; max-width: 560px; background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow-lg); padding: 18px 20px; display: none; gap: 14px; align-items: center; flex-wrap: wrap; font-size: 14.5px; color: var(--ink-2); }
.cookie.on { display: flex; }
.cookie p { margin: 0; flex: 1 1 260px; }
.cookie .btns { gap: 8px; }

/* Website editor (Daywell Staff → Website) */
.cms-wait main, .cms-wait .site-foot { opacity: 0; }
html.dw-editing [data-dwk] { cursor: pointer; border-radius: 4px; transition: outline-color .1s; outline: 2px dashed transparent; outline-offset: 3px; }
html.dw-editing [data-dwk]:hover { outline-color: var(--aqua); }
html.dw-editing [data-dwk].dw-sel { outline: 2px solid var(--action); }
html.dw-editing [data-dwk].dw-hidden { display: revert !important; opacity: .35; outline: 2px dashed var(--muted); }
html.dw-editing .rv { opacity: 1; transform: none; }
html.dw-editing .cookie { display: none !important; }

/* Scroll reveal */
.rv { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.rv.in { opacity: 1; transform: none; }
.rv-d1 { transition-delay: .08s; } .rv-d2 { transition-delay: .16s; } .rv-d3 { transition-delay: .24s; }
/* The top of each page animates in on its own, so it never waits on JavaScript */
.hero .rv, .fhero .rv { opacity: 1; transform: none; transition: none; animation: rise .7s ease both; }
.hero .rv-d2, .fhero .rv-d2 { animation-delay: .15s; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } }
@media (prefers-reduced-motion: reduce) { .rv { opacity: 1; transform: none; } }

/* Feature page hero */
.fhero { padding: 56px 0 30px; }
.fhero .crumbs { font-size: 14px; color: var(--muted); margin-bottom: 16px; }
.fhero .crumbs a { color: var(--muted); }
.bullets3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
@media (max-width: 860px) { .bullets3 { grid-template-columns: 1fr; } }
