/* pocketsim.co — Centrail's product-page grammar (label · two-tone headline · numbered steps ·
   bordered grid) in PocketSim's own palette: the app's night ground and its ledger colours. */
:root {
  --bg: #0b0b1a; --bg-2: #0f0f20; --card: #141424; --line: #ffffff14; --line-2: #ffffff22;
  --ink: #f1f1f7; --muted: #a3a3bb; --faint: #75758f;
  --green: #00e676; --blue: #448aff; --purple: #a855f7; --red: #f05252; --yellow: #f5b82e; --orange: #fb8a3c;
  --leather: #c8703f;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", system-ui, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased; font-size: 16px; line-height: 1.5;
  background-image: radial-gradient(1100px 600px at 78% -10%, #00e67614, transparent 60%), radial-gradient(900px 500px at -10% 30%, #448aff0f, transparent 60%);
  background-repeat: no-repeat;
}
a { color: inherit; text-underline-offset: 4px; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--green); outline-offset: 4px; border-radius: 6px; }
[id] { scroll-margin-top: 24px; }
.wrap { max-width: 1120px; margin-inline: auto; padding-inline: 40px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; background: var(--ink); color: var(--bg); padding: 8px 12px; border-radius: 8px; z-index: 10; }

.g { color: var(--green); } .b { color: var(--blue); } .p { color: var(--purple); }
.r { color: var(--red); } .y { color: var(--yellow); } .o { color: var(--orange); }

.label { font-size: 11px; text-transform: uppercase; letter-spacing: 1.65px; color: var(--muted); line-height: 1.6; display: flex; align-items: center; gap: 8px; }
.dot { width: 6px; height: 6px; border-radius: 50%; background: var(--green); box-shadow: 0 0 12px var(--green); }

