/* IceCalc site: the app's own colours and type (Open Sans). Light and dark follow the device. */
:root {
  --primary: #5B45A8;
  --primary-deep: #3E2C80;
  --accent: #03A9F4;
  --pink: #D9467A;
  --orange: #E07A2E;
  --teal: #26A69A;
  --blue: #3D9BE9;
  --page: #F4F2FA;
  --card: #FFFFFF;
  --tint: #EFEBFA;
  --text: #1F1B2E;
  --muted: #5F5A6E;
  --border: #E2DEF0;
  --link: #5B45A8;
  --danger: #C62828;
  --radius: 20px;
  --shadow: 0 10px 30px rgba(62, 44, 128, 0.12);
}
@media (prefers-color-scheme: dark) {
  :root {
    --page: #121016;
    --card: #1E1B26;
    --tint: #2C2546;
    --text: #ECEAF3;
    --muted: #B4AFC2;
    --border: #2E2A3A;
    --link: #B9A8F0;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  font: 17px/1.6 "Open Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--text);
  background: var(--page);
}
img { max-width: 100%; display: block; }
a { color: var(--link); }
h1, h2, h3 { line-height: 1.2; margin: 0; }
p { margin: 0; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 760px; }
.muted { color: var(--muted); }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; background: var(--card); padding: 8px 12px; border-radius: 8px; z-index: 10; }

/* ---- top bar ---- */
.topbar { position: sticky; top: 0; z-index: 5; background: rgba(91, 69, 168, 0.97); color: #fff; }
.topbar .wrap { display: flex; align-items: center; gap: 12px; min-height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font-weight: 700; font-size: 1.2rem; }
.brand img { width: 36px; height: 36px; border-radius: 10px; }
.topbar nav { margin-left: auto; display: flex; gap: 22px; align-items: center; }
.topbar nav a { color: #fff; text-decoration: none; font-weight: 600; font-size: .95rem; opacity: .92; }
.topbar nav a:hover { opacity: 1; text-decoration: underline; }
@media (max-width: 760px) { .topbar nav .hide-sm { display: none; } }

/* ---- buttons ---- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 12px 22px;
  border-radius: 28px; font-weight: 700; text-decoration: none; font-size: 1rem; border: 2px solid transparent; }
.btn-play { background: #fff; color: #1F1B2E; }
.btn-play:hover { background: #F4F2FA; }
.btn-ghost { color: #fff; border-color: rgba(255, 255, 255, .7); }
.btn-ghost:hover { background: rgba(255, 255, 255, .12); }
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-deep); }
.btn svg { flex: none; }
.topbar .btn { min-height: 40px; padding: 8px 16px; font-size: .9rem; }

/* ---- hero ---- */
.hero { background: linear-gradient(135deg, #5B45A8 0%, #4A63C9 55%, #03A9F4 100%); color: #fff; overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; padding-top: 64px; padding-bottom: 64px; }
.eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: .8rem; font-weight: 700; opacity: .9; }
.hero h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); margin-top: 12px; letter-spacing: -0.01em; }
.hero .lead { font-size: 1.2rem; margin-top: 18px; opacity: .95; max-width: 34em; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero .small { margin-top: 16px; font-size: .9rem; opacity: .88; }
.hero-phones { position: relative; display: flex; justify-content: center; gap: 18px; }
.hero-phones .phone:nth-child(2) { margin-top: 56px; }
@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: 1fr; padding-top: 40px; padding-bottom: 48px; }
  .hero-phones .phone:nth-child(2) { display: none; }
}

