/* Idealize site: the 2.0 look. Soft sky by day, sunset at the bottom, deep blue night with a few stars. */
:root {
  --sky-top: #C9DFF3;
  --sky-mid: #DCE8F3;
  --sky-low: #EBE6E4;
  --sunset: #F6DAC7;
  --paper: #F7F4EF;
  --card: rgba(255, 255, 255, 0.72);
  --card-solid: #FFFFFF;
  --line: rgba(31, 58, 82, 0.1);
  --ink: #1F3A52;
  --ink-2: #4E6377;
  --ink-3: #7A8A99;
  --blue: #3D8BD6;
  --green: #2F5D46;
  --green-ink: #FFFFFF;
  --warm: #E98A5B;
  --glow: rgba(255, 255, 255, 0.65);
  --shadow: 0 30px 60px -30px rgba(31, 58, 82, 0.35);
  --round: ui-rounded, "SF Pro Rounded", "Nunito", system-ui, -apple-system, sans-serif;
  --text: -apple-system, BlinkMacSystemFont, "Inter", system-ui, sans-serif;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --sky-top: #16304D;
    --sky-mid: #10243A;
    --sky-low: #0E1F33;
    --sunset: #0C1A2B;
    --paper: #0B1726;
    --card: rgba(22, 44, 70, 0.66);
    --card-solid: #13263C;
    --line: rgba(220, 235, 250, 0.1);
    --ink: #EAF2FA;
    --ink-2: #B4C4D4;
    --ink-3: #8195A8;
    --blue: #8CC2F2;
    --green: #3F7A5C;
    --warm: #F0A27A;
    --glow: rgba(156, 203, 242, 0.08);
    --shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.6);
  }
}
:root[data-theme="dark"] {
  --sky-top: #16304D; --sky-mid: #10243A; --sky-low: #0E1F33; --sunset: #0C1A2B; --paper: #0B1726;
  --card: rgba(22, 44, 70, 0.66); --card-solid: #13263C; --line: rgba(220, 235, 250, 0.1);
  --ink: #EAF2FA; --ink-2: #B4C4D4; --ink-3: #8195A8; --blue: #8CC2F2; --green: #3F7A5C; --warm: #F0A27A;
  --glow: rgba(156, 203, 242, 0.08); --shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.6);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--text);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 24px; }
@media (max-width: 600px) { .wrap { padding: 0 16px; } }

h1, h2, h3, .round { font-family: var(--round); letter-spacing: -0.02em; }
h1 { font-size: clamp(44px, 7vw, 84px); line-height: 1; font-weight: 800; }
h2 { font-size: clamp(32px, 4.6vw, 54px); line-height: 1.05; font-weight: 800; }
h3 { font-size: 22px; line-height: 1.2; font-weight: 700; }
.lead { font-size: clamp(18px, 2vw, 22px); color: var(--ink-2); line-height: 1.45; }
.muted { color: var(--ink-2); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--round); font-weight: 800; font-size: 13px; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--blue);
}
.eyebrow svg { width: 14px; height: 14px; }

/* Sky backdrop shared by the hero and the closing call */
.sky {
  position: relative; isolation: isolate; overflow: hidden;
  background: linear-gradient(var(--sky-top) 0%, var(--sky-mid) 42%, var(--sky-low) 72%, var(--sunset) 100%);
}
.sky::before {
  content: ""; position: absolute; inset: -20% -10% auto; height: 120%; z-index: -1;
  background: radial-gradient(closest-side, var(--glow), transparent);
  animation: wander 46s ease-in-out infinite alternate;
}
@keyframes wander { from { transform: translateX(-12%); } to { transform: translateX(12%); } }
.cloud {
  position: absolute; z-index: -1; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255, 255, 255, 0.6), rgba(255, 255, 255, 0));
  animation: drift linear infinite;
}
@keyframes drift { from { transform: translateX(-30vw); } to { transform: translateX(110vw); } }
.stars { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; display: none; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .stars { display: block; } :root:not([data-theme="light"]) .cloud { display: none; } }
:root[data-theme="dark"] .stars { display: block; }
:root[data-theme="dark"] .cloud { display: none; }

