/* The home page (D176, D198): dark and editorial. Loaded after site.css, scoped to body.home so the legal pages and the
   coach pages keep the light look. Fonts are served from here. Motion is driven by site.js through custom properties
   (--hp, --l, --py, --z, --d, --mx, --my) and every rule that moves something sits behind html.anim, which the script
   only sets when the visitor has not asked for less motion. Without script, everything is simply visible. */


@font-face { font-family: "Archivo Expanded"; font-weight: 100 900; font-stretch: 125%; font-style: normal; font-display: swap; src: url("fonts/archivo-latin-wdth-normal.woff2") format("woff2"); }
@font-face { font-family: "Archivo"; font-weight: 100 900; font-stretch: 100%; font-style: normal; font-display: swap; src: url("fonts/archivo-latin-wdth-normal.woff2") format("woff2"); }
.home {
  --bg: #0b0d0c;
  --bg-2: #101312;
  --fg: #f2f4f3;
  --muted: #98a19c;
  --line: rgb(255 255 255 / 0.09);
  --glass: linear-gradient(180deg, rgb(255 255 255 / 0.065), rgb(255 255 255 / 0.02));
  --mint: #4cc38a;
  --display: "Archivo Expanded", "Archivo", system-ui, sans-serif;
  --text: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  background: var(--bg);
  color: var(--fg);
  font-size: 17px;
}

.home ::selection { background: rgb(76 195 138 / 0.35); }
.home :focus-visible { outline-color: var(--mint); }

