/* ============================================================
   Habishine website — shared design system.
   Light-only (the app's "bright, calm, candy-on-cream" brand); every colour is
   a theme.ts token so the site stays in sync with the app. Loaded by every page
   (index + the legal/support/contact/about pages).
   ============================================================ */

:root {
  color-scheme: light;

  /* Frog purple is the app's PRIMARY accent (FAB, today pill, card accent) —
     theme.ts frog. The sun yellow/orange is the brand MARK only. */
  --frog: #7A3FD0;         /* theme.ts light.frog — primary accent */
  --yellow: #FFC93C;       /* theme.ts yellow.c — logo only */
  --orange: #FB8B24;       /* theme.ts replan / orange.c — logo only */
  --warm-tint: #FFF3D2;    /* theme.ts nudgeBg — celebratory warm tint */
  --warm-tint-2: #FEEBD7;  /* theme.ts orange.t */
  --ink: #1B1B1F;          /* theme.ts light.ink */
  --ink-soft: #5E5E63;     /* theme.ts light.ink2 */
  --card: #FFFFFF;         /* white cards pop against the lavender ground */
  --bg: #F5F2FC;           /* solid lavender fallback (the app's frog purple, heavily tinted) */
  --border: #E7E0F3;       /* soft violet hairline (was neutral grey) */
  /* Full-page gradient: light lavender at the top, deepening into violet toward
     the bottom where it meets the CTA band. --glow is a soft halo behind the hero. */
  --grad-top: #FBF9FE;
  --grad-mid: #F3EFFC;
  --grad-bottom: #E7DCF8;
  --glow: #ECE5FB;
  --shadow: 0 1px 3px rgba(20, 20, 25, 0.05), 0 8px 22px rgba(20, 20, 25, 0.07);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, "SF Pro Rounded", "SF Pro Text", system-ui, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  /* Directional violet gradient (light top -> deeper bottom) with a soft halo
     behind the hero. Fixed so every screenful reads light-at-top, deep-at-bottom
     and the CTA meets the deepest violet. */
  background:
    radial-gradient(90% 55% at 50% 0%, var(--glow) 0%, transparent 60%),
    linear-gradient(180deg, var(--grad-top) 0%, var(--grad-mid) 45%, var(--grad-bottom) 100%);
  background-color: var(--bg);
  background-attachment: fixed;
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--frog); }
:focus-visible { outline: 3px solid var(--frog); outline-offset: 2px; border-radius: 6px; }

.wrap { max-width: 960px; margin: 0 auto; padding: 0 24px; }

/* --- header --- */
header { display: flex; align-items: center; justify-content: space-between; padding: 22px 0; }
.brand { display: flex; align-items: center; gap: 12px; font-weight: 700; font-size: 20px; letter-spacing: -0.01em; color: var(--ink); text-decoration: none; }
.brand svg { width: 38px; height: 38px; display: block; }
header nav { display: flex; align-items: center; gap: 22px; }
header nav a { color: var(--ink-soft); text-decoration: none; font-size: 15px; font-weight: 500; }
header nav a:hover { color: var(--ink); }
/* the one nav item that is an action, not a section: a pill, the way every
   SaaS landing page marks "open the app" */
header nav a.nav-app { color: var(--ink); font-weight: 600; padding: 8px 14px; margin-left: 6px; line-height: 1.2; border-radius: 999px; background: var(--card); border: 1px solid var(--border); }
header nav a.nav-app:hover { border-color: var(--ink-soft); }

