/* Ascea landing page (ascea.ca). Brand: Night #070F1A, Mint #2FD6A3, Glow #8CF5D6, Sky #5ED8F0,
   deep teal #0B7A68 for actions on light, Cloud #F2FBF8. Outfit for headings, Inter for text. */

:root {
  --night: #070F1A;
  --night-2: #0C1A22;
  --night-3: #11242D;
  --mint: #2FD6A3;
  --glow: #8CF5D6;
  --sky: #5ED8F0;
  --teal: #0B7A68;
  --teal-deep: #14403F;
  --cloud: #F2FBF8;
  --mint-white: #F3F8F6;
  --tint: #E6F3EE;
  --ink: #0B2A2C;
  --ink-2: #2E4A4B;
  --muted-light: #4D6866;
  --text-dark: #CFE3DF;
  --muted-dark: #8FB3AE;
  --radius: 22px;
  --wrap: 1160px;
  --display: "Outfit", system-ui, sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 68px; -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 400 17px/1.6 var(--body); color: var(--ink); background: var(--mint-white); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); font-weight: 600; letter-spacing: -0.025em; line-height: 1.08; margin: 0; }
p { margin: 0; }
em { font-style: normal; color: var(--mint); }
.light em, .tint em { color: var(--teal); }

.wrap { width: min(var(--wrap), 100% - 48px); margin-inline: auto; }
.wrap.narrow { width: min(820px, 100% - 48px); }
.center { text-align: center; }

.skip { position: absolute; left: -999px; top: 8px; background: var(--mint); color: var(--night); padding: 8px 14px; border-radius: 999px; z-index: 50; }
.skip:focus { left: 12px; }

/* Sections */
section { padding: clamp(72px, 10vw, 128px) 0; }
.dark { background: var(--night); color: var(--cloud); }
.light { background: var(--mint-white); }
.tint { background: var(--tint); }
.dark .lead, .dark p { color: var(--text-dark); }
.light .lead, .tint .lead { color: var(--ink-2); }

.head { max-width: 760px; margin: 0 auto clamp(40px, 6vw, 64px); text-align: center; display: grid; gap: 16px; }
h2 { font-size: clamp(34px, 4.6vw, 56px); }
h3 { font-size: 22px; letter-spacing: -0.015em; }
.lead { font-size: clamp(17px, 1.6vw, 20px); line-height: 1.55; }
.eyebrow { font: 600 13px/1 var(--body); letter-spacing: 0.08em; text-transform: uppercase; color: var(--teal); }
.dark .eyebrow { color: var(--glow); }
.fine { font-size: 14px; color: var(--muted-dark); }
.small-print { margin-top: 32px; font-size: 15px; color: var(--muted-light); }
.small-print a { color: var(--teal); font-weight: 600; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 0 26px; border-radius: 999px; background: var(--mint); color: var(--night); font: 600 16px/1 var(--body); text-decoration: none; transition: transform .15s ease, background .15s ease; }
.btn:hover { background: var(--glow); transform: translateY(-1px); }
.btn:focus-visible, a:focus-visible, summary:focus-visible { outline: 3px solid var(--sky); outline-offset: 3px; }
section[tabindex="-1"]:focus { outline: none; }
.btn.ghost { background: transparent; color: var(--cloud); box-shadow: inset 0 0 0 1.5px rgba(242, 251, 248, .35); }
.btn.ghost:hover { background: rgba(242, 251, 248, .08); }
.btn.small { min-height: 40px; padding: 0 18px; font-size: 15px; }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.ctas.center { justify-content: center; }

/* Header */
/* Transparent over the hero; once the page scrolls, a dark frosted bar so it stays readable over light sections. */
.top { position: fixed; inset: 0 0 auto 0; z-index: 20; background: transparent; border-bottom: 1px solid transparent; color: var(--cloud); transition: background .25s ease, border-color .25s ease, backdrop-filter .25s ease; }
.top.scrolled { background: rgba(7, 15, 26, .82); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px); border-bottom-color: rgba(143, 179, 174, .14); }
.top-in { display: flex; align-items: center; gap: 24px; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font: 600 24px/1 var(--display); letter-spacing: -0.03em; color: var(--cloud); }
.nav { display: flex; gap: 28px; margin-left: auto; }
.nav a { text-decoration: none; font-size: 15px; font-weight: 500; color: var(--text-dark); }
.nav a:hover { color: var(--glow); }