/* a screenshot in a phone-shaped frame */
.phone { width: 240px; border-radius: 34px; padding: 8px; background: #141220; box-shadow: 0 24px 60px rgba(20, 10, 60, .35); flex: none; }
.phone img { border-radius: 27px; width: 100%; height: auto; }
@media (max-width: 420px) { .phone { width: 200px; } }

/* ---- sections ---- */
section { padding: 72px 0; }
.section-head { max-width: 720px; margin-bottom: 36px; }
.section-head h2 { font-size: clamp(1.7rem, 3.4vw, 2.3rem); }
.section-head p { margin-top: 12px; color: var(--muted); font-size: 1.1rem; }
.kicker { color: var(--link); font-weight: 700; text-transform: uppercase; letter-spacing: .1em; font-size: .8rem; margin-bottom: 10px; }

/* benefits */
.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
@media (max-width: 900px) { .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .grid { grid-template-columns: 1fr; } }
.card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; }
.benefit h3 { font-size: 1.15rem; margin-top: 14px; }
.benefit p { margin-top: 8px; color: var(--muted); font-size: 1rem; }
.bubble { width: 48px; height: 48px; border-radius: 14px; display: flex; align-items: center; justify-content: center; color: #fff; }
.bubble svg { width: 26px; height: 26px; }
.c-pink { background: var(--pink); } .c-orange { background: var(--orange); } .c-blue { background: var(--blue); }
.c-primary { background: var(--primary); } .c-teal { background: var(--teal); } .c-accent { background: var(--accent); }
.c-deep { background: var(--primary-deep); }

/* journeys */
.journey { display: grid; grid-template-columns: 1fr 280px; gap: 48px; align-items: center; padding: 40px 0; border-top: 1px solid var(--border); }
.journey:first-of-type { border-top: 0; }
.journey.flip { grid-template-columns: 280px 1fr; }
.journey.flip .journey-text { order: 2; }
.journey h3 { font-size: 1.6rem; }
.journey .journey-text > p { margin-top: 12px; color: var(--muted); font-size: 1.05rem; }
.steps { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 12px; counter-reset: step; }
.steps li { position: relative; padding-left: 44px; counter-increment: step; }
.steps li::before { content: counter(step); position: absolute; left: 0; top: 0; width: 30px; height: 30px; border-radius: 50%;
  background: var(--tint); color: var(--link); font-weight: 700; display: flex; align-items: center; justify-content: center; font-size: .9rem; }
.steps strong { display: block; }
.steps span { color: var(--muted); font-size: .98rem; }
.journey .phone { width: 260px; margin: 0 auto; }
@media (max-width: 860px) {
  .journey, .journey.flip { grid-template-columns: 1fr; gap: 28px; }
  .journey.flip .journey-text { order: 0; }
}

/* path to financial freedom */
.path { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 10px; margin-top: 8px; }
.path li { list-style: none; background: var(--card); border: 1px solid var(--border); border-radius: 16px; padding: 16px 14px; }
.path .n { display: inline-flex; width: 28px; height: 28px; border-radius: 50%; background: var(--teal); color: #fff; font-weight: 700;
  align-items: center; justify-content: center; font-size: .85rem; }
.path strong { display: block; margin-top: 10px; font-size: .98rem; line-height: 1.3; }
.path span { display: block; margin-top: 6px; color: var(--muted); font-size: .88rem; line-height: 1.4; }
ol.path { padding: 0; margin: 0; }
@media (max-width: 1000px) { .path { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .path { grid-template-columns: 1fr; } }

/* gallery */
.gallery { display: flex; gap: 18px; overflow-x: auto; padding: 8px 4px 24px; scroll-snap-type: x mandatory; }
.gallery figure { margin: 0; scroll-snap-align: start; flex: none; }
.gallery .phone { width: 220px; }
.gallery figcaption { text-align: center; margin-top: 12px; font-weight: 600; font-size: .95rem; }

/* privacy band */
.band { background: var(--primary-deep); color: #fff; }
.band .grid .card { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .18); }
.band h2, .band h3 { color: #fff; }
.band .section-head p, .band .card p { color: rgba(255, 255, 255, .85); }
.band .kicker { color: #B9A8F0; }
.band a { color: #fff; }

/* faq */
.faq details { background: var(--card); border: 1px solid var(--border); border-radius: 16px; padding: 18px 22px; margin-bottom: 12px; }
.faq summary { font-weight: 700; cursor: pointer; font-size: 1.05rem; }
.faq details p { margin-top: 10px; color: var(--muted); }

/* call to action */
.cta { text-align: center; }
.cta .card { padding: 48px 24px; background: linear-gradient(135deg, #5B45A8, #03A9F4); color: #fff; border: 0; }
.cta h2 { font-size: clamp(1.7rem, 3.4vw, 2.3rem); }
.cta p { margin: 12px auto 0; max-width: 34em; opacity: .95; }
.cta .btn { margin-top: 24px; }

/* footer */
footer.site { padding: 40px 0 56px; color: var(--muted); font-size: .95rem; }
footer.site .wrap { display: flex; flex-wrap: wrap; gap: 16px 28px; align-items: center; justify-content: space-between; }
footer.site nav { display: flex; flex-wrap: wrap; gap: 18px; }

/* ---- document pages (privacy, delete account) ---- */
.doc-head { background: linear-gradient(135deg, #5B45A8, #03A9F4); color: #fff; padding: 40px 0; }
.doc-head h1 { font-size: clamp(1.8rem, 4vw, 2.4rem); }
.doc-head p { margin-top: 8px; opacity: .92; }
.doc { padding: 32px 0 56px; }
.doc .card { margin-bottom: 16px; }
.doc h2 { font-size: 1.2rem; color: var(--link); margin: 1.6em 0 .5em; }
.doc .card > h2:first-child { margin-top: 0; }
.doc p + p { margin-top: .8em; }
.doc ul { padding-left: 1.2em; }
.doc li { margin: .3em 0; }
label { display: block; font-size: .92rem; color: var(--muted); margin: 14px 0 6px; }
input { width: 100%; min-height: 48px; padding: 12px; font: inherit; border: 1px solid var(--border); border-radius: 12px; background: var(--page); color: var(--text); }
button { font: inherit; font-weight: 700; min-height: 48px; padding: 12px 18px; border-radius: 26px; border: 2px solid transparent; cursor: pointer; margin-top: 14px; width: 100%; }
button.primary { background: #5B45A8; color: #fff; }
button.google { background: #fff; color: #1F1F1F; border-color: #747775; display: flex; align-items: center; justify-content: center; gap: 10px; }
button.danger { background: var(--danger); color: #fff; }
button.secondary { background: transparent; color: var(--link); border-color: var(--link); }
button:disabled { opacity: .6; cursor: default; }
.or { text-align: center; color: var(--muted); font-size: .92rem; margin-top: 14px; }
.msg { margin-top: 14px; }
.msg.error { color: var(--danger); }
.hidden { display: none; }

/* landing page */
.section-head + .journey { border-top: 0; }
.topbar nav a.btn-play { color: #1F1B2E; opacity: 1; }
.topbar nav a.btn-play:hover { text-decoration: none; }

/* QR code to the Play listing: for desktop visitors, hidden on phones and touch screens */
.qr { display: flex; align-items: center; gap: 14px; margin-top: 24px; }
.qr img { width: 96px; height: 96px; padding: 6px; background: #fff; border-radius: 12px; flex: none; }
.qr p { font-size: .92rem; max-width: 15em; opacity: .92; margin: 0; }
.cta .card { position: relative; }
.qr-corner { justify-content: center; }
@media (min-width: 1100px) {
  .cta .card { padding: 64px 24px; }
  .qr-corner { position: absolute; left: 48px; top: 50%; transform: translateY(-50%); margin: 0; flex-direction: column; gap: 10px; }
  .qr-corner img { width: 150px; height: 150px; padding: 8px; border-radius: 16px; }
  .qr-corner p { margin: 0; text-align: center; max-width: 11em; }
}
@media (max-width: 760px), (pointer: coarse) { .qr { display: none; } }

/* richer feature rows */
.journey .note { margin-top: 16px; color: var(--muted); font-size: .98rem; }
.ticks { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 28px; color: var(--muted); }
.ticks li::before { content: ""; position: absolute; left: 4px; top: .45em; width: 12px; height: 7px;
  border-left: 2.5px solid var(--teal); border-bottom: 2.5px solid var(--teal); transform: rotate(-45deg); }
.ticks strong { color: var(--text); }
.tag { display: inline-block; vertical-align: middle; background: var(--tint); color: var(--link); font-size: .72rem; font-weight: 700;
  letter-spacing: .06em; text-transform: uppercase; padding: 3px 9px; border-radius: 999px; margin-right: 4px; }
.journey h3 .tag { margin: 0 0 0 8px; }
.more { margin-top: 32px; }
.more h3 { margin-top: 0; }
.path-note { margin-top: 16px; font-size: .92rem; }