/* --- buttons --- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 22px; border-radius: 14px;
  font-size: 15px; font-weight: 600; text-decoration: none;
  border: 1px solid transparent; transition: transform .12s ease, box-shadow .12s ease;
}
.btn:hover { transform: translateY(-2px); }
/* Primary CTA echoes the app's purple FAB. */
.btn-primary { background: linear-gradient(180deg, #9B5DE5, #7A3FD0); color: #fff; box-shadow: 0 8px 20px -6px rgba(122, 63, 208, 0.5); }
.btn-secondary { background: var(--card); color: var(--ink); border-color: var(--border); }
/* "Coming soon" (iPhone-first launch): a quiet line under the two real
   actions, not a third badge — a disabled button at equal weight read as a
   broken one and left the row ragged. */
.soon { flex: 0 0 100%; display: inline-flex; align-items: center; gap: 7px; font-size: 13px; color: var(--ink-soft); margin-top: 2px; }
.soon svg { width: 14px; height: 14px; opacity: .8; }
.btn svg { width: 20px; height: 20px; flex: 0 0 20px; }
.btn small { display: block; font-size: 11px; font-weight: 500; opacity: .75; line-height: 1; margin-bottom: 2px; }
.btn strong { font-size: 16px; font-weight: 700; line-height: 1.15; }
.btn .stack { text-align: left; }
/* The store row: three badges, one size, one baseline. Each grows from a
   phone-friendly minimum to a shared cap, so the row reads as a set whether
   it sits on one line (desktop) or wraps two-up (phone). */
.downloads { display: flex; gap: 10px; flex-wrap: wrap; align-items: stretch; }
.downloads .btn { flex: 1 1 140px; max-width: 200px; min-height: 60px; padding: 10px 14px; justify-content: flex-start; }

/* --- landing: hero (copy left, phone mockup right) --- */
.hero { padding: 40px 0 50px; }
/* 1.15/0.85: the copy column must hold the three store badges on one line; the
   phone mockup is a fixed 292px and still fits the narrower right column. */
.hero-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 40px; align-items: center; }
.sun-big { width: 62px; height: 62px; margin: 0 0 16px; display: block; }
.hero h1 { font-size: clamp(2.1rem, 5.2vw, 3.2rem); line-height: 1.08; letter-spacing: -0.02em; font-weight: 800; margin-bottom: 16px; }
.hero h1 .accent { color: var(--frog); }
.hero p.lede { font-size: clamp(1.02rem, 2.2vw, 1.22rem); color: var(--ink-soft); margin: 0 0 28px; max-width: 34em; }
.hint { margin-top: 16px; font-size: 13px; color: var(--ink-soft); }
.hero-visual { display: flex; justify-content: center; }

@media (max-width: 880px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; text-align: center; }
  .hero .downloads { justify-content: center; }
  .hero .downloads .soon { justify-content: center; }
  .sun-big { margin: 0 auto 16px; }
  .hero p.lede { margin-left: auto; margin-right: auto; }
}