/* Hero */
.hero { position: relative; overflow: hidden; padding-top: calc(68px + clamp(48px, 7vw, 96px)); padding-bottom: clamp(48px, 6vw, 72px); }
.hero::before { content: ""; position: absolute; inset: -20% -10% auto auto; width: 70vw; height: 70vw; max-width: 900px; max-height: 900px; background: radial-gradient(closest-side, rgba(47, 214, 163, .22), rgba(20, 64, 63, .18) 45%, transparent 72%); pointer-events: none; }
.hero-in { position: relative; display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero-copy { display: grid; gap: 24px; }
.hero h1 { font-size: clamp(46px, 6.6vw, 88px); line-height: 1.0; letter-spacing: -0.035em; }
.kicker { display: inline-flex; align-items: center; gap: 10px; width: fit-content; padding: 8px 14px; border-radius: 999px; background: rgba(47, 214, 163, .1); color: var(--glow) !important; font-size: 14px; font-weight: 600; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 4px rgba(47, 214, 163, .22); }

/* Phones */
.phone { margin: 0; border-radius: 38px; padding: 8px; background: #0D1B24; box-shadow: 0 0 0 1px rgba(143, 179, 174, .22), 0 30px 60px -20px rgba(0, 0, 0, .55); }
.phone img { border-radius: 30px; width: 100%; }
.light .phone, .tint .phone { background: #10232B; box-shadow: 0 0 0 1px rgba(11, 42, 44, .12), 0 30px 60px -24px rgba(11, 42, 44, .35); }
.hero-phones, .pair { position: relative; display: grid; grid-template-columns: repeat(12, 1fr); align-items: center; }
.hero-phones .back, .pair .back { grid-column: 1 / span 7; grid-row: 1; transform: rotate(-4deg) translateY(18px); opacity: .92; }
.hero-phones .front, .pair .front { grid-column: 5 / span 7; grid-row: 1; transform: rotate(3deg); z-index: 1; }
.hero-phones { max-width: 560px; justify-self: center; width: 100%; }
.pair { max-width: 500px; justify-self: center; width: 100%; }
.solo { justify-self: center; width: min(320px, 80%); }

/* Facts strip */
.facts { list-style: none; margin: clamp(48px, 7vw, 80px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: rgba(143, 179, 174, .16); border-radius: var(--radius); overflow: hidden; }
.facts li { background: var(--night-2); padding: 22px 24px; display: grid; gap: 4px; }
.facts b { font: 600 clamp(28px, 3vw, 38px)/1 var(--display); color: var(--glow); letter-spacing: -0.02em; }
.facts span { font-size: 15px; color: var(--muted-dark); }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 3vw, 40px); }
.step { display: grid; gap: 14px; align-content: start; }
.step .phone { width: min(280px, 100%); margin: 0 auto 12px; }
.num { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--teal); color: #fff; font: 600 16px/1 var(--display); }
.step p { color: var(--ink-2); }

/* Photo row */
.photo-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.photo-row figure { margin: 0; position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 3 / 4; background: var(--night-2); }
.photo-row img { width: 100%; height: 100%; object-fit: cover; object-position: center 25%; }
.photo-row figcaption { position: absolute; inset: auto 0 0 0; padding: 56px 22px 22px; background: linear-gradient(to top, rgba(7, 15, 26, .94) 30%, transparent); color: var(--text-dark); font-size: 15px; line-height: 1.5; }
.photo-row figcaption b { display: block; color: var(--cloud); font: 600 19px/1.25 var(--display); margin-bottom: 4px; }

/* Split sections */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.split.flip .copy { order: 2; }
.copy { display: grid; gap: 20px; }
.ticks { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 12px; }
.ticks li { position: relative; padding-left: 32px; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 4px; width: 20px; height: 20px; border-radius: 50%; background: var(--teal) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='white' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 20px no-repeat; }
.dark .ticks li::before { background-color: var(--mint); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='%23070F1A' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.light .ticks li, .tint .ticks li { color: var(--ink-2); }

/* Plans */
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; max-width: 920px; margin: 0 auto; }
.plan { background: #fff; border-radius: var(--radius); padding: clamp(28px, 3vw, 40px); display: grid; gap: 10px; align-content: start; box-shadow: 0 1px 0 rgba(11, 42, 44, .06), 0 20px 40px -28px rgba(11, 42, 44, .3); }
.plan h3 { font-size: 30px; }
.plan-sub { color: var(--muted-light); margin-bottom: 10px; }
.plan.featured { background: var(--teal-deep); color: var(--cloud); }
.plan.featured .plan-sub, .plan.featured .ticks li { color: var(--text-dark); }
.plan.featured .ticks li::before { background-color: var(--mint); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='%23070F1A' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }

/* Tiles */
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.tile { background: #fff; border-radius: var(--radius); padding: 28px; display: grid; gap: 10px; align-content: start; }
.tile p { color: var(--ink-2); font-size: 16px; }

/* FAQ */
.faq { display: grid; gap: 12px; }
.faq details { background: #fff; border-radius: 18px; padding: 0 24px; }
.faq summary { cursor: pointer; list-style: none; padding: 20px 36px 20px 0; position: relative; font: 600 18px/1.35 var(--display); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); font: 500 26px/1 var(--body); color: var(--teal); transition: transform .2s ease; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { padding-bottom: 22px; color: var(--ink-2); }

/* Final CTA */
.cta { position: relative; overflow: hidden; }
.cta::before { content: ""; position: absolute; left: 50%; top: 0; width: 900px; height: 600px; transform: translate(-50%, -35%); background: radial-gradient(closest-side, rgba(47, 214, 163, .2), transparent 70%); pointer-events: none; }
.cta .wrap { position: relative; display: grid; gap: 22px; justify-items: center; max-width: 760px; }
.cta h2 { font-size: clamp(40px, 6vw, 72px); }
.cta-mark { width: 72px; }

/* Footer */
.foot { background: var(--night); color: var(--muted-dark); border-top: 1px solid rgba(143, 179, 174, .14); padding: 32px 0 calc(32px + env(safe-area-inset-bottom)); font-size: 15px; }
.foot-in { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 32px; }
.foot nav { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.foot nav a { text-decoration: none; color: var(--text-dark); }
.foot nav a:hover { color: var(--glow); }
.foot p { margin-left: auto; }
.foot p a { color: var(--text-dark); }

/* Tablet */
@media (max-width: 980px) {
  .nav { display: none; }
  .top-in { justify-content: space-between; }
  .hero-in, .split { grid-template-columns: 1fr; }
  .hero-copy { text-align: center; justify-items: center; }
  .ctas { justify-content: center; }
  .split .copy { order: 0 !important; }
  .split .copy .eyebrow, .split .copy h2, .split .copy .lead { text-align: center; }
  .split .ticks { max-width: 640px; margin-inline: auto; }
  .pair, .hero-phones { max-width: 460px; }
  .facts { grid-template-columns: repeat(2, 1fr); }
  .tiles { grid-template-columns: repeat(2, 1fr); }
  .foot p { margin-left: 0; width: 100%; }
}

/* Phone */
@media (max-width: 640px) {
  body { font-size: 16px; }
  .wrap, .wrap.narrow { width: calc(100% - 40px); }
  .top-in { height: 60px; }
  .hero { padding-top: calc(60px + 40px); }
  .brand { font-size: 22px; }
  .hero h1 { font-size: clamp(42px, 12vw, 56px); }
  .ctas { width: 100%; flex-direction: column; }
  .ctas .btn { width: 100%; }
  .pair, .hero-phones { max-width: 340px; }
  .steps { grid-template-columns: 1fr; gap: 56px; }
  .step { text-align: center; justify-items: center; }
  .step .phone { width: min(250px, 80%); }
  .photo-row { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 78%; overflow-x: auto; scroll-snap-type: x mandatory; margin-inline: -20px; padding-inline: 20px; scrollbar-width: none; }
  .photo-row::-webkit-scrollbar { display: none; }
  .photo-row figure { scroll-snap-align: center; }
  .plans, .tiles { grid-template-columns: 1fr; }
  .facts li { padding: 18px; }
  .faq details { padding: 0 18px; }
  .foot-in { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}

/* Inner pages: privacy, terms, support, consent */
.top.solid { background: rgba(7, 15, 26, .96); border-bottom-color: rgba(143, 179, 174, .14); }
.page-hero { background: var(--night); color: var(--cloud); padding: calc(68px + clamp(40px, 6vw, 72px)) 0 clamp(36px, 5vw, 56px); position: relative; overflow: hidden; }
.page-hero::before { content: ""; position: absolute; right: -10%; top: -40%; width: 60vw; height: 60vw; max-width: 760px; max-height: 760px; background: radial-gradient(closest-side, rgba(47, 214, 163, .16), transparent 70%); pointer-events: none; }
.page-hero .wrap { position: relative; display: grid; gap: 14px; }
.page-hero h1 { font-size: clamp(38px, 5.4vw, 64px); }
.page-hero p { color: var(--text-dark); max-width: 720px; }
.page-hero .meta { font-size: 14px; color: var(--muted-dark); }
.doc { padding: clamp(40px, 6vw, 72px) 0 clamp(64px, 8vw, 104px); background: var(--mint-white); }
.doc .wrap { width: min(780px, 100% - 48px); }
.doc h2 { font-size: clamp(24px, 2.6vw, 30px); margin: 44px 0 12px; }
.doc h3 { font-size: 19px; margin: 24px 0 8px; }
.doc p, .doc li { color: var(--ink-2); }
.doc p + p { margin-top: 12px; }
.doc ul, .doc ol { padding-left: 22px; margin: 10px 0 0; display: grid; gap: 8px; }
.doc a { color: var(--teal); font-weight: 500; }
.doc strong { color: var(--ink); }
.doc .callout { background: #fff; border-radius: var(--radius); padding: 22px 24px; border-left: 4px solid var(--mint); }
.doc .callout p + p { margin-top: 8px; }
.doc .toc { background: var(--tint); border-radius: 18px; padding: 18px 22px; margin-top: 24px; font-size: 15px; }
.doc .toc ol { columns: 2; column-gap: 32px; display: block; }
.doc .toc li { margin-bottom: 6px; break-inside: avoid; }
.table-wrap { overflow-x: auto; margin-top: 14px; border-radius: 16px; background: #fff; }
.doc table { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 520px; }
.doc th, .doc td { text-align: left; vertical-align: top; padding: 12px 16px; border-bottom: 1px solid rgba(11, 42, 44, .08); }
.doc th { font: 600 14px/1.3 var(--body); color: var(--ink); background: var(--tint); }
.doc tr:last-child td { border-bottom: 0; }
.doc .faq { margin-top: 16px; }
.doc .card-box { background: #fff; border-radius: var(--radius); padding: 24px; min-height: 120px; }
.go { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 26px; border: 0; border-radius: 999px; background: var(--teal); color: #fff; font: 600 16px/1.2 var(--body); cursor: pointer; text-align: center; }
.go:hover { background: #096555; }
.go.danger { background: #B3382C; }
.go[disabled] { opacity: .6; cursor: default; }
.nav a[aria-current="page"] { color: var(--glow); }
@media (max-width: 640px) {
  .page-hero { padding-top: calc(60px + 32px); }
  .doc .toc ol { columns: 1; }
  .doc table { min-width: 0; font-size: 14px; }
  .doc th, .doc td { padding: 10px 12px; }
  .go { width: 100%; }
}