/* Bar */
.bar { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: 26px; font-size: 14px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 650; letter-spacing: -.6px; font-size: 21px; text-decoration: none; }
.brand img { border-radius: 8px; background: #fff; }
.bar nav { display: flex; align-items: center; gap: 26px; color: var(--muted); }
.bar nav a { text-decoration: none; transition: color .15s; }
.bar nav a:hover { color: var(--ink); }
.navCta { color: var(--ink); border: 1px solid var(--line-2); padding: 7px 14px; border-radius: 999px; }

/* Hero */
.hero { display: grid; grid-template-columns: 1.15fr 1fr; gap: 40px; align-items: center; padding-block: 48px 72px; }
h1 { font-size: clamp(44px, 5.6vw, 74px); font-weight: 560; letter-spacing: -.035em; line-height: 1.02; margin: 20px 0 24px; text-wrap: balance; }
h1 span, h2 span { background: linear-gradient(100deg, var(--green), #6ef0b0 55%, var(--blue)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.intro { max-width: 470px; color: var(--muted); font-size: 18px; line-height: 1.7; margin: 0 0 30px; }
.ctaRow { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; }
.store { display: inline-flex; align-items: center; gap: 34px; justify-content: space-between; background: var(--ink); color: var(--bg); text-decoration: none; padding: 12px 20px 12px 22px; border-radius: 14px; font-weight: 600; font-size: 19px; letter-spacing: -.3px; line-height: 1.1; transition: transform .18s, box-shadow .18s; }
.store small { display: block; font-size: 11px; font-weight: 500; letter-spacing: .1px; opacity: .7; }
.store:hover { transform: translateY(-2px); box-shadow: 0 10px 30px -10px #00e67680; }
.free { font-size: 13px; color: var(--muted); }
.reassurance { font-size: 12px; color: var(--faint); margin: 26px 0 0; }
.reassurance i { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--leather); margin-right: 8px; vertical-align: 1px; }

/* Phone: the app's Timeline, rebuilt in markup */
.phoneWrap { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 16px; }
.phone { width: 330px; padding: 11px; border-radius: 54px; background: linear-gradient(145deg, #2a2a3a, #12121c 40%, #26263a); box-shadow: 0 0 0 1px #ffffff1a, 0 40px 80px -30px #000, 0 0 120px -40px #00e67640; transform: rotate(2deg); }
.screen { position: relative; border-radius: 44px; background: #07070f; padding: 46px 14px 18px; overflow: hidden; font-size: 12.5px; }
.island { position: absolute; top: 12px; left: 50%; translate: -50% 0; width: 92px; height: 26px; border-radius: 20px; background: #000; }
.screenTitle { text-align: center; font-weight: 650; font-size: 14px; padding-bottom: 10px; border-bottom: 1px solid var(--line); margin: 0 -14px 10px; }
.chips { display: flex; gap: 5px; overflow-x: auto; scrollbar-width: none; margin-bottom: 8px; }
.chips button { flex: none; font: inherit; font-size: 11px; font-weight: 650; color: #8a8aa3; background: #16162a; border: 1px solid #ffffff12; border-radius: 999px; padding: 5px 9px; cursor: pointer; }
.chips button[aria-selected="true"] { color: var(--green); border-color: var(--green); background: #00e67612; }
.monthOf { text-align: center; font-size: 10.5px; letter-spacing: 2px; text-transform: uppercase; color: #8a8aa3; font-weight: 650; margin: 10px 0 2px; }
.group { font-size: 9.5px; letter-spacing: 1.4px; text-transform: uppercase; color: #74748c; margin: 10px 2px 5px; font-weight: 600; }
.row { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; background: var(--card); border-radius: 10px; padding: 9px 11px; margin-bottom: 5px; color: #d6d6e4; }
.row b { font-weight: 650; text-align: right; font-variant-numeric: tabular-nums; }
.row small { display: block; font-size: 10px; color: #7b7b94; font-weight: 500; margin-top: 2px; }
.row.strong { font-weight: 650; color: var(--ink); padding-block: 11px; }
.row.strong b { font-size: 16px; }
.row.lg { border-left: 3px solid var(--green); } .row.lb { border-left: 3px solid var(--blue); }
.row.end { margin-top: 12px; }
.tick [data-out] { animation: tick .35s ease-out; }
@keyframes tick { from { opacity: .2; translate: 0 3px; } to { opacity: 1; translate: 0 0; } }
.phoneWrap figcaption { font-size: 12px; color: var(--faint); text-align: center; max-width: 300px; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 42px; padding-block: 34px 52px; border-top: 1px solid var(--line); }
.num { font-size: 11px; letter-spacing: 1px; color: var(--green); font-variant-numeric: tabular-nums; }
.steps h2 { font-size: 19px; font-weight: 600; letter-spacing: -.4px; margin: 12px 0 8px; }
.steps p { font-size: 14px; color: var(--muted); line-height: 1.8; margin: 0; }

/* Section heading + grid */
.tracks, .pricing { border-top: 1px solid var(--line); padding-block: 44px 48px; }
.sectionHeading { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 26px; }
.sectionHeading h2 { font-size: clamp(28px, 3.4vw, 36px); font-weight: 560; letter-spacing: -.9px; line-height: 1.15; margin: 10px 0 0; }
.sectionHeading > p { font-size: 14px; line-height: 1.7; color: var(--muted); max-width: 310px; margin: 0; }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.grid article, .plan, .compare { border: 1px solid var(--line); border-radius: 16px; background: linear-gradient(180deg, #ffffff07, #ffffff02); }
.grid article { padding: 22px; transition: border-color .2s, translate .2s; }
.grid article:hover { border-color: var(--line-2); translate: 0 -2px; }
.glyph { display: block; height: 30px; font-size: 19px; font-weight: 650; letter-spacing: -.5px; font-variant-numeric: tabular-nums; }
.grid h3 { font-size: 15px; font-weight: 600; margin: 8px 0 6px; letter-spacing: -.2px; }
.grid p { font-size: 13px; color: var(--muted); line-height: 1.8; margin: 0; }

/* What if */
.whatif { display: grid; grid-template-columns: 1fr 1.25fr; gap: 56px; align-items: center; border-top: 1px solid var(--line); padding-block: 56px; }
.whatif h2 { font-size: clamp(38px, 4.6vw, 56px); font-weight: 560; letter-spacing: -1.6px; line-height: 1.05; margin: 14px 0 18px; }
.whatif p { color: var(--muted); font-size: 16px; line-height: 1.75; margin: 0; max-width: 420px; }
.compare { padding: 8px 22px 18px; font-size: 14px; }
.compareHead, .compareRow { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 12px; align-items: baseline; padding-block: 14px; }
.compareHead { font-size: 11px; text-transform: uppercase; letter-spacing: 1.2px; color: var(--faint); border-bottom: 1px solid var(--line); }
.compareHead span:not(:first-child), .compareRow b { text-align: right; }
.compareHead span:last-child { color: var(--green); }
.compareRow { border-bottom: 1px solid var(--line); color: var(--muted); }
.compareRow b { color: var(--ink); font-weight: 600; font-size: 17px; font-variant-numeric: tabular-nums; }
.compareRow b.g { color: var(--green); }
.whatif .compareNote { font-size: 12px; color: var(--faint); margin-top: 14px; max-width: none; }

/* Pricing */
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.plan { padding: 26px; }
.plan h3 { margin: 0; font-size: 15px; font-weight: 600; color: var(--muted); }
.price { font-size: 44px; font-weight: 600; letter-spacing: -1.5px; margin: 6px 0 14px; }
.price small { font-size: 15px; color: var(--muted); letter-spacing: 0; font-weight: 500; }
.plan ul { list-style: none; margin: 0; padding: 0; }
.plan li { display: flex; justify-content: space-between; border-top: 1px solid var(--line); padding-block: 11px; font-size: 14px; color: var(--muted); }
.plan li b { color: var(--ink); font-weight: 600; }
.premium { border-color: #a855f766; background: linear-gradient(180deg, #a855f714, #a855f705); box-shadow: 0 30px 80px -50px var(--purple); }
.premium h3 { color: var(--purple); }

/* Document pages: privacy, support */
.doc { padding-block: 40px 64px; max-width: 820px; }
.doc h1 { font-size: clamp(40px, 5vw, 60px); margin: 16px 0 14px; }
.docMeta { color: var(--faint); font-size: 13px; margin: 0; }
.docLead { color: var(--muted); font-size: 18px; line-height: 1.7; margin: 0 0 28px; max-width: 560px; }
.docHead { padding-bottom: 32px; border-bottom: 1px solid var(--line); margin-bottom: 8px; }
.docBody { color: var(--muted); font-size: 15px; line-height: 1.8; }
.docBody h2 { color: var(--ink); font-size: 20px; font-weight: 600; letter-spacing: -.3px; margin: 34px 0 8px; }
.docBody strong, .faq strong { color: var(--ink); font-weight: 600; }
.docBody ul { padding-left: 20px; } .docBody li { margin-bottom: 6px; }
.docBody a, .faq a, .free a { color: var(--green); }
.faq details { border-bottom: 1px solid var(--line); padding-block: 18px; }
.faq summary { cursor: pointer; font-size: 17px; font-weight: 600; letter-spacing: -.2px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--green); font-weight: 500; font-size: 20px; line-height: 1; }
.faq details[open] summary::after { content: "−"; }
.faq p { color: var(--muted); font-size: 15px; line-height: 1.8; margin: 12px 0 0; max-width: 680px; }
.bar nav a[aria-current="page"], .foot nav a[aria-current="page"] { color: var(--ink); }

/* Closer + footer */
.closer { border-top: 1px solid var(--line); padding-block: 72px; display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 30px; }
.closer h2 { font-size: clamp(36px, 5vw, 64px); font-weight: 560; letter-spacing: -1.8px; line-height: 1.04; margin: 0; }
.foot { border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 28px; padding-block: 26px 40px; font-size: 12px; color: var(--faint); }
.footBrand { display: flex; align-items: center; gap: 10px; }
.footBrand img { border-radius: 6px; background: #fff; }
.foot nav { display: flex; gap: 22px; flex-wrap: wrap; }
.foot nav a { text-decoration: none; } .foot nav a:hover { color: var(--ink); }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; gap: 56px; padding-top: 28px; }
  .phone { transform: none; }
  .whatif { grid-template-columns: 1fr; gap: 32px; }
  .grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 680px) {
  .wrap { padding-inline: 20px; }
  .bar nav a:not(.navCta) { display: none; }
  .steps { grid-template-columns: 1fr; gap: 26px; }
  .sectionHeading { flex-direction: column; align-items: start; gap: 12px; }
  .grid, .plans { grid-template-columns: 1fr; }
  .compare { padding-inline: 16px; }
  .compareHead { font-size: 10px; letter-spacing: .6px; }
  .compareRow b { font-size: 15px; }
}
@media (max-width: 380px) { .phone { width: 100%; } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .tick [data-out] { animation: none; }
  .store, .grid article { transition: none; }
}
