/* drgaritech.com home, version 4 (6 Nov 2026): bold, warm, made for people in their 20s-40s.
   Loaded after style.css on the home page only (website/firm4.cjs). */
:root {
  --x-ink: #10221A;
  --x-soft: #4B5B53;
  --x-cream: #FFF8EE;
  --x-card: #FFFFFF;
  --x-line: #EADFCF;
  --x-green: #1F6B4A;
  --x-mint: #9BE3BF;
  --x-coral: #FF6B4A;
  --x-sun: #FFC94A;
  --x-night: #0D1A14;
  --x-display: "Bricolage Grotesque", "Segoe UI", system-ui, sans-serif;
  --x-body: "Inter", "Segoe UI", system-ui, sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root {
    --x-ink: #F2EFE8;
    --x-soft: #B4BFB8;
    --x-cream: #0F1713;
    --x-card: #17231D;
    --x-line: #26362D;
    --x-green: #9BE3BF;
  }
}
body.v4 { background: var(--x-cream); color: var(--x-ink); font-family: var(--x-body); }
body.v4 main.landing { padding: 0; max-width: none; }
body.v4 h1, body.v4 h2, body.v4 h3 { font-family: var(--x-display); color: var(--x-ink); letter-spacing: -.02em; }
body.v4 header.top { position: sticky; top: 0; z-index: 10; background: color-mix(in srgb, var(--x-cream) 82%, transparent); backdrop-filter: blur(12px); border-bottom: 1px solid var(--x-line); }
body.v4 header.top .brand { color: var(--x-ink); }
body.v4 nav.links a { color: var(--x-soft); }
body.v4 nav.links a[aria-current="page"] { color: var(--x-ink); border-bottom-color: var(--x-coral); }
body.v4 footer.bottom { background: var(--x-night); color: #B4BFB8; border-top: 0; }
body.v4 footer.bottom a { color: #E8E2D6; }

.x-wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.center { text-align: center; }
.x-eyebrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; color: var(--x-green); margin: 0 0 14px; }
.x-eyebrow.dark { color: var(--x-coral); }
p.x-eyebrow.center { display: block; }
.x-pulse { width: 9px; height: 9px; border-radius: 50%; background: var(--x-coral); box-shadow: 0 0 0 0 rgba(255,107,74,.6); animation: x-pulse 1.8s infinite; }
@keyframes x-pulse { 70% { box-shadow: 0 0 0 10px rgba(255,107,74,0); } 100% { box-shadow: 0 0 0 0 rgba(255,107,74,0); } }

.x-btn { display: inline-block; background: var(--x-ink); color: var(--x-cream); font-weight: 700; text-decoration: none; padding: 15px 24px; border-radius: 999px; font-size: 1.02rem; transition: transform .15s, box-shadow .15s; box-shadow: 0 8px 22px rgba(16,34,26,.18); }
.x-btn:hover { transform: translateY(-2px); }
.x-btn.ghost { background: transparent; color: var(--x-ink); box-shadow: inset 0 0 0 2px var(--x-ink); }
.x-note { color: var(--x-soft); font-size: .9rem; margin-top: 14px; }

/* Hero: big words left, a lock screen filling up with her day on the right. */
.x-hero { padding: 56px 0 40px; background:
  radial-gradient(600px 400px at 85% 20%, rgba(255,201,74,.35), transparent 70%),
  radial-gradient(500px 380px at 70% 85%, rgba(155,227,191,.4), transparent 70%); }
.x-hero-in { display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: center; }
.x-hero h1 { font-size: clamp(2.5rem, 6.2vw, 4.6rem); line-height: 1.02; margin: 0 0 18px; }
.x-hero h1 em { font-style: normal; background: linear-gradient(90deg, var(--x-coral), #FF9A3D); -webkit-background-clip: text; background-clip: text; color: transparent; }
.x-lead { font-size: 1.16rem; line-height: 1.55; color: var(--x-soft); max-width: 560px; margin: 0 0 24px; }
.x-lead b { color: var(--x-ink); }
.x-cta { display: flex; flex-wrap: wrap; gap: 12px; }

.x-lock { justify-self: center; width: 100%; max-width: 330px; aspect-ratio: 9 / 18.5; border-radius: 44px; padding: 22px 14px; border: 10px solid #0B130F;
  background: linear-gradient(170deg, #2C6E52, #183D2E 55%, #0F2A20); box-shadow: 0 40px 80px rgba(16,34,26,.35); overflow: hidden; position: relative; }
.x-lock-time { text-align: center; color: #fff; margin: 10px 0 18px; }
.x-lock-time b { display: block; font-family: var(--x-display); font-size: 3.6rem; line-height: 1; font-weight: 600; }
.x-lock-time span { opacity: .8; font-size: .95rem; }
.x-feed { display: flex; flex-direction: column; gap: 8px; }
.x-n { display: flex; align-items: center; gap: 10px; background: rgba(255,255,255,.92); color: #10221A; border-radius: 18px; padding: 10px 12px;
  opacity: 0; transform: translateY(-14px) scale(.97); animation: x-in 12s infinite; animation-delay: calc(var(--k) * 1.4s); }
.x-ni { font-size: 1.35rem; }
.x-n div { flex: 1; line-height: 1.25; min-width: 0; }
.x-n small { display: block; font-size: .68rem; color: #6B7A72; text-transform: uppercase; letter-spacing: .04em; }
.x-n b { display: block; font-size: .92rem; }
.x-n span { font-size: .78rem; color: #4B5B53; }
.x-n i { font-style: normal; color: #1F6B4A; font-weight: 900; }
@keyframes x-in { 0% { opacity: 0; transform: translateY(-14px) scale(.97); } 5%, 88% { opacity: 1; transform: none; } 96%, 100% { opacity: 0; transform: none; } }

/* The same reminder in many languages, sliding past. */
.x-marquee { overflow: hidden; background: var(--x-ink); color: var(--x-cream); padding: 16px 0; }
.x-track { display: flex; gap: 46px; width: max-content; animation: x-slide 45s linear infinite; }
.x-track span { display: inline-flex; align-items: baseline; gap: 8px; white-space: nowrap; font-size: 1.15rem; }
.x-track small { color: var(--x-sun); font-size: .78rem; font-weight: 700; }
@keyframes x-slide { to { transform: translateX(-50%); } }

/* The chat every son and daughter knows. */
.x-chat-sec { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: center; padding-top: 80px; padding-bottom: 80px; }
.x-chat-sec h2 { font-size: clamp(1.9rem, 4.2vw, 3rem); line-height: 1.08; margin: 0 0 16px; }
.x-chat-sec p { color: var(--x-soft); font-size: 1.08rem; line-height: 1.6; }
.x-big { font-family: var(--x-display); font-size: 1.6rem !important; color: var(--x-ink) !important; font-weight: 700; }
.x-big span { display: inline-block; animation: x-bob 1.4s ease-in-out infinite; color: var(--x-coral); }
@keyframes x-bob { 50% { transform: translateY(6px); } }
.x-chat { background: #ECE5DA; border-radius: 28px; padding: 0 16px 18px; box-shadow: 0 24px 60px rgba(16,34,26,.15); max-width: 400px; justify-self: center; width: 100%; color: #10221A; overflow: hidden; }
.x-chat-top { display: flex; align-items: center; gap: 10px; background: #1F6B4A; color: #fff; margin: 0 -16px 14px; padding: 14px 16px; }
.x-chat-top small { display: block; opacity: .8; font-size: .78rem; }
.x-av { width: 38px; height: 38px; border-radius: 50%; background: #FFC94A; display: grid; place-items: center; font-size: 1.2rem; }
.x-b { max-width: 80%; padding: 9px 12px 7px; border-radius: 16px; margin: 8px 0; font-size: .98rem; line-height: 1.35; }
.x-b small { display: block; text-align: right; font-size: .7rem; color: #6B7A72; margin-top: 2px; }
.x-b.me { background: #D6F5E3; margin-left: auto; border-bottom-right-radius: 4px; }
.x-b.her { background: #fff; border-bottom-left-radius: 4px; }
.x-miss { text-align: center; font-size: .82rem; color: #B23A26; background: #FFE4DC; border-radius: 10px; padding: 6px; margin: 10px auto; max-width: 260px; }
.x-typing { display: flex; gap: 4px; background: #fff; width: 58px; padding: 10px 12px; border-radius: 16px; margin: 6px 0 0; }
.x-typing i { width: 7px; height: 7px; border-radius: 50%; background: #9AA8A0; animation: x-dot 1.2s infinite; }
.x-typing i:nth-child(2) { animation-delay: .2s; } .x-typing i:nth-child(3) { animation-delay: .4s; }
@keyframes x-dot { 50% { transform: translateY(-4px); opacity: .5; } }

/* Two homes, one day. */
.x-dark { background: var(--x-night); color: #E8E2D6; padding: 80px 0; text-align: center; }
.x-dark h2 { color: #fff !important; font-size: clamp(2rem, 5vw, 3.4rem); margin: 0 0 10px; }
.x-sub { color: #B4BFB8; font-size: 1.1rem; margin: 0 0 34px; }
.x-sub.dark { color: var(--x-soft); }
.x-bridge { display: grid; grid-template-columns: 1fr 140px 1fr; align-items: center; max-width: 820px; margin: 0 auto; }
.x-phone { background: #FFF8EE; color: #10221A; border-radius: 34px; border: 8px solid #000; padding: 16px 14px 18px; text-align: left; box-shadow: 0 30px 70px rgba(0,0,0,.5); }
.x-phone-top { display: flex; justify-content: space-between; font-weight: 700; font-size: .85rem; color: #4B5B53; margin-bottom: 8px; }
.x-phone-top span { color: #1F6B4A; }
.x-hello { font-family: var(--x-display); font-weight: 700; font-size: 1.3rem; margin: 0 0 8px; }
.x-key { background: #fff; border: 2px solid #E6DCCB; border-radius: 18px; padding: 14px; margin: 8px 0; text-align: center; font-weight: 800; font-size: 1.12rem; }
.x-key.go { background: #1F6B4A; border-color: #1F6B4A; color: #fff; animation: x-tap 3.6s ease-in-out infinite; }
.x-key.sos { background: #FFE4DC; border-color: #FFB4A2; color: #B23A26; }
@keyframes x-tap { 0%, 70%, 100% { transform: none; } 76% { transform: scale(.93); } 84% { transform: scale(1.03); } }
.x-row { display: flex; align-items: center; gap: 10px; background: #fff; border-radius: 14px; padding: 10px 12px; margin: 8px 0; box-shadow: 0 2px 8px rgba(0,0,0,.06); }
.x-row > span { font-size: 1.3rem; }
.x-row div { flex: 1; line-height: 1.25; }
.x-row b { display: block; font-size: .92rem; }
.x-row small { color: #6B7A72; font-size: .78rem; }
.x-row i { font-style: normal; color: #1F6B4A; font-weight: 900; }
.x-line { position: relative; height: 3px; margin: 0 10px; background: repeating-linear-gradient(90deg, #9BE3BF 0 8px, transparent 8px 16px); }
.x-line i { position: absolute; top: -13px; font-style: normal; font-size: 1.3rem; opacity: 0; animation: x-fly 3.6s linear infinite; }
.x-line i:nth-child(2) { animation-delay: 1.2s; } .x-line i:nth-child(3) { animation-delay: 2.4s; }
@keyframes x-fly { 0% { left: 0; opacity: 0; } 15%, 85% { opacity: 1; } 100% { left: calc(100% - 22px); opacity: 0; } }

/* Bento grid. */
.x-wrap > h2.center { font-size: clamp(1.9rem, 4.4vw, 3rem); margin: 0 0 30px; }
section.x-wrap { padding-top: 80px; padding-bottom: 30px; }
.x-bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.x-tile { background: var(--x-card); border: 1px solid var(--x-line); border-radius: 28px; padding: 26px; transition: transform .2s, box-shadow .2s; }
.x-tile:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(16,34,26,.12); }
.x-tile h3 { font-size: 1.35rem; margin: 12px 0 8px; }
.x-tile p { color: var(--x-soft); margin: 0; line-height: 1.55; }
.x-ic { display: inline-grid; place-items: center; width: 54px; height: 54px; border-radius: 16px; background: var(--x-cream); font-size: 1.6rem; }
.x-tile.big { grid-row: span 2; background: linear-gradient(160deg, #1F6B4A, #124632); color: #fff; border: 0; display: flex; flex-direction: column; }
.x-tile.big h3 { color: #fff; font-size: 1.8rem; }
.x-tile.big p { color: rgba(255,255,255,.88); font-size: 1.05rem; }
.x-tile.big .x-ic { background: rgba(255,255,255,.14); }
.x-tile.sos { background: #FFE9E2; border-color: #FFC9B8; }
.x-tile.sos h3, .x-tile.sos p { color: #7A2414; }
.x-tile.lang { background: #FFF1C9; border-color: #F5DD95; }
.x-tile.lang h3, .x-tile.lang p { color: #5A4200; }
.x-tile.wide { grid-column: span 2; }
.x-wave { display: flex; align-items: center; gap: 4px; height: 90px; margin-top: auto; padding-top: 22px; }
.x-wave i { flex: 1; height: var(--h); background: #9BE3BF; border-radius: 4px; animation: x-wave 1.1s ease-in-out infinite alternate; animation-delay: var(--d); transform-origin: center; }
@keyframes x-wave { from { transform: scaleY(.35); } to { transform: scaleY(1); } }

/* The three zeros. */
.x-zero { padding: 70px 0 40px; }
.x-zero h2 { font-size: clamp(1.6rem, 3.6vw, 2.4rem); margin: 0 0 20px; }
.x-zeros { display: flex; justify-content: center; gap: clamp(20px, 6vw, 80px); }
.x-zeros div { text-align: center; }
.x-zeros b { display: block; font-family: var(--x-display); font-size: clamp(5rem, 14vw, 9rem); line-height: .9; background: linear-gradient(180deg, var(--x-coral), var(--x-sun)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.x-zeros span { font-weight: 800; font-size: 1.15rem; }

/* Our story. */
.x-story-card { background: var(--x-card); border: 1px solid var(--x-line); border-radius: 32px; padding: 44px 30px; text-align: center; max-width: 820px; margin: 0 auto; }
.x-heart { font-size: 2.4rem; }
.x-story blockquote { font-family: var(--x-display); font-size: clamp(1.5rem, 3.4vw, 2.2rem); line-height: 1.2; margin: 14px 0 18px; font-weight: 700; }
.x-story p { color: var(--x-soft); max-width: 620px; margin: 0 auto; line-height: 1.6; }
.x-sign { margin-top: 16px !important; font-weight: 800; color: var(--x-green) !important; }

/* Last call. */
.x-final { margin-top: 70px; padding: 80px 0; background: linear-gradient(135deg, #FF6B4A, #FF9A3D 55%, #FFC94A); color: #2A1205; }
.x-final h2 { color: #2A1205 !important; font-size: clamp(2rem, 5vw, 3.4rem); margin: 0 0 12px; }
.x-final p { font-size: 1.1rem; max-width: 560px; margin: 0 auto 24px; }
.x-final .x-btn { background: #2A1205; color: #fff; }
.x-final .x-note { color: #4A2410; margin-top: 20px; }

@media (max-width: 860px) {
  .x-hero-in, .x-chat-sec { grid-template-columns: 1fr; }
  .x-hero { padding-top: 34px; }
  .x-lock { max-width: 300px; }
  .x-bento { grid-template-columns: 1fr; }
  .x-tile.big, .x-tile.wide { grid-row: auto; grid-column: auto; }
  .x-bridge { grid-template-columns: 1fr; gap: 0; max-width: 340px; }
  .x-line { width: 3px; height: 90px; margin: 0 auto; background: repeating-linear-gradient(180deg, #9BE3BF 0 8px, transparent 8px 16px); }
  .x-line i { left: -11px; animation-name: x-drop; }
  @keyframes x-drop { 0% { top: 0; opacity: 0; } 15%, 85% { opacity: 1; } 100% { top: calc(100% - 22px); opacity: 0; } }
  .x-chat-sec { padding-top: 56px; padding-bottom: 56px; }
}
@media (prefers-reduced-motion: reduce) {
  .x-n, .x-line i { animation: none; opacity: 1; transform: none; }
  .x-track, .x-wave i, .x-key.go, .x-pulse, .x-big span, .x-typing i { animation: none; }
}
/* style.css sizes main.landing h2 smaller: v4 headings win here. */
body.v4 .x-chat-sec h2 { font-size: clamp(1.9rem, 4.2vw, 3rem); }
body.v4 .x-dark h2, body.v4 .x-final h2 { font-size: clamp(2rem, 5vw, 3.4rem); }
body.v4 .x-wrap > h2.center { font-size: clamp(1.9rem, 4.4vw, 3rem); }
body.v4 .x-zero h2 { font-size: clamp(1.6rem, 3.6vw, 2.4rem); }
.x-tile.wide { grid-column: span 3; }
@media (max-width: 860px) { .x-tile.wide { grid-column: auto; } }
/* The chat stays a light phone screen in dark mode too. */
body.v4 .x-chat .x-b { color: #10221A; font-size: .98rem; line-height: 1.35; }
body.v4 .x-chat .x-miss { color: #B23A26; font-size: .82rem; }
body.v4 .x-marquee { background: #10221A; color: #FFF8EE; }

/* ── The DailyWellness page in the v4 look (website/app4.cjs, 6 Nov 2026) ── */
.x-lock-time b { font-size: 2.4rem; }
.y-thoughts { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; margin: 10px 0 34px; }
.y-thoughts p { margin: 0; background: var(--x-card); border: 1px solid var(--x-line); border-radius: 22px 22px 22px 6px; padding: 18px 20px; font-family: var(--x-display); font-weight: 700; font-size: 1.2rem; line-height: 1.3; transform: rotate(-1deg); }
.y-thoughts p:nth-child(even) { transform: rotate(1.2deg); background: #FFF1C9; color: #3A2B00; border-color: #F5DD95; }
.y-thoughts p:last-child:nth-child(odd) { grid-column: 1 / -1; justify-self: center; max-width: 560px; }
.y-thoughts.two { grid-template-columns: 1fr 1fr; max-width: 900px; margin-left: auto; margin-right: auto; }
.y-hl { font-style: normal; background: linear-gradient(90deg, var(--x-coral), #FF9A3D); -webkit-background-clip: text; background-clip: text; color: transparent; }
.y-split { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.y-you, .y-them { border-radius: 30px; padding: 30px 28px; }
.y-you { background: var(--x-night); color: #E8E2D6; }
body.v4 .y-you h3 { color: #fff; }
.y-them { background: linear-gradient(150deg, #FFE1D6, #FFF1C9); color: #2A1205; }
body.v4 .y-them h3 { color: #2A1205; }
.y-you h3, .y-them h3 { font-size: 1.5rem; margin: 0 0 16px; }
.y-three { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 6px 0 18px; }
.y-three span { background: #fff; border-radius: 20px; text-align: center; padding: 16px 6px; font-weight: 800; font-size: 1.05rem; box-shadow: 0 6px 16px rgba(42,18,5,.08); }
.y-three b { display: block; font-size: 2.4rem; margin-bottom: 4px; }
.y-them p { font-family: var(--x-display); font-weight: 700; font-size: 1.3rem; margin: 0; }
.y-ticks { list-style: none; padding: 0; margin: 0; }
.y-ticks li { position: relative; padding: 7px 0 7px 32px; font-size: 1.04rem; }
.y-ticks li::before { content: "✓"; position: absolute; left: 0; top: 7px; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: var(--x-mint); color: #10221A; font-size: .8rem; font-weight: 900; }
.y-voice { text-align: left; }
.y-voice-in { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; }
.y-voice-p { color: #C9D2CC; font-size: 1.08rem; line-height: 1.6; }
.y-lines { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.y-lines span { background: rgba(155,227,191,.14); border: 1px solid rgba(155,227,191,.35); color: #DFF7EA; border-radius: 999px; padding: 9px 16px; font-weight: 600; }
.y-rec { background: linear-gradient(160deg, #1F6B4A, #124632); border-radius: 30px; padding: 28px; text-align: center; box-shadow: 0 30px 70px rgba(0,0,0,.4); }
.y-rec-dot { width: 74px; height: 74px; margin: 0 auto; border-radius: 50%; background: var(--x-coral); display: grid; place-items: center; font-size: 2rem; box-shadow: 0 0 0 0 rgba(255,107,74,.6); animation: x-pulse 1.8s infinite; }
.y-rec .x-wave { padding-top: 18px; }
.y-quote { font-family: var(--x-display); font-weight: 700; font-size: 1.4rem; color: #fff; margin: 18px 0 0; line-height: 1.25; }
.y-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 14px; }
.y-meds { text-align: left; }
.y-meds h2 { max-width: 760px; }
.y-meds .x-sub { max-width: 760px; }
.y-med-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.y-med-cols > div { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); border-radius: 24px; padding: 22px; }
body.v4 .y-med-cols h3 { color: var(--x-sun); margin: 0 0 14px; font-size: 1.25rem; }
.y-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.y-pills span { background: rgba(155,227,191,.14); color: #DFF7EA; border-radius: 999px; padding: 7px 13px; font-size: .92rem; font-weight: 600; }
.y-ticks.light li { color: #E8E2D6; font-size: .97rem; }
.y-details { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.y-d { position: relative; background: var(--x-card); border: 1px solid var(--x-line); border-radius: 26px; padding: 24px; overflow: hidden; }
.y-d h3 { margin: 12px 0 6px; font-size: 1.25rem; }
.y-d p { margin: 0; color: var(--x-soft); line-height: 1.55; }
.y-num { position: absolute; right: 16px; top: 6px; font-family: var(--x-display); font-weight: 800; font-size: 3.4rem; color: var(--x-line); }
.y-langs { padding-top: 60px !important; }
.y-lang-two { display: grid; grid-template-columns: 1fr 1fr; gap: 34px; align-items: center; }
.y-lang-two p { color: var(--x-soft); font-size: 1.06rem; line-height: 1.6; }
.y-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.y-chips span { background: var(--x-card); border: 1px solid var(--x-line); border-radius: 999px; padding: 8px 14px; font-weight: 700; color: var(--x-green); }
.y-steps { list-style: none; padding: 0; margin: 0; counter-reset: s; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.y-steps li { counter-increment: s; background: var(--x-card); border: 1px solid var(--x-line); border-radius: 28px; padding: 26px; }
.y-steps li::before { content: counter(s); display: block; font-family: var(--x-display); font-weight: 800; font-size: 4rem; line-height: 1; background: linear-gradient(180deg, var(--x-coral), var(--x-sun)); -webkit-background-clip: text; background-clip: text; color: transparent; margin-bottom: 8px; }
.y-steps.four { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1000px) { .y-steps.four { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .y-steps.four { grid-template-columns: 1fr; } }
.y-steps b { display: block; font-family: var(--x-display); font-size: 1.3rem; margin-bottom: 4px; }
.y-steps span { color: var(--x-soft); }
.y-trust { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; background: var(--x-card); border: 1px solid var(--x-line); border-radius: 32px; padding: 30px; }
.y-trust h3 { margin: 12px 0 6px; }
.y-trust p { margin: 0; color: var(--x-soft); line-height: 1.55; }
.y-fine p { color: var(--x-soft); font-size: .86rem; line-height: 1.55; max-width: 860px; margin: 0 auto; text-align: center; }
section.x-wrap.y-fine { padding-top: 26px; padding-bottom: 30px; }
.x-final + .y-fine { margin-top: 0; }
body.v4 .y-voice h2, body.v4 .y-meds h2 { font-size: clamp(2rem, 5vw, 3.2rem); }
@media (max-width: 860px) {
  .y-split, .y-voice-in, .y-med-cols, .y-details, .y-lang-two, .y-steps, .y-trust { grid-template-columns: 1fr; }
}
body.v4 nav.sub-nav { background: color-mix(in srgb, var(--x-cream) 90%, var(--x-mint)); border-bottom: 1px solid var(--x-line); }
body.v4 nav.sub-nav a { color: var(--x-soft); }
body.v4 nav.sub-nav a[aria-current="page"] { color: var(--x-ink); }
@media (min-width: 1000px) { .y-grid { grid-template-columns: repeat(5, 1fr); } .y-grid .x-tile { padding: 20px; } .y-grid .x-tile h3 { font-size: 1.15rem; } }

/* Care both ways (6 Nov 2026): your settings go to her phone, her day comes back. */
.x-bridge { grid-template-columns: 1fr 200px 1fr; }
.x-lanes { display: flex; flex-direction: column; gap: 34px; padding: 0 8px; }
.x-lane { display: flex; flex-direction: column; gap: 10px; }
.x-tag { font-weight: 800; font-size: .9rem; color: #9BE3BF; }
.x-lane.back .x-tag { color: #FFC94A; }
.x-lane small { color: #B4BFB8; font-size: .76rem; line-height: 1.3; }
.x-line.rev { background: repeating-linear-gradient(90deg, #FFC94A 0 8px, transparent 8px 16px); }
.x-line.rev i { animation-name: x-back; }
@keyframes x-back { 0% { left: calc(100% - 22px); opacity: 0; } 15%, 85% { opacity: 1; } 100% { left: 0; opacity: 0; } }
.y-split { grid-template-columns: 1fr 70px 1fr; align-items: center; }
.y-flow { display: flex; flex-direction: column; align-items: center; gap: 8px; font-size: 1.5rem; }
.y-flow span { animation: x-bob 1.6s ease-in-out infinite; }
.y-flow span:nth-child(2) { animation-delay: .25s; } .y-flow span:nth-child(3) { animation-delay: .5s; }
.y-flow b { font-size: 2rem; color: var(--x-coral); }
@media (max-width: 860px) {
  .x-bridge { grid-template-columns: 1fr; }
  .x-lanes { flex-direction: row; justify-content: center; gap: 40px; padding: 14px 0; }
  .x-lane { align-items: center; text-align: center; width: 120px; }
  .x-lanes .x-line { width: 3px; height: 80px; margin: 0 auto; }
  .x-lanes .x-line { background: repeating-linear-gradient(180deg, #9BE3BF 0 8px, transparent 8px 16px); }
  .x-lanes .x-line.rev { background: repeating-linear-gradient(180deg, #FFC94A 0 8px, transparent 8px 16px); }
  .x-lanes .x-line i { left: -11px; animation-name: x-drop; }
  .x-lanes .x-line.rev i { animation-name: x-rise; }
  @keyframes x-rise { 0% { top: calc(100% - 22px); opacity: 0; } 15%, 85% { opacity: 1; } 100% { top: 0; opacity: 0; } }
  .x-tag { order: 0; } .x-lane.back .x-tag::before { content: "↑ "; } .x-lane:not(.back) .x-tag::after { content: " ↓"; }
  .y-split { grid-template-columns: 1fr; }
  .y-flow { flex-direction: row; justify-content: center; }
  .y-flow b { transform: rotate(90deg); }
}
@media (min-width: 861px) { .x-lane.back .x-tag::before { content: "← "; } .x-lane:not(.back) .x-tag::after { content: " →"; } }
.x-tag { font-size: 1.02rem; } .x-lane small { font-size: .82rem; }
/* The two-way picture on top (owner, 6 Nov 2026). */
.x-hero-top .x-hero-text { text-align: center; max-width: 860px; margin: 0 auto; }
.x-hero-top .x-lead { margin-left: auto; margin-right: auto; }
.x-hero-top .x-cta { justify-content: center; }
.x-hero-top h1 { font-size: clamp(2.4rem, 6vw, 4.4rem); }
.x-stage { background: var(--x-night); border-radius: 36px; padding: 30px 22px 36px; margin-top: 34px; text-align: center; box-shadow: 0 30px 80px rgba(16,34,26,.3); }
.x-stage .x-eyebrow { color: #9BE3BF; }
.x-stage .x-sub { color: #C9D2CC; margin-bottom: 22px; }
body.v4 .x-stage .x-eyebrow { font-size: 1rem; }
@media (max-width: 860px) { .x-stage { padding: 24px 14px 28px; border-radius: 28px; } }
/* Phones: the two phones stay side by side, smaller (owner, 6 Nov 2026: "on mobile also side by side"). */
@media (max-width: 860px) {
  .x-stage { padding: 20px 8px 22px; }
  .x-stage .x-bridge { grid-template-columns: 1fr 58px 1fr; max-width: none; gap: 0; align-items: center; }
  .x-stage .x-phone { border-width: 5px; border-radius: 22px; padding: 10px 7px 12px; }
  .x-stage .x-phone-top { font-size: .62rem; margin-bottom: 4px; }
  .x-stage .x-hello { font-size: .82rem; margin-bottom: 4px; }
  .x-stage .x-key { font-size: .74rem; padding: 8px 4px; margin: 5px 0; border-radius: 12px; border-width: 1.5px; }
  .x-stage .x-row { gap: 5px; padding: 6px 6px; margin: 5px 0; border-radius: 10px; }
  .x-stage .x-row > span { font-size: .9rem; }
  .x-stage .x-row b { font-size: .66rem; }
  .x-stage .x-row small { font-size: .56rem; }
  .x-stage .x-lanes { flex-direction: column; gap: 22px; padding: 0 3px; }
  .x-stage .x-lane { width: auto; gap: 4px; }
  .x-stage .x-lane small { display: none; }
  .x-stage .x-tag { font-size: .62rem; line-height: 1.15; }
  .x-stage .x-lane.back .x-tag::before { content: "← "; }
  .x-stage .x-lane:not(.back) .x-tag::after { content: " →"; }
  .x-stage .x-lanes .x-line { width: auto; height: 3px; margin: 8px 0; background: repeating-linear-gradient(90deg, #9BE3BF 0 6px, transparent 6px 12px); }
  .x-stage .x-lanes .x-line.rev { background: repeating-linear-gradient(90deg, #FFC94A 0 6px, transparent 6px 12px); }
  .x-stage .x-lanes .x-line i { top: -10px; font-size: .9rem; left: 0; animation-name: x-fly; }
  .x-stage .x-lanes .x-line.rev i { animation-name: x-back; }
  .x-stage .x-sub { font-size: .95rem; margin-bottom: 16px; }
}
/* Side space on every v4 block (style.css took it away on some sections). */
body.v4 .x-wrap { padding-left: 18px; padding-right: 18px; }
@media (max-width: 860px) {
  .x-stage .x-lane { align-items: stretch; text-align: center; }
  .x-stage .x-lanes .x-line { margin: 10px 2px; }
  /* Fewer long scrolls: small boxes two side by side. */
  .x-bento, .y-grid, .y-details { grid-template-columns: 1fr 1fr; gap: 10px; }
  .x-tile.big, .x-tile.wide { grid-column: 1 / -1; }
  .x-tile, .y-d { padding: 16px 14px; border-radius: 20px; }
  .x-tile h3, .y-d h3 { font-size: 1rem !important; margin: 8px 0 4px; }
  .x-tile p, .y-d p { font-size: .84rem; line-height: 1.45; }
  .x-ic { width: 40px; height: 40px; font-size: 1.2rem; border-radius: 12px; }
  .y-num { font-size: 2.2rem; right: 10px; }
  .y-steps { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .y-steps li { padding: 14px 10px; border-radius: 18px; }
  .y-steps li::before { font-size: 2.4rem; }
  .y-steps b { font-size: .95rem; }
  .y-steps span { font-size: .8rem; }
  .y-thoughts { grid-template-columns: 1fr 1fr; gap: 10px; }
  .y-thoughts p { font-size: .95rem; padding: 12px 14px; }
  .y-split { gap: 12px; }
  .x-zeros b { font-size: 4.4rem; }
}
@media (max-width: 860px) {
  .x-stage .x-bridge { grid-template-columns: 1fr 66px 1fr; }
  .x-stage .x-lanes .x-line i:nth-child(3) { display: none; }
  .x-stage .x-lanes .x-line i { animation-duration: 2.4s; }
  .x-stage .x-lanes .x-line i:nth-child(2) { animation-delay: 1.2s; }
  .x-hero { padding-bottom: 26px; }
  .x-hero .x-lead { font-size: 1.02rem; }
  .x-cta { flex-wrap: nowrap; justify-content: center; gap: 8px; }
  .x-cta .x-btn { padding: 12px 16px; font-size: .92rem; white-space: nowrap; }
}

.x-context { font-family: var(--x-display); font-weight: 700; font-size: clamp(1.15rem, 2.6vw, 1.6rem); color: var(--x-soft); margin: 0 0 10px; }
.x-context::before { content: ""; display: inline-block; width: 10px; height: 10px; border-radius: 50%; background: var(--x-coral); margin-right: 10px; vertical-align: middle; animation: x-pulse 1.8s infinite; }

/* ── The story slideshow on top (owner, 6 Nov 2026) ── */
.x-show { position: relative; background: radial-gradient(900px 500px at 20% 0%, #1E3A2E, #0B1410 70%); color: #F2EFE8; overflow: hidden; }
.x-show-track { position: relative; max-width: 900px; margin: 0 auto; min-height: 560px; padding: 0 22px; }
.x-scene { position: absolute; inset: 0; padding: 70px 22px 90px; display: flex; flex-direction: column; justify-content: center; opacity: 0; visibility: hidden; transition: opacity .6s, visibility .6s; }
.x-scene.on { opacity: 1; visibility: visible; }
.x-when { font-weight: 700; letter-spacing: .12em; text-transform: uppercase; font-size: .85rem; color: #FFC94A; margin: 0 0 18px; }
.x-l { font-family: var(--x-display); font-weight: 600; font-size: clamp(1.25rem, 3vw, 1.9rem); line-height: 1.3; margin: 0 0 12px; color: #F2EFE8; opacity: 0; transform: translateY(12px); }
.x-scene.on .x-l { animation: x-line .7s ease forwards; animation-delay: calc(var(--k) * 1.1s + .3s); }
@keyframes x-line { to { opacity: 1; transform: none; } }
.x-feel { color: #FF8A6B !important; font-weight: 800 !important; font-size: clamp(1.5rem, 3.8vw, 2.4rem) !important; margin-top: 10px !important; }
body.v4 .x-all h2 { color: #fff; font-size: clamp(2rem, 5.2vw, 3.4rem); line-height: 1.08; margin-bottom: 20px; }
.x-all p.x-l { color: #C9D2CC; }
.x-all b { color: #FFC94A; }
.x-turn { background: radial-gradient(700px 400px at 70% 30%, rgba(155,227,191,.18), transparent 70%); }
.x-tick { font-size: clamp(1.05rem, 2.4vw, 1.4rem) !important; color: #DFF7EA !important; }
.x-tick span { display: inline-block; min-width: 64px; color: #9BE3BF; font-weight: 800; }
body.v4 .x-turn h1 { color: #fff; font-size: clamp(2.4rem, 6.4vw, 4.4rem); line-height: 1.02; margin: 18px 0 22px; }
.x-turn h1 em { font-style: normal; background: linear-gradient(90deg, var(--x-coral), var(--x-sun)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.x-btn.light { background: #F2EFE8; color: #10221A; }
.x-btn.ghost.light { background: transparent; color: #F2EFE8; box-shadow: inset 0 0 0 2px #F2EFE8; }
.x-turn .x-cta { justify-content: flex-start; }
.x-show-nav { position: absolute; left: 0; right: 0; bottom: 24px; display: flex; justify-content: center; align-items: center; gap: 14px; }
.x-show-nav > button { background: rgba(255,255,255,.1); color: #fff; border: 0; width: 38px; height: 38px; border-radius: 50%; font-size: 1.4rem; cursor: pointer; }
.x-dots { display: flex; gap: 8px; }
.x-dots button { width: 10px; height: 10px; border-radius: 999px; border: 0; padding: 0; background: rgba(255,255,255,.3); cursor: pointer; transition: width .3s; }
.x-dots button[aria-current="true"] { width: 28px; background: #FFC94A; }
.x-skip { position: absolute; top: 18px; right: 22px; color: #B4BFB8; font-size: .85rem; text-decoration: none; }
.x-h2big { font-size: clamp(2rem, 5vw, 3.4rem) !important; line-height: 1.05; margin: 0 0 16px; }
.x-h2big em { font-style: normal; background: linear-gradient(90deg, var(--x-coral), #FF9A3D); -webkit-background-clip: text; background-clip: text; color: transparent; }
@media (max-width: 860px) {
  .x-show-track { min-height: 600px; }
  .x-scene { padding: 56px 20px 84px; }
  .x-turn .x-cta { flex-wrap: wrap; }
}
@media (prefers-reduced-motion: reduce) { .x-scene.on .x-l { animation: none; opacity: 1; transform: none; } }
/* Stories -> gaps -> filled (6 Nov 2026). */
.x-gaps { padding: 70px 0 20px; }
body.v4 .x-gaps h2 { font-size: clamp(1.9rem, 4.6vw, 3rem); margin: 0 0 28px; }
.x-gap-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.x-gap { background: var(--x-card); border: 1px solid var(--x-line); border-radius: 28px; padding: 24px; display: flex; flex-direction: column; }
.x-gw { margin: 0; font-weight: 800; font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: var(--x-soft); }
.x-gg { margin: 10px 0 12px; font-family: var(--x-display); font-weight: 800; font-size: 1.35rem; line-height: 1.2; color: var(--x-coral); }
.x-gf { margin: 0 0 16px; color: var(--x-ink); line-height: 1.55; }
.x-gm { margin: auto 0 0; background: #D6F5E3; color: #10221A; border-radius: 14px; padding: 10px 12px; font-weight: 700; font-size: .92rem; }
.x-gm.warn { background: #FFE4DC; color: #8A2A17; }
@media (max-width: 860px) { .x-gap-grid { grid-template-columns: 1fr; } .x-gaps { padding-top: 50px; } }
/* Our own pictures in the story (6 Nov 2026). */
.x-show-track { max-width: 1100px; }
.x-scene.x-has-art { flex-direction: row; align-items: center; gap: 40px; }
.x-scene-text { flex: 1.25; }
.x-art { flex: .75; opacity: 0; transform: scale(.94); }
.x-scene.on .x-art { animation: x-line .9s ease forwards .2s; }
.x-art svg { width: 100%; max-width: 360px; height: auto; display: block; margin: 0 auto; }
.x-buzz { animation: x-buzz 1.6s ease-in-out infinite; transform-origin: 213px 113px; }
@keyframes x-buzz { 0%, 60%, 100% { transform: none; } 64% { transform: rotate(-4deg); } 68% { transform: rotate(4deg); } 72% { transform: rotate(-3deg); } 76% { transform: rotate(2deg); } }
.x-glow { animation: x-glowp 2.4s ease-in-out infinite; }
@keyframes x-glowp { 50% { opacity: .28; } }
.x-pop { animation: x-bob 2.2s ease-in-out infinite; }
@media (max-width: 860px) {
  .x-scene.x-has-art { flex-direction: column-reverse; justify-content: center; gap: 10px; }
  .x-art svg { max-width: 190px; }
  .x-show-track { min-height: 680px; }
  .x-scene { padding-top: 40px; }
}
@media (prefers-reduced-motion: reduce) { .x-buzz, .x-glow, .x-pop { animation: none; } .x-scene.on .x-art { animation: none; opacity: 1; transform: none; } }
.x-turn { background: none; }
.x-tk { opacity: 0; }
.x-scene.on .x-tk { animation: x-line .6s ease forwards; animation-delay: calc(var(--k) * 1.1s + .5s); }
.x-beat { animation: x-beat 1.4s ease-in-out infinite; transform-origin: 160px 255px; }
@keyframes x-beat { 50% { transform: scale(1.2); } }
@media (prefers-reduced-motion: reduce) { .x-scene.on .x-tk { animation: none; opacity: 1; } .x-beat { animation: none; } }

/* Top menu hides on scroll down, returns on scroll up (owner, 6 Nov 2026: "Twitter browsing style"). */
body.v4 header.top { position: static; }
.x-bar { position: sticky; top: 0; z-index: 20; transition: transform .3s ease; will-change: transform; }
.x-bar.away { transform: translateY(-100%); }
@media (prefers-reduced-motion: reduce) { .x-bar { transition: none; } }