/* Buttons */
.home .btn { min-height: 46px; padding: 0 22px; font-size: 15px; font-weight: 500; letter-spacing: 0; }
.home .btn--primary { background: #fff; color: #0b0d0c; box-shadow: none; }
.home .btn--primary:hover { background: var(--mint); transform: translateY(-1px); }
.home .btn--ghost { border-color: rgb(255 255 255 / 0.28); color: var(--fg); }
.home .btn--ghost:hover { background: #fff; color: #0b0d0c; border-color: #fff; }
.home .btn--light { background: #fff; color: #0b0d0c; }
.home .btn--light:hover { background: var(--mint); }

/* Header: floating glass */
.home .top { position: fixed; left: 0; right: 0; top: 0; background: transparent; border: 0; backdrop-filter: none; -webkit-backdrop-filter: none; transition: background-color 400ms var(--ease), backdrop-filter 400ms; }
.home .top.is-scrolled { background: rgb(11 13 12 / 0.62); backdrop-filter: saturate(1.5) blur(18px); -webkit-backdrop-filter: saturate(1.5) blur(18px); }
.home .top__in { position: relative; height: 72px; }
.home .brand { color: #fff; font: 600 20px/1 var(--text); letter-spacing: -0.01em; }
.home .nav { position: absolute; left: 50%; transform: translateX(-50%); margin: 0; gap: 4px; padding: 4px; border-radius: 12px; background: rgb(255 255 255 / 0.07); box-shadow: inset 0 0 0 1px var(--line); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.home .nav a { padding: 7px 12px; border-radius: 8px; font: 500 11.5px/1 var(--text); letter-spacing: 0.08em; text-transform: uppercase; color: #dfe4e1; transition: background-color 200ms; }
.home .nav a:hover { background: rgb(255 255 255 / 0.1); color: #fff; }
.home .top__login { font: 500 11.5px/1 var(--text); letter-spacing: 0.08em; text-transform: uppercase; color: #dfe4e1; }
.home .top__login:hover { color: #fff; text-decoration: none; }

/* Hero: the photograph fades into the page as you scroll */
.h-hero { position: relative; isolation: isolate; overflow: hidden; padding-top: clamp(132px, 24svh, 220px); }
.h-hero__bg { position: absolute; inset: 0 0 -4%; z-index: -2; }
.h-hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 62% 38%; }
.h-hero::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgb(11 13 12 / 0.55) 0%, rgb(11 13 12 / 0.28) 34%, rgb(11 13 12 / 0.82) 78%, var(--bg) 100%); }
.h-hero__copy { max-width: 880px; margin: 0 auto; text-align: center; }
.h-eyebrow { font: 500 12px/1.2 var(--text); letter-spacing: 0.14em; text-transform: uppercase; color: var(--mint); }
.h-hero .h-eyebrow { color: #f3dcc0; }
.home h1 { margin: 22px 0 0; font: 800 clamp(40px, 5.8vw, 88px)/1 var(--display); letter-spacing: -0.02em; color: #fff; text-wrap: balance; }
.home h1 em, .home h2 em, .home h3 em { font-style: normal; font-weight: 300; color: inherit; }
.h-lead { margin: 26px auto 0; max-width: 34em; font-size: clamp(17px, 2vw, 20px); line-height: 1.55; color: rgb(255 255 255 / 0.82); }
.h-actions { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 12px 26px; margin-top: 34px; }
.h-link { display: inline-flex; align-items: center; gap: 8px; font: 500 15px/1 var(--text); color: #fff; text-decoration: none; }
.h-link .ic { width: 16px; height: 16px; transition: transform 300ms var(--ease); }
.h-link:hover .ic { transform: translateX(4px); }
.h-fine { margin: 20px auto 0; max-width: 34em; font-size: 13.5px; color: rgb(255 255 255 / 0.6); }

.h-stage { position: relative; margin-top: clamp(40px, 8svh, 80px); padding: 0 var(--gutter); perspective: 1700px; }
.h-stage__in { position: relative; max-width: 1080px; margin: 0 auto; transform-origin: 50% 0; }
.h-window { overflow: hidden; border-radius: 16px 16px 0 0; background: #fff; box-shadow: 0 0 0 1px rgb(255 255 255 / 0.14), 0 40px 120px rgb(0 0 0 / 0.55); }
.h-window__bar { display: flex; gap: 6px; height: 32px; align-items: center; padding: 0 14px; background: #f1f2ef; border-bottom: 1px solid #dcddd7; }
.h-window__bar i { width: 10px; height: 10px; border-radius: 50%; background: #c6c8c1; }
.h-window img { width: 100%; height: auto; }
.h-phone { display: none; }

/* A sentence that lights up word by word */
.h-statement { padding: clamp(96px, 16vw, 200px) 0; }
.h-statement p { max-width: 15em; margin: 0 auto; text-align: center; font: 800 clamp(32px, 5vw, 80px)/1.04 var(--display); letter-spacing: -0.02em; }
.h-statement span { color: color-mix(in srgb, var(--fg) calc(var(--l, 1) * 100%), #2b312e); }
.h-statement .h-statement__end { display: block; margin-top: 0.3em; font-weight: 300; color: color-mix(in srgb, var(--mint) calc(var(--l, 1) * 100%), #1f2a24); }

/* Sections */
.h-section { padding: clamp(72px, 11vw, 140px) 0; }
.h-head { max-width: 860px; }
.h-head--center { margin: 0 auto; text-align: center; }
.home h2 { margin: 18px 0 0; font: 800 clamp(34px, 4.6vw, 68px)/1.02 var(--display); letter-spacing: -0.02em; color: #fff; text-wrap: balance; }
.h-sub { margin: 22px auto 0; max-width: 36em; font-size: 18px; line-height: 1.55; color: var(--muted); }
.h-head:not(.h-head--center) { margin: 0 auto; text-align: center; }

/* Glass surfaces with a light that follows the pointer */
.h-tile, .h-cell, .plan, .included { position: relative; isolation: isolate; background: var(--glass); border: 1px solid var(--line); box-shadow: none; }
.h-tile::before, .h-cell::before, .plan::before { content: ''; position: absolute; inset: 0; z-index: -1; border-radius: inherit; background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgb(76 195 138 / 0.16), transparent 62%); opacity: 0; transition: opacity 400ms; }
.h-tile:hover::before, .h-cell:hover::before, .plan:hover::before { opacity: 1; }

.h-tiles { display: grid; gap: 16px; margin-top: clamp(48px, 7vw, 88px); }
.h-tile { display: flex; flex-direction: column; overflow: hidden; padding: clamp(28px, 4vw, 48px) clamp(24px, 4vw, 44px) 0; border-radius: 28px; text-align: center; }
.h-tile h3 { font: 800 clamp(26px, 2.8vw, 40px)/1.06 var(--display); letter-spacing: -0.015em; text-wrap: balance; }
.h-tile > p { margin: 16px auto 0; max-width: 30em; color: var(--muted); font-size: 16.5px; }
.h-list { display: grid; gap: 8px; margin: 26px auto 0; max-width: 28em; text-align: left; font-size: 14.5px; line-height: 1.45; color: #c4cbc7; }
.h-list li { position: relative; padding-left: 24px; }
.h-list li::before { content: ''; position: absolute; left: 0; top: 5px; width: 11px; height: 6px; border-left: 1.5px solid var(--mint); border-bottom: 1.5px solid var(--mint); transform: rotate(-45deg); }
.h-tile__shot { margin: 36px calc(clamp(24px, 4vw, 44px) * -1) 0; padding: 0 clamp(24px, 4vw, 44px); margin-top: auto; padding-top: 36px; }
.h-tile__shot img { width: 100%; height: auto; border-radius: 14px 14px 0 0; box-shadow: 0 0 0 1px rgb(255 255 255 / 0.12), 0 24px 60px rgb(0 0 0 / 0.5); transition: transform 800ms var(--ease); }
.h-tile:hover .h-tile__shot img { transform: translateY(-8px); }

/* The smaller features */
.h-bento { display: grid; gap: 14px; margin-top: 16px; counter-reset: cell; }
.h-cell { counter-increment: cell; display: flex; flex-direction: column; justify-content: flex-end; gap: 10px; min-height: 210px; padding: 26px; border-radius: 24px; overflow: hidden; }
.h-cell::after { content: counter(cell, decimal-leading-zero); position: absolute; top: 22px; left: 26px; font: 500 11.5px/1 var(--text); letter-spacing: 0.1em; color: rgb(255 255 255 / 0.35); }
.h-cell h3 { font: 600 19px/1.25 var(--text); letter-spacing: -0.005em; color: #fff; }
.h-cell p { max-width: 26em; font-size: 15.5px; line-height: 1.55; color: var(--muted); }
.h-cell--number { flex-direction: row; align-items: flex-end; gap: 22px; }
.h-cell--number b { font: 800 clamp(84px, 11vw, 150px)/0.85 var(--display); letter-spacing: -0.04em; color: var(--mint); }

/* The client's app: a glowing disc with two phones in front */
.h-dark { position: relative; overflow: hidden; padding: clamp(80px, 12vw, 150px) 0 clamp(72px, 10vw, 120px); background: radial-gradient(900px 500px at 50% 62%, rgb(76 195 138 / 0.07), transparent 70%), var(--bg-2); border-block: 1px solid var(--line); }
.h-phones { position: relative; display: flex; justify-content: center; align-items: flex-start; gap: 16px; height: clamp(430px, 78vw, 640px); margin-top: clamp(40px, 6vw, 72px); }
.h-ring { position: absolute; left: 50%; top: 50%; width: min(760px, 118vw); aspect-ratio: 1; margin: calc(min(760px, 118vw) / -2) 0 0 calc(min(760px, 118vw) / -2); border-radius: 50%; background: #000; box-shadow: 0 0 0 1px rgb(76 195 138 / 0.32), 0 0 90px 4px rgb(76 195 138 / 0.16), inset 0 0 120px rgb(76 195 138 / 0.1); }
.h-ring::after { content: ''; position: absolute; inset: -1px; border-radius: 50%; padding: 2px; background: conic-gradient(from 0deg, transparent 0 60%, rgb(190 255 220 / 0.9) 78%, transparent 92%); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0); filter: blur(1px); }
.h-phones__one, .h-phones__two { position: relative; width: min(42%, 250px); filter: drop-shadow(0 30px 50px rgb(0 0 0 / 0.65)); }
.h-phones__two { margin-top: clamp(40px, 8vw, 90px); }
.h-phones img { display: block; width: 100%; height: auto; }
.h-dark__list { display: grid; gap: 10px 36px; max-width: 760px; margin: clamp(36px, 5vw, 64px) auto 0; padding: 0 var(--gutter); font-size: 15.5px; color: #c4cbc7; }
.h-dark__list li { position: relative; padding-left: 26px; }
.h-dark__list li::before { content: ''; position: absolute; left: 0; top: 7px; width: 12px; height: 7px; border-left: 1.5px solid var(--mint); border-bottom: 1.5px solid var(--mint); transform: rotate(-45deg); }
.h-dark__note { margin-top: 26px; text-align: center; font: 500 12px/1.4 var(--text); letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }

/* Trust: type on hairlines, no boxes */
.h-trust { display: grid; gap: 0 56px; margin-top: clamp(44px, 6vw, 80px); counter-reset: trust; }
.h-trust li { counter-increment: trust; position: relative; padding: 30px 0 34px; border-top: 1px solid var(--line); }
.h-trust li::before { content: counter(trust, decimal-leading-zero); display: block; margin-bottom: 18px; font: 500 11.5px/1 var(--text); letter-spacing: 0.1em; color: var(--mint); }
.h-trust strong { display: block; font: 800 26px/1.1 var(--display); letter-spacing: -0.015em; color: #fff; }
.h-trust span { display: block; margin-top: 10px; font-size: 15.5px; line-height: 1.55; color: var(--muted); }

/* Prices */
.home .prices { background: var(--bg); }
.home .plans { margin-top: clamp(44px, 6vw, 72px); }
.home .plan { padding: 30px 26px; border-radius: 24px; }
.home .plan--lead { border-color: rgb(76 195 138 / 0.55); background: linear-gradient(180deg, rgb(76 195 138 / 0.12), rgb(76 195 138 / 0.02)); box-shadow: 0 0 60px rgb(76 195 138 / 0.1); }
.home .plan__tag { background: var(--mint); color: #08110c; font: 500 10.5px/1.5 var(--text); letter-spacing: 0.1em; text-transform: uppercase; }
.home .plan h3 { font: 800 28px/1 var(--display); letter-spacing: -0.015em; color: #fff; }
.home .plan__price b { font: 800 64px/0.95 var(--display); letter-spacing: -0.04em; color: #fff; }
.home .plan__price span { color: var(--muted); }
.home .plan li { color: #d3d9d5; }
.home .plan li.off { color: #6f7873; }
.home .plan li::before { background: rgb(76 195 138 / 0.16) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M5 9.4l2.6 2.6L13 6.6' fill='none' stroke='%234cc38a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/16px no-repeat; }
.home .plan li.off::before { background: rgb(255 255 255 / 0.06) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M5.5 9h7' fill='none' stroke='%236f7873' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") center/16px no-repeat; }
.home .included { border-radius: 24px; }
.home .included h3 { font: 800 26px/1.1 var(--display); letter-spacing: -0.015em; color: #fff; }
.home .included li { color: var(--muted); }
.home .included li::before { border-color: var(--mint); }
.home .money { color: var(--muted); }
.home .money a { color: var(--mint); }

/* Questions: the answer opens smoothly where the browser can animate height */
.home .faq { border-top-color: var(--line); }
.home .faq details { border-bottom-color: var(--line); }
.home .faq summary { font: 500 18px/1.4 var(--text); color: #fff; }
.home .faq summary::after { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 22'%3E%3Cpath d='M11 4v14M4 11h14' stroke='%234cc38a' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E"); }
.home .faq p { color: var(--muted); }
.home .faq a { color: var(--mint); }
@supports (interpolate-size: allow-keywords) {
  .home { interpolate-size: allow-keywords; }
  .home .faq details::details-content { block-size: 0; overflow: clip; transition: block-size 450ms var(--ease), content-visibility 450ms allow-discrete; }
  .home .faq details[open]::details-content { block-size: auto; }
}

/* Final call */
.home .final { background: var(--bg); }
.home .final img { transform: scale(var(--z, 1.04)); transform-origin: 50% 40%; will-change: transform; }
.home .final::before { background: linear-gradient(180deg, var(--bg) 0%, rgb(11 13 12 / 0.55) 30%, rgb(11 13 12 / 0.7) 100%); }
.final__in { padding-top: clamp(110px, 16vw, 200px); padding-bottom: clamp(110px, 16vw, 200px); text-align: center; }
.home .final h2 { max-width: 12em; margin-inline: auto; }
.home .final p { margin-inline: auto; color: rgb(255 255 255 / 0.8); }

/* Footer */
.home .foot { background: var(--bg); border-top: 1px solid var(--line); }
.home .foot a { color: var(--muted); font: 500 11.5px/1.4 var(--text); letter-spacing: 0.06em; text-transform: uppercase; }
.home .foot a:hover { color: #fff; }
.home .foot .brand { color: #fff; font: 600 20px/1 var(--text); text-transform: none; letter-spacing: -0.01em; }

/* Back to top: a ring that fills as you read, shown once you are past the first screen */
.to-top { position: fixed; right: max(18px, env(safe-area-inset-right)); bottom: max(18px, env(safe-area-inset-bottom)); z-index: 30; width: 52px; height: 52px; padding: 0; border: 0; border-radius: 50%; background: rgb(16 19 18 / 0.72); box-shadow: inset 0 0 0 1px var(--line), 0 12px 30px rgb(0 0 0 / 0.45); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); color: #fff; cursor: pointer; opacity: 0; visibility: hidden; transform: translateY(14px) scale(0.9); transition: opacity 350ms var(--ease), transform 450ms var(--ease), visibility 0s linear 450ms, background-color 200ms; }
.to-top.is-on { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.to-top:hover { background: rgb(76 195 138 / 0.9); color: #08110c; }
.to-top svg { width: 100%; height: 100%; }
.to-top__track { fill: none; stroke: rgb(255 255 255 / 0.12); stroke-width: 2; }
.to-top__bar { fill: none; stroke: var(--mint); stroke-width: 2.4; stroke-linecap: round; stroke-dasharray: 131.95; stroke-dashoffset: calc(131.95 * (1 - var(--sp, 0))); transform: rotate(-90deg); transform-origin: 50% 50%; }
.to-top:hover .to-top__bar { stroke: #08110c; }
.to-top__arrow { fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; transition: transform 300ms var(--ease); }
.to-top:hover .to-top__arrow { transform: translateY(-2px); }

/* Motion. Only with script and only when the visitor has not asked for less. */
html.anim .reveal { opacity: 0; transform: translateY(34px) scale(0.985); filter: blur(8px); transition: opacity 1000ms var(--ease) var(--d, 0ms), transform 1000ms var(--ease) var(--d, 0ms), filter 1000ms var(--ease) var(--d, 0ms); }
html.anim .reveal.in { opacity: 1; transform: none; filter: none; }

html.anim .h-hero__bg { transform: translateY(calc(var(--hp, 0) * 9%)) scale(calc(1.05 + var(--hp, 0) * 0.07)); opacity: max(0.04, calc(1 - var(--hp, 0) * 0.9)); }
html.anim .h-hero__copy { transform: translateY(calc(var(--hp, 0) * -70px)); opacity: max(0, calc(1.15 - var(--hp, 0) * 1.7)); }
html.anim .h-stage__in { transform: rotateX(calc(16deg - var(--hp, 0) * 16deg)) translateY(calc(var(--hp, 0) * -36px)) scale(calc(0.9 + var(--hp, 0) * 0.1)); }
html.anim .h-phones__one { transform: translateY(calc(var(--py, 0) * -46px)); }
html.anim .h-phones__two { transform: translateY(calc(var(--py, 0) * 64px)); }
html.anim .h-ring { transform: scale(calc(0.9 + var(--ring, 0) * 0.1)); opacity: calc(0.4 + var(--ring, 0) * 0.6); }
@keyframes spin { to { transform: rotate(360deg); } }
html.anim .h-ring::after { animation: spin 14s linear infinite; }

@media (prefers-reduced-motion: reduce) {
  .home *, .home *::before, .home *::after { animation: none !important; transition-duration: 0.01ms !important; }
}

@media (min-width: 640px) {
  .h-bento { grid-template-columns: repeat(2, 1fr); }
  .h-cell--wide { grid-column: span 2; }
  .h-dark__list { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 900px) {
  .h-tiles { grid-template-columns: repeat(2, 1fr); }
  .h-bento { grid-template-columns: repeat(4, 1fr); }
  .h-cell--wide { grid-column: span 2; }
  .h-trust { grid-template-columns: repeat(3, 1fr); }
  .h-phone { display: block; position: absolute; right: -2%; bottom: -8%; width: 21%; filter: drop-shadow(0 40px 60px rgb(0 0 0 / 0.6)); }
  .h-phone img { display: block; width: 100%; height: auto; }
  html.anim .h-phone { transform: translateY(calc(var(--hp, 0) * -80px)); }
}

@media (max-width: 899px) {
  .home .nav { display: none; }
  .h-stage { margin-top: 36px; }
}

@media (max-width: 639px) {
  .home .top__login { display: none; }
  .h-cell--number { flex-direction: column; align-items: flex-start; gap: 14px; }
}