/* --- phone mockup: the app's Today screen (mirrors habit-mockup.html) --- */
.phone { width: 292px; background: #1B1B1F; border-radius: 42px; padding: 9px; box-shadow: 0 30px 70px -26px rgba(70, 35, 120, 0.55); }
.phone-screen { background: #F7F7F5; border-radius: 34px; overflow: hidden; padding: 30px 12px 0; position: relative; }
.ph-notch { position: absolute; top: 9px; left: 50%; transform: translateX(-50%); width: 82px; height: 18px; background: #1B1B1F; border-radius: 999px; }
.ph-head h3 { font-size: 21px; font-weight: 800; letter-spacing: -0.02em; line-height: 1.1; }
.ph-head p { font-size: 10px; color: #6B6B70; margin-bottom: 11px; }
.ph-days { display: flex; gap: 3px; margin-bottom: 11px; }
.ph-day { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 6px 0; border-radius: 999px; font-size: 8px; color: #8A8A8F; }
.ph-day b { font-size: 11px; color: #1B1B1F; font-weight: 700; }
.ph-day .d { width: 4px; height: 4px; border-radius: 50%; background: #E3E3E0; }
.ph-day .d.full { background: #2FBF4F; }
.ph-day .d.part { background: #FB8B24; }
.ph-day.today { background: #7A3FD0; color: #fff; }
.ph-day.today b { color: #fff; }
.ph-day.today .d { background: #fff; }
.ph-pin { position: relative; background: #fff; border-radius: 13px; box-shadow: 0 1px 3px rgba(20,20,25,.06), 0 4px 12px rgba(20,20,25,.05); padding: 9px 11px 9px 15px; display: flex; align-items: center; gap: 8px; overflow: hidden; margin-bottom: 13px; }
.ph-pin::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: #7A3FD0; }
.ph-pin-label { font-size: 7px; font-weight: 800; color: #7A3FD0; letter-spacing: 0.07em; }
.ph-pin-title { font-size: 11.5px; font-weight: 700; line-height: 1.25; }
.ph-pin-meta { font-size: 8.5px; color: #8A8A8F; }
.ph-ring { width: 21px; height: 21px; border-radius: 50%; border: 2px solid #E1D5F5; flex: none; margin-left: auto; }
.ph-label { font-size: 8px; font-weight: 800; letter-spacing: 0.09em; color: #8A8A8F; margin-bottom: 6px; }
.ph-card { background: #fff; border-radius: 13px; box-shadow: 0 1px 3px rgba(20,20,25,.06), 0 4px 12px rgba(20,20,25,.05); overflow: hidden; }
.ph-row { display: flex; align-items: center; gap: 9px; padding: 8px 11px; position: relative; }
.ph-row + .ph-row::before { content: ""; position: absolute; left: 48px; right: 0; top: 0; height: 1px; background: #F0F0EE; }
.ph-tile { width: 29px; height: 29px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 12px; flex: none; border: 2px solid; }
.ph-row b { font-size: 11.5px; display: block; line-height: 1.25; }
.ph-row small { font-size: 8.5px; color: #8A8A8F; }
.t-teal { background: #E1F6F4; border-color: #17BEB4; color: #0C8078; }
.t-blue { background: #DCEDFF; border-color: #2E9BFF; }
.t-yellow { background: #FFF3D2; border-color: #FFC93C; }
.t-green { background: #DDF6E2; border-color: #2FBF4F; }
.ph-tabs { display: flex; align-items: center; justify-content: space-around; padding: 9px 6px 11px; margin: 13px -12px 0; background: rgba(255,255,255,.96); border-top: 1px solid #EFEFED; }
.ph-tabs span { font-size: 7.5px; color: #8A8A8F; display: flex; flex-direction: column; align-items: center; gap: 2px; }
.ph-tabs span i { font-size: 11px; font-style: normal; }
.ph-fab { width: 32px; height: 32px; border-radius: 50%; background: #7A3FD0; color: #fff; display: flex; align-items: center; justify-content: center; font-size: 19px; box-shadow: 0 6px 14px -4px rgba(122,63,208,.6); }

/* --- landing: principles --- */
section.principles { padding: 60px 0; }
.principles h2, .cta h2 { text-align: center; font-size: clamp(1.5rem, 4vw, 2.1rem); letter-spacing: -0.02em; margin-bottom: 40px; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
.card { background: var(--card); border: 1px solid var(--border); border-radius: 20px; padding: 26px; box-shadow: var(--shadow); }
.card h3 { font-size: 1.12rem; margin-bottom: 8px; letter-spacing: -0.01em; }
.card p { color: var(--ink-soft); font-size: 15px; }
/* Tinted icon tiles — the app's colourful habit tiles, using theme.ts *.t tints. */
.card-ico { width: 46px; height: 46px; border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: 23px; margin-bottom: 14px; }
.ico-teal { background: #E1F6F4; }
.ico-orange { background: #FEEBD7; }
.ico-purple { background: #F0E7FB; }
.ico-pink { background: #FFE1EC; }
.ico-blue { background: #DCEDFF; }
.ico-green { background: #DDF6E2; }
.ico-yellow { background: #FFF3D2; }

/* --- landing: the anti-streak contrast (the core differentiator) --- */
.contrast { padding: 10px 0 60px; }
.contrast h2 { text-align: center; font-size: clamp(1.5rem, 4vw, 2.1rem); letter-spacing: -0.02em; margin-bottom: 12px; }
.contrast .sub { text-align: center; color: var(--ink-soft); max-width: 560px; margin: 0 auto 34px; }
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.col { border-radius: 20px; padding: 26px; }
.col.bad { background: rgba(255, 255, 255, 0.5); border: 1px dashed var(--border); }
.col.good { background: var(--card); border: 1px solid var(--border); box-shadow: var(--shadow); }
.col h3 { font-size: 1.05rem; margin-bottom: 14px; }
.col.bad h3 { color: var(--ink-soft); }
.col ul { list-style: none; margin: 0; }
.col li { display: flex; gap: 10px; margin-bottom: 11px; font-size: 15px; color: var(--ink-soft); align-items: flex-start; }
.col li::before { content: "✕"; color: #CE1E5F; font-weight: 700; flex: none; }
.col.good li::before { content: "✓"; color: #2FBF4F; }
@media (max-width: 720px) { .compare { grid-template-columns: 1fr; } }

/* --- landing: what's inside --- */
.features { padding: 10px 0 60px; }
.features h2 { text-align: center; font-size: clamp(1.5rem, 4vw, 2.1rem); letter-spacing: -0.02em; margin-bottom: 12px; }
.features .sub { text-align: center; color: var(--ink-soft); max-width: 560px; margin: 0 auto 36px; }
.feat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px 26px; }
.feat { display: flex; gap: 13px; }
.feat .fi { width: 38px; height: 38px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 18px; flex: none; }
.feat h4 { font-size: 15px; margin-bottom: 3px; letter-spacing: -0.01em; }
.feat p { font-size: 14px; color: var(--ink-soft); }

/* --- landing: privacy / trust strip --- */
.trust { padding: 0 0 60px; }
.trust .panel { background: var(--card); border: 1px solid var(--border); border-radius: 20px; padding: 32px 28px; box-shadow: var(--shadow); text-align: center; }
.trust h2 { font-size: clamp(1.3rem, 3.4vw, 1.7rem); letter-spacing: -0.02em; margin-bottom: 10px; }
.trust > .panel > p { color: var(--ink-soft); max-width: 520px; margin: 0 auto; }
.trust ul { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 26px; margin: 20px 0 0; }
.trust li { font-size: 14px; color: var(--ink-soft); display: flex; gap: 8px; align-items: center; }
.trust li::before { content: "✓"; color: #2FBF4F; font-weight: 700; }

/* --- landing: closing CTA --- */
.cta { text-align: center; padding: 30px 0 70px; }
.cta .downloads { justify-content: center; }
.cta .panel .soon { justify-content: center; color: rgba(255, 255, 255, 0.78); }
/* The closing CTA is the site's violet moment — the app's brand purple (frog) as
   a vivid band, echoing the FAB. Buttons invert so they stay legible on it. */
.cta .panel {
  position: relative; overflow: hidden;
  background:
    radial-gradient(120% 120% at 100% 0%, rgba(255, 255, 255, 0.18) 0%, transparent 45%),
    linear-gradient(150deg, #9B5DE5 0%, #7A3FD0 55%, #6A32C0 100%);
  border: none; border-radius: 24px; padding: 52px 28px;
  box-shadow: 0 22px 50px -20px rgba(122, 63, 208, 0.55);
}
.cta .panel h2 { margin-bottom: 14px; color: #fff; }
.cta .panel p { color: rgba(255, 255, 255, 0.85); max-width: 480px; margin: 0 auto 28px; }
.cta .panel .btn-primary { background: #fff; color: #5a2ea6; box-shadow: 0 8px 20px -8px rgba(0, 0, 0, 0.35); }
.cta .panel .btn-secondary { background: rgba(255, 255, 255, 0.14); color: #fff; border-color: rgba(255, 255, 255, 0.4); }

/* --- footer (shared) --- */
footer { border-top: 1px solid var(--border); padding: 34px 0; margin-top: 20px; }
.footer-inner { display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 18px; }
.footer-links a { color: var(--ink-soft); text-decoration: none; font-size: 14px; }
.footer-links a:hover { color: var(--ink); }
.footer-meta { color: var(--ink-soft); font-size: 13px; }
.footer-meta a { color: var(--ink-soft); }

/* --- content pages (about / contact / support / privacy / terms) --- */
.doc { max-width: 720px; margin: 0 auto; padding: 16px 24px 40px; }
.doc-head { padding: 28px 0 6px; }
.doc-head h1 { font-size: clamp(1.9rem, 5vw, 2.7rem); letter-spacing: -0.02em; line-height: 1.1; }
.doc-head .updated { color: var(--ink-soft); font-size: 14px; margin-top: 10px; }
.doc-head .lead { font-size: 1.12rem; color: var(--ink-soft); margin-top: 16px; }
.doc section { margin-top: 30px; }
.doc h2 { font-size: 1.3rem; letter-spacing: -0.01em; margin-bottom: 10px; }
.doc h3 { font-size: 1.05rem; margin: 18px 0 6px; }
.doc p { margin-bottom: 12px; }
.doc ul { margin: 0 0 14px 22px; }
.doc ol { margin: 0 0 14px 22px; }
.doc ol li { margin-bottom: 6px; }
/* inline code and the one command block on ai.html */
.doc code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 0.92em; background: var(--card); border: 1px solid var(--border); border-radius: 6px; padding: 2px 6px; word-break: break-all; }
.doc pre { background: var(--card); border: 1px solid var(--border); border-radius: 12px; padding: 14px 16px; overflow-x: auto; margin: 0 0 14px; }
.doc pre code { border: 0; padding: 0; background: none; word-break: normal; }
.doc li { margin-bottom: 8px; }
.doc a { color: var(--frog); text-decoration: none; }
.doc a:hover { text-decoration: underline; }
.doc strong { font-weight: 700; }

/* callout box for the "how to get help / delete account" highlights */
.callout { background: var(--card); border: 1px solid var(--border); border-radius: 16px; padding: 18px 20px; box-shadow: var(--shadow); margin: 18px 0; }
.callout strong { display: block; margin-bottom: 4px; }

/* contact cards */
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; margin-top: 22px; }
.contact-card { background: var(--card); border: 1px solid var(--border); border-radius: 18px; padding: 24px; box-shadow: var(--shadow); }
.contact-card .label { font-size: 12px; color: var(--ink-soft); text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 8px; }
.contact-card .value { font-size: 1.08rem; font-weight: 600; color: var(--frog); text-decoration: none; word-break: break-word; }
.contact-card .value:hover { text-decoration: underline; }
.contact-card p { font-size: 14px; color: var(--ink-soft); margin: 8px 0 0; }

/* FAQ (support) */
.faq { margin-top: 10px; }
.faq details { border-bottom: 1px solid var(--border); padding: 16px 0; }
.faq summary { font-weight: 600; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--ink-soft); font-weight: 400; font-size: 20px; line-height: 1; }
.faq details[open] summary::after { content: "\2013"; }
.faq details p { margin: 10px 0 2px; color: var(--ink-soft); }

/* analytics consent banner (analytics.js) — shown until a choice is made */
.consent { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 50; max-width: 560px; margin: 0 auto; background: var(--card); border: 1px solid var(--border); border-radius: 18px; padding: 16px 18px; box-shadow: var(--shadow); display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; }
.consent p { flex: 1 1 260px; font-size: 14px; color: var(--ink-soft); margin: 0; }
.consent a { color: var(--frog); }
.consent-actions { display: flex; gap: 10px; margin-left: auto; }
.consent .btn { padding: 10px 18px; font-size: 14px; }

/* --- AI assistants: three mobile chat mockups. Each screen copies the look
   of that app's iPhone chat as shown on its App Store listing — Claude's
   ivory ground, serif replies and orange send; ChatGPT's white ground,
   pale-blue user bubble and action row; Gemini's dark ground, "Gemini Flash"
   title and blue voice button. Drawn in CSS inside the hero's .phone bezel,
   like the Today mockup; swap for real screenshots when connectors exist in
   all three. The Habishine card is how a connected app's tool call shows. --- */
.chats { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 18px; justify-items: center; align-items: stretch; }
.phone.chat-phone { width: 100%; max-width: 292px; display: flex; }
.chat-phone .cs { flex: 1; }
.cs { border-radius: 34px; overflow: hidden; padding: 10px 12px 8px; display: flex; flex-direction: column; min-height: 560px; font-family: -apple-system, "SF Pro Text", system-ui, sans-serif; font-size: 11.5px; line-height: 1.4; }
.cs-status { display: flex; justify-content: space-between; align-items: center; font-size: 11px; font-weight: 600; padding: 2px 12px 6px; }
.cs-status svg { width: 46px; height: 11px; }
.cs-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.cs-top .lead { display: flex; align-items: center; gap: 8px; }
.cs .ic { width: 26px; height: 26px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; flex: none; }
.cs .ic svg { width: 14px; height: 14px; }
.cs .pill { display: inline-flex; gap: 2px; padding: 2px; border-radius: 999px; }
.cs-msgs { flex: 1; display: flex; flex-direction: column; gap: 9px; }
.cs .u { align-self: flex-end; max-width: 84%; padding: 8px 11px; border-radius: 16px; }
.cs .a { padding: 0 2px; }
.cs .a p + p { margin-top: 6px; }
.cs .a ul { margin: 4px 0 0 14px; }
.cs .a li { margin-bottom: 1px; }
.cs .app { display: flex; align-items: center; gap: 8px; padding: 7px 10px; border-radius: 12px; }
.cs .app .sun { width: 24px; height: 24px; border-radius: 7px; background: #FFF3D2 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 120'%3E%3Cpath d='M36 84 A24 24 0 0 1 84 84 Z' fill='%23FB8B24'/%3E%3Cline x1='20' y1='84' x2='100' y2='84' stroke='%23FB8B24' stroke-width='9' stroke-linecap='round'/%3E%3C/svg%3E") center / 15px no-repeat; flex: none; }
.cs .app b { display: block; font-size: 11px; line-height: 1.2; }
.cs .app small { font-size: 9.5px; opacity: .72; }
.cs-input { margin-top: 10px; display: flex; align-items: center; gap: 8px; }
.cs-input .field { flex: 1; display: flex; align-items: center; gap: 6px; padding: 6px 8px; border-radius: 999px; font-size: 11px; min-height: 32px; }
.cs-input .field .ic { width: 22px; height: 22px; }
.cs-input .right { margin-left: auto; }
.cs .send { width: 26px; height: 26px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; color: #fff; flex: none; }
.cs .send svg { width: 13px; height: 13px; }
.cs-home { width: 90px; height: 4px; border-radius: 999px; margin: 10px auto 0; }

/* Claude: ivory, serif replies, the input is a white card with the model chip */
.cs-claude { background: #F5F4EF; color: #1F1E1B; }
.cs-claude .ic { background: #fff; color: #3D3D3A; box-shadow: 0 1px 2px rgba(0,0,0,.06); }
.cs-claude .pill { background: #fff; box-shadow: 0 1px 2px rgba(0,0,0,.06); }
.cs-claude .pill .ic { box-shadow: none; }
.cs-claude .ic.plus { background: #1F1E1B; color: #fff; }
.cs-claude .u { background: #E8E8DF; }
.cs-claude .a { font-family: "Iowan Old Style", "Tiempos Text", Georgia, "Times New Roman", serif; font-size: 12.5px; line-height: 1.42; }
.cs-claude .app { background: #fff; box-shadow: 0 2px 10px rgba(0,0,0,.06); }
.cs-claude .cs-input.card { display: block; background: #fff; border-radius: 16px; padding: 9px 9px 8px 12px; box-shadow: 0 4px 16px rgba(0,0,0,.08); }
.cs-claude .cs-input .field { padding: 0; min-height: 0; color: #8B8A84; margin-bottom: 8px; }
.cs-claude .cs-input .row { display: flex; align-items: center; gap: 6px; }
.cs-claude .cs-input .row .ic { background: #F0EFEA; box-shadow: none; width: 24px; height: 24px; }
.cs-claude .chip { font-size: 10px; padding: 4px 9px; border-radius: 999px; background: #F0EFEA; color: #3D3D3A; }
.cs-claude .send { background: #DA7756; }
.cs-claude .cs-home { background: #1F1E1B; }

/* ChatGPT: white, blue user bubble, the action row under every reply */
.cs-gpt { background: #fff; color: #0D0D0D; }
.cs-gpt .ic { background: #F4F4F4; color: #0D0D0D; }
.cs-gpt .pill .ic { background: #F4F4F4; }
.cs-gpt .u { background: #E3F0FF; color: #1B64D8; }
.cs-gpt .a { font-size: 12px; }
.cs-gpt .acts { display: flex; gap: 9px; color: #8E8E8E; margin-top: -4px; }
.cs-gpt .acts svg { width: 12px; height: 12px; }
.cs-gpt .app { background: #F7F7F8; border: 1px solid #ECECEC; }
.cs-gpt .cs-input .field { background: #F4F4F4; color: #8E8E8E; }
.cs-gpt .cs-input .field .ic { background: transparent; }
.cs-gpt .cs-input .bare { background: transparent; }
.cs-gpt .send { background: #2E7DF6; }
.cs-gpt .cs-home { background: #0D0D0D; }

/* Gemini: dark, "Gemini Flash" title, blue voice button, a hint of blue at the foot */
.cs-gemini { background: linear-gradient(180deg, #131314 0%, #131314 88%, #14205C 100%); color: #E3E3E3; }
.cs-gemini .ic { background: #1E1F20; color: #E3E3E3; }
.cs-gemini .pill { background: #1E1F20; }
.cs-gemini .title { font-size: 13px; font-weight: 500; }
.cs-gemini .title span { color: #9AA0A6; font-weight: 400; }
.cs-gemini .title svg { width: 10px; height: 10px; vertical-align: middle; margin-left: 1px; color: #9AA0A6; }
.cs-gemini .u { background: #333537; }
.cs-gemini .a { font-size: 12px; }
.cs-gemini .app { background: #1E1F20; border: 1px solid #2B2C2E; }
.cs-gemini .app .sun { background-color: #2B2C2E; }
.cs-gemini .cs-input .field { background: #1E1F20; border: 1px solid #2B2C2E; color: #9AA0A6; padding: 5px 5px 5px 8px; }
.cs-gemini .cs-input .field .ic { background: transparent; }
.cs-gemini .send { background: #3B5FD9; }
.cs-gemini .cs-home { background: #E3E3E3; }

/* --- landing: "talk to your day" (copy left, one chat right) --- */
.agent { padding: 0 0 60px; }
.agent .panel { background: var(--card); border: 1px solid var(--border); border-radius: 24px; padding: 36px 32px; box-shadow: var(--shadow); display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 36px; align-items: center; }
.agent .eyebrow, .ai-hero .eyebrow { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--frog); background: #F0E7FB; border-radius: 999px; padding: 4px 11px; margin-bottom: 14px; }
.agent h2 { font-size: clamp(1.5rem, 4vw, 2.1rem); letter-spacing: -0.02em; line-height: 1.12; margin-bottom: 12px; }
.agent p { color: var(--ink-soft); margin-bottom: 14px; }
.agent .asks { list-style: none; margin: 0 0 22px; display: flex; flex-wrap: wrap; gap: 8px; }
.agent .asks li { font-size: 13px; color: var(--ink); background: var(--bg); border: 1px solid var(--border); border-radius: 999px; padding: 5px 12px; }
.agent .asks li::before { content: "“"; color: var(--ink-soft); }
.agent .asks li::after { content: "”"; color: var(--ink-soft); }
.agent .chat-phone { justify-self: center; }
@media (max-width: 800px) { .agent .panel { grid-template-columns: 1fr; padding: 28px 22px; } }

/* the one highlighted box in the "what's inside" grid: a violet-tinted banner
   with its own button, so it reads as the headline feature rather than one
   more row. icon | copy + assistant chips | button; stacks on phones. */
.feat.feat-ai { grid-column: 1 / -1; align-items: center; gap: 20px; padding: 24px 26px; border-radius: 22px; background: linear-gradient(135deg, #F3ECFD 0%, #FFFFFF 60%); border: 1px solid #D9C8F4; box-shadow: 0 1px 3px rgba(20,20,25,.05), 0 14px 34px -14px rgba(122,63,208,.35); }
.feat.feat-ai .fi { width: 56px; height: 56px; border-radius: 16px; font-size: 26px; color: #fff; background: linear-gradient(180deg, #9B5DE5, #7A3FD0); box-shadow: 0 8px 18px -8px rgba(122,63,208,.6); }
.feat-ai-copy { flex: 1 1 auto; }
.feat.feat-ai h4 { font-size: 19px; letter-spacing: -0.015em; margin-bottom: 5px; }
.feat.feat-ai p { font-size: 15px; max-width: 46em; }
.feat.feat-ai .works-with { justify-content: flex-start; margin: 12px 0 0; }
.feat.feat-ai .works-with li { font-size: 12px; padding: 4px 10px; }
.feat.feat-ai .btn { flex: none; white-space: nowrap; }
@media (max-width: 720px) { .feat.feat-ai { flex-wrap: wrap; } .feat.feat-ai .btn { width: 100%; justify-content: center; } }

/* the third badge in the download row: the AI assistant is a first-class way
   in, so it sits beside the App Store and Browser at the same size. A violet
   tint tells it apart from the plain Browser badge without competing with the
   primary App Store one. */
.btn-ai { background: #F0E7FB; border-color: #D9C8F4; color: #5a2ea6; }
.btn-ai:hover { background: #EADDFB; }
.btn-ai svg { color: var(--frog); }
.cta .panel .btn-ai { background: rgba(255, 255, 255, 0.14); color: #fff; border-color: rgba(255, 255, 255, 0.4); }
.cta .panel .btn-ai svg { color: #FFC93C; }

/* --- ai.html: landing half (wide), then the docs half (.doc) --- */
.ai-hero { padding: 36px 0 44px; text-align: center; }
.ai-hero h1 { font-size: clamp(2rem, 5vw, 3rem); line-height: 1.08; letter-spacing: -0.02em; font-weight: 800; margin-bottom: 16px; }
.ai-hero h1 .accent { color: var(--frog); }
.ai-hero .lede { font-size: clamp(1.02rem, 2.2vw, 1.18rem); color: var(--ink-soft); max-width: 36em; margin: 0 auto 26px; }
.ai-hero .downloads { justify-content: center; }
.ai-hero .downloads .btn { max-width: 240px; }
/* the "works with" chip row: ai.html's hero and the landing's highlighted box */
.works-with { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 10px; margin: 26px 0 0; }
.works-with li { font-size: 13px; font-weight: 600; color: var(--ink-soft); background: var(--card); border: 1px solid var(--border); border-radius: 999px; padding: 6px 13px; display: inline-flex; align-items: center; gap: 7px; }
.works-with .dot { width: 8px; height: 8px; border-radius: 50%; }
.works-with .dot.claude { background: #D97757; }
.works-with .dot.chatgpt { background: #10A37F; }
.works-with .dot.gemini { background: #4285F4; }
.works-with .dot.any { background: var(--frog); }
.ai-demo { padding: 0 0 60px; }
.ai-demo h2, .ai-can h2 { text-align: center; font-size: clamp(1.5rem, 4vw, 2.1rem); letter-spacing: -0.02em; margin-bottom: 12px; }
.ai-demo .sub, .ai-can .sub { text-align: center; color: var(--ink-soft); max-width: 560px; margin: 0 auto 34px; }
.ai-can { padding: 0 0 60px; }
.ai-setup-cta { text-align: center; margin-top: 30px; }
/* the docs half picks up .doc; this just anchors the hand-off */
.doc-divider { max-width: 720px; margin: 10px auto 0; padding: 0 24px; }
.doc-divider h2 { font-size: clamp(1.5rem, 4vw, 2rem); letter-spacing: -0.02em; margin-bottom: 6px; }
.doc-divider p { color: var(--ink-soft); }