/* Nav */
.nav { position: absolute; top: 0; left: 0; right: 0; z-index: 10; }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--round); font-weight: 800; font-size: 21px; }
.brand img { width: 34px; height: 34px; border-radius: 9px; box-shadow: 0 4px 10px -4px rgba(31, 58, 82, 0.4); }
.nav nav { display: flex; align-items: center; gap: 28px; font-size: 15px; font-weight: 500; }
.nav nav a { text-decoration: none; color: var(--ink-2); }
.nav nav a:hover { color: var(--ink); }
@media (max-width: 760px) { .nav nav a:not(.btn) { display: none; } }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px; border-radius: 999px; border: 0;
  font-family: var(--round); font-weight: 700; font-size: 17px; text-decoration: none; cursor: pointer;
  background: var(--green); color: var(--green-ink) !important;
  box-shadow: 0 14px 30px -14px rgba(47, 93, 70, 0.7);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 18px 34px -14px rgba(47, 93, 70, 0.8); }
.btn svg { width: 20px; height: 20px; }
.btn.small { min-height: 40px; padding: 0 18px; font-size: 15px; }
.btn.ghost {
  background: var(--card-solid); color: var(--ink) !important; border: 1px solid var(--line);
  box-shadow: 0 14px 30px -18px rgba(31, 58, 82, 0.45);
}
.btn.ghost:hover { box-shadow: 0 18px 34px -16px rgba(31, 58, 82, 0.55); }
.btn.ghost svg { width: 16px; height: 16px; color: var(--blue); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.center .btn-row, .closing .btn-row { justify-content: center; }
@media (max-width: 900px) { .hero .btn-row { justify-content: center; } }
@media (max-width: 460px) { .nav .btn.ghost { display: none; } .btn-row { flex-direction: column; align-items: stretch; max-width: 340px; margin: 0 auto; } }
.store-note { font-size: 14px; color: var(--ink-3); margin-top: 14px; }

/* Hero */
.hero { padding: 132px 0 0; }
.hero .wrap { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 40px; align-items: center; }
.hero h1 { margin: 22px 0 22px; }
.hero .lead { max-width: 30ch; }
.hero .cta { margin-top: 34px; }
.hero-art { position: relative; height: 640px; }
.hero-art .phone { position: absolute; left: 50%; bottom: -60px; transform: translateX(-46%) rotate(3deg); width: 300px; }
.hero-art .peek { position: absolute; width: 150px; left: -4%; bottom: 120px; transform: rotate(-6deg); filter: drop-shadow(0 18px 24px rgba(31, 58, 82, 0.25)); animation: bob 6s ease-in-out infinite; }
@keyframes bob { 0%, 100% { transform: rotate(-6deg) translateY(0); } 50% { transform: rotate(-4deg) translateY(-10px); } }
@media (max-width: 900px) {
  .hero { padding-top: 108px; }
  .hero .wrap { grid-template-columns: 1fr; text-align: center; }
  .hero .lead { margin: 0 auto; }
  .hero-art { height: 470px; }
  .hero-art .phone { width: 240px; bottom: -70px; }
  .hero-art .peek { width: 110px; left: calc(50% - 190px); bottom: 90px; }
}

/* Glass bubble, the app's home bubble */
.orb {
  position: absolute; border-radius: 50%;
  background: radial-gradient(circle at 40% 32%, #F5FAFF 0%, #CFE5F7 38%, #9CC6EC 78%, #7DAEDD 100%);
  box-shadow: inset 0 0 0 3px rgba(255, 255, 255, 0.7), inset 0 -18px 30px -10px rgba(247, 213, 188, 0.55), 0 24px 44px -24px rgba(31, 58, 82, 0.3);
  animation: sway 5.3s ease-in-out infinite alternate;
}
.orb::after { content: ""; position: absolute; left: 18%; top: 15%; width: 30%; height: 11%; border-radius: 50%; background: rgba(255, 255, 255, 0.75); transform: rotate(-32deg); }
@keyframes sway { from { transform: translate(-4px, 6px) rotate(-0.8deg); } to { transform: translate(4px, -6px) rotate(0.8deg); } }

/* Phone frame */
.phone { border-radius: 46px; padding: 9px; background: #10161D; box-shadow: var(--shadow), 0 0 0 1px rgba(255, 255, 255, 0.08) inset; }
.phone img { border-radius: 38px; width: 100%; height: auto; aspect-ratio: 1206 / 2622; object-fit: cover; }

/* Sections */
section { position: relative; }
.band { padding: 120px 0; }
@media (max-width: 700px) { .band { padding: 84px 0; } }
.center { text-align: center; }
.center .lead { margin: 18px auto 0; max-width: 40ch; }

/* The full head */
.head-full { background: var(--paper); overflow: hidden; }
.thoughts { position: relative; height: 300px; margin: 50px auto 0; max-width: 900px; }
.thought {
  position: absolute; white-space: nowrap; padding: 12px 20px; border-radius: 999px;
  background: var(--card-solid); border: 1px solid var(--line); box-shadow: 0 12px 28px -18px rgba(31, 58, 82, 0.45);
  font-family: var(--round); font-weight: 700; font-size: 16px; color: var(--ink);
  animation: float 7s ease-in-out infinite alternate;
}
.thought span { color: var(--ink-3); font-weight: 600; margin-left: 6px; }
@keyframes float { from { transform: translateY(-6px); } to { transform: translateY(8px); } }
@media (max-width: 700px) {
  .thoughts { height: auto; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
  .thought { position: static; font-size: 14px; padding: 10px 16px; }
}

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 64px; }
.step { background: var(--card); border: 1px solid var(--line); border-radius: 32px; padding: 30px 26px 0; overflow: hidden; display: flex; flex-direction: column; backdrop-filter: blur(10px); }
.step .num { font-family: var(--round); font-weight: 800; color: var(--blue); font-size: 15px; letter-spacing: 0.1em; }
.step h3 { margin: 10px 0 8px; }
.step p { color: var(--ink-2); font-size: 16px; }
.step .phone { margin: 28px auto -120px; width: 78%; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr; max-width: 440px; margin-left: auto; margin-right: auto; } }

/* Feature rows */
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.feature + .feature { margin-top: 120px; }
.feature.flip .text { order: 2; }
.feature .text h2 { margin: 16px 0 18px; }
.feature .text ul { list-style: none; margin-top: 24px; display: grid; gap: 14px; }
.feature .text li { display: flex; gap: 12px; color: var(--ink-2); }
.feature .text li::before { content: ""; flex: none; width: 10px; height: 10px; margin-top: 8px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #F5FAFF, #9CC6EC 70%, #7DAEDD); box-shadow: 0 0 0 1px rgba(125, 174, 221, 0.6); }
.feature .art { position: relative; display: flex; justify-content: center; gap: 22px; }
.feature .art .phone { width: 270px; }
.feature .art .phone.second { width: 230px; margin-top: 70px; }
.feature .art .buddy { position: absolute; width: 120px; right: 4%; bottom: -30px; filter: drop-shadow(0 14px 18px rgba(31, 58, 82, 0.25)); }
@media (max-width: 900px) {
  .feature { grid-template-columns: 1fr; gap: 44px; text-align: center; }
  .feature.flip .text { order: 0; }
  .feature .text li { text-align: left; }
  .feature .text ul { max-width: 420px; margin-left: auto; margin-right: auto; }
  .feature .art .phone { width: 210px; }
  .feature .art .phone.second { width: 180px; margin-top: 50px; }
  .feature .art .buddy { width: 90px; right: 0; }
}
.tint { background: linear-gradient(var(--paper), color-mix(in srgb, var(--sky-top) 45%, var(--paper)) 50%, var(--paper)); }

/* Pricing */
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 56px; max-width: 880px; margin-left: auto; margin-right: auto; }
.plan { border-radius: 32px; padding: 36px 32px; background: var(--card-solid); border: 1px solid var(--line); text-align: left; }
.plan.pro { background: linear-gradient(160deg, #DCEBF8, #F6E3D6); border: 0; color: #1F3A52; }
.plan .tag { font-family: var(--round); font-weight: 800; font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-3); }
.plan.pro .tag { color: #3D8BD6; }
.plan h3 { font-size: 28px; margin: 8px 0 6px; }
.plan > p { color: var(--ink-2); }
.plan.pro > p { color: #4E6377; }
.plan ul { list-style: none; margin-top: 22px; display: grid; gap: 12px; }
.plan li { display: flex; gap: 10px; font-size: 16px; }
.plan li svg { flex: none; width: 20px; height: 20px; margin-top: 3px; color: var(--green); }
.plan.pro li svg { color: #2F5D46; }
.week-free {
  display: inline-flex; align-items: center; gap: 10px; margin-top: 26px; padding: 10px 20px; border-radius: 999px;
  background: var(--card-solid); border: 1px solid var(--line); font-family: var(--round); font-weight: 700;
}
.week-free b { color: var(--green); }
@media (max-width: 760px) { .plans { grid-template-columns: 1fr; } }

/* FAQ */
.faq { max-width: 760px; margin: 48px auto 0; display: grid; gap: 12px; }
.faq details { background: var(--card-solid); border: 1px solid var(--line); border-radius: 22px; padding: 0 24px; }
.faq summary { list-style: none; cursor: pointer; padding: 20px 0; font-family: var(--round); font-weight: 700; font-size: 18px; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 24px; line-height: 1; color: var(--ink-3); transition: transform 0.2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--ink-2); padding-bottom: 22px; }

/* Closing */
.closing { padding: 130px 0 150px; text-align: center; }
.closing .orb-wrap { position: relative; width: 190px; height: 190px; margin: 0 auto 40px; }
.closing .orb { inset: 0; }
.closing .orb svg { position: absolute; left: 50%; top: 50%; width: 46px; height: 46px; transform: translate(-50%, -50%); filter: drop-shadow(0 0 12px rgba(255, 255, 255, 0.9)); z-index: 1; }
.closing h2 { font-size: clamp(40px, 6vw, 72px); }
.closing .lead { margin: 20px auto 36px; max-width: 34ch; }

/* Footer */
footer { padding: 56px 0 64px; border-top: 1px solid var(--line); font-size: 15px; color: var(--ink-2); }
footer .wrap { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; align-items: flex-start; }
footer .links { display: flex; gap: 28px; flex-wrap: wrap; }
footer a { text-decoration: none; }
footer a:hover { color: var(--ink); }
footer .small { font-size: 13px; color: var(--ink-3); margin-top: 10px; max-width: 46ch; }

/* Plain pages (privacy, terms, support) */
.page-head { padding: 140px 0 70px; }
.page-head h1 { font-size: clamp(40px, 6vw, 64px); }
.page-head p { margin-top: 14px; }
.doc { max-width: 760px; margin: 0 auto; padding: 64px 24px 110px; }
.doc h2 { font-size: 26px; margin: 48px 0 14px; }
.doc h3 { font-size: 19px; margin: 30px 0 10px; }
.doc p, .doc li { color: var(--ink-2); margin-bottom: 12px; }
.doc ul { padding-left: 22px; margin-bottom: 16px; }
.doc a { color: var(--blue); }
.doc .card { background: var(--card-solid); border: 1px solid var(--line); border-radius: 26px; padding: 30px; margin: 20px 0 34px; }
.doc .card p:last-child { margin-bottom: 0; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.8s ease, transform 0.8s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }

/* Phone-width fixes */
.feature > *, .hero .wrap > * { min-width: 0; }
@media (max-width: 600px) {
  .eyebrow { font-size: 11px; letter-spacing: 0.12em; }
  .hero-art { height: 430px; }
  .hero-art .phone { width: 210px; }
  .hero-art .peek { width: 96px; left: calc(50% - 170px); bottom: 70px; }
  .feature .art { gap: 12px; }
  .feature .art .phone { width: 46%; max-width: 200px; }
  .feature .art .phone.second { width: 40%; margin-top: 40px; }
  .feature .art .phone:only-child, .feature .art .phone:first-child:nth-last-child(2) { width: 60%; }
  .feature .art .phone:first-child:nth-last-child(2):has(+ .phone) { width: 46%; }
  .feature .art .buddy { width: 76px; }
  .thought { white-space: normal; animation: none; }
  .thoughts { gap: 12px 10px; }
}

.page-head .wrap { max-width: 808px; }
