/* ReadyTake site. Colors follow the app; change them here only. */
:root {
  --bg: #0E0E11;          /* page background (app background) */
  --surface: #17171C;     /* cards */
  --surface-high: #222229;/* raised elements, phone screen */
  --line: #2C2C35;        /* borders and dividers */
  --text: #F4F4F6;        /* main text */
  --muted: #A3A3AE;       /* secondary text */
  --accent: #FF4B4B;      /* brand red (app accent) */
  --accent-soft: rgba(255, 75, 75, 0.14);
  --on-accent: #FFFFFF;

  --radius: 18px;
  --max: 1080px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.6 var(--font);
  -webkit-font-smoothing: antialiased;
}

a { color: var(--accent); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }

img, svg { display: block; max-width: 100%; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: rgba(14, 14, 17, 0.86);
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 16px; }

.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 700; font-size: 19px; letter-spacing: -0.01em; }
.brand-dot { width: 14px; height: 14px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 5px var(--accent-soft); }

.nav { display: flex; gap: 22px; }
.nav a { color: var(--muted); text-decoration: none; font-size: 15px; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--text); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 24px; border-radius: 14px;
  font: 600 16px/1 var(--font); text-decoration: none; cursor: pointer;
  border: 1px solid transparent;
}
.btn-primary { background: var(--accent); color: var(--on-accent); }
.btn-primary:hover { filter: brightness(1.08); }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--muted); }

/* Google Play button: placeholder until the app is published */
.btn-play { background: var(--surface-high); color: var(--text); border-color: var(--line); cursor: default; }
.btn-play small { display: block; font-size: 11px; font-weight: 500; color: var(--muted); letter-spacing: 0.04em; text-transform: uppercase; }
.btn-play span { text-align: left; line-height: 1.2; }
.btn-play svg { width: 22px; height: 22px; flex: none; }

/* ---------- Hero ---------- */
.hero { padding: 72px 0 56px; }
.hero .wrap { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 48px; align-items: center; }

.eyebrow { display: inline-block; margin: 0 0 18px; padding: 6px 12px; border-radius: 999px; background: var(--accent-soft); color: var(--accent); font-size: 14px; font-weight: 600; }

h1, h2, h3 { line-height: 1.15; letter-spacing: -0.02em; margin: 0; }
h1 { font-size: clamp(38px, 6vw, 62px); font-weight: 800; }
h1 em { font-style: normal; color: var(--accent); }

.lead { margin: 20px 0 32px; font-size: 19px; color: var(--muted); max-width: 34em; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; }
.fineprint { margin: 14px 0 0; font-size: 14px; color: var(--muted); }

/* Phone mockup with a scrolling script */
.phone {
  position: relative; width: 100%; max-width: 300px; aspect-ratio: 9 / 18.5; margin: 0 auto;
  border-radius: 42px; padding: 12px; background: #050507; border: 1px solid var(--line);
  box-shadow: 0 40px 80px -30px rgba(255, 75, 75, 0.35), 0 0 0 1px rgba(255, 255, 255, 0.03) inset;
}
.screen { position: relative; height: 100%; border-radius: 32px; overflow: hidden; background: var(--surface-high); }
.camera { position: absolute; top: 14px; left: 50%; width: 14px; height: 14px; margin-left: -7px; border-radius: 50%; background: #000; box-shadow: 0 0 0 3px #1a1a20; z-index: 3; }
.screen::before, .screen::after { content: ""; position: absolute; left: 0; right: 0; z-index: 2; pointer-events: none; }
/* Reading zone right under the camera: text is bright there and dims below it. */
.screen::before { top: 0; height: 12%; background: linear-gradient(var(--surface-high) 40%, transparent); }
.screen::after { top: 30%; bottom: 0; background: linear-gradient(rgba(34, 34, 41, 0.35), rgba(34, 34, 41, 0.95) 75%); }
.band { position: absolute; top: 12.5%; height: 17%; left: 9px; width: 4px; border-radius: 4px; background: var(--accent); z-index: 3; }
.script { position: absolute; left: 0; right: 0; top: 12.5%; padding: 0 22px 0 24px; font-size: 21px; line-height: 1.45; font-weight: 600; color: var(--text); animation: scroll 22s linear infinite; }
.script p { margin: 0 0 14px; }
.rec { position: absolute; bottom: 18px; left: 50%; transform: translateX(-50%); z-index: 3; display: flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: rgba(0, 0, 0, 0.55); font-size: 13px; font-weight: 600; }
.rec i { width: 10px; height: 10px; border-radius: 50%; background: var(--accent); animation: blink 1.2s ease-in-out infinite; }

@keyframes scroll { from { transform: translateY(0); } to { transform: translateY(-50%); } }
@keyframes blink { 50% { opacity: 0.25; } }

/* ---------- Sections ---------- */
section { padding: 64px 0; }
.section-head { max-width: 640px; margin-bottom: 36px; }
.section-head h2 { font-size: clamp(28px, 4vw, 40px); font-weight: 800; }
.section-head p { margin: 12px 0 0; color: var(--muted); font-size: 18px; }
.section-head.flush { margin-bottom: 0; }

.grid { display: grid; gap: 16px; grid-template-columns: repeat(4, 1fr); }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.card h3 { font-size: 19px; margin: 16px 0 8px; }
.card p { margin: 0; color: var(--muted); font-size: 16px; }
.icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); }
.icon svg { width: 24px; height: 24px; }
.tag { display: inline-block; margin-left: 6px; padding: 2px 8px; border-radius: 999px; border: 1px solid var(--line); color: var(--muted); font-size: 12px; font-weight: 600; vertical-align: middle; letter-spacing: 0; }

.steps { counter-reset: step; display: grid; gap: 16px; grid-template-columns: repeat(3, 1fr); list-style: none; margin: 0; padding: 0; }
.steps li { counter-increment: step; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.steps li::before { content: counter(step); display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--accent); color: var(--on-accent); font-weight: 800; margin-bottom: 14px; }
.steps h3 { font-size: 19px; margin-bottom: 6px; }
.steps p { margin: 0; color: var(--muted); font-size: 16px; }

.privacy-band { background: linear-gradient(135deg, rgba(255, 75, 75, 0.12), transparent 60%), var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.privacy-band .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.checks li { position: relative; padding-left: 34px; }
.checks li::before { content: ""; position: absolute; left: 0; top: 4px; width: 20px; height: 20px; border-radius: 50%; background: var(--accent-soft); }
.checks li::after { content: ""; position: absolute; left: 7px; top: 8px; width: 5px; height: 9px; border: solid var(--accent); border-width: 0 2px 2px 0; transform: rotate(45deg); }

/* Pricing */
.plans { display: grid; gap: 16px; grid-template-columns: repeat(3, 1fr); align-items: stretch; }
.plan { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 24px; }
.plan.best { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent) inset; position: relative; }
.badge { position: absolute; top: -13px; left: 24px; padding: 4px 12px; border-radius: 999px; background: var(--accent); color: var(--on-accent); font-size: 13px; font-weight: 700; }
.plan h3 { font-size: 18px; color: var(--muted); font-weight: 600; }
.price { margin: 12px 0 4px; font-size: 40px; font-weight: 800; letter-spacing: -0.03em; }
.price small { font-size: 16px; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.note { margin: 0 0 18px; color: var(--muted); font-size: 15px; min-height: 2.6em; }
.plan ul { list-style: none; margin: 0; padding: 18px 0 0; border-top: 1px solid var(--line); display: grid; gap: 10px; font-size: 16px; }
.plan li::before { content: "—"; color: var(--accent); margin-right: 8px; }
.pricing-legal { margin: 20px 0 0; color: var(--muted); font-size: 14px; max-width: 760px; }

/* FAQ */
.faq { max-width: 760px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 36px 20px 0; position: relative; font-weight: 600; font-size: 18px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 16px; font-size: 26px; font-weight: 400; color: var(--accent); }
.faq details[open] summary::after { content: "−"; }
.faq details p { margin: 0 0 20px; color: var(--muted); }

/* ---------- Legal pages ---------- */
.legal { padding: 56px 0 72px; }
.legal .wrap { max-width: 780px; }
.legal h1 { font-size: clamp(34px, 5vw, 48px); }
.legal .updated { color: var(--muted); margin: 12px 0 32px; font-size: 15px; }
.legal h2 { font-size: 24px; margin: 40px 0 12px; }
.legal h3 { font-size: 19px; margin: 24px 0 8px; }
.legal p, .legal li { color: #D6D6DC; }
.legal ul { padding-left: 22px; }
.legal li { margin: 6px 0; }
.summary-box { background: var(--surface); border: 1px solid var(--line); border-left: 4px solid var(--accent); border-radius: 12px; padding: 20px 22px; margin: 0 0 8px; }
.summary-box p:first-child { margin-top: 0; }
.summary-box ul { margin-bottom: 0; }
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 16px 0; border: 1px solid var(--line); border-radius: 12px; }
table { border-collapse: collapse; width: 100%; min-width: 560px; font-size: 15px; }
th, td { text-align: left; vertical-align: top; padding: 12px 14px; border-bottom: 1px solid var(--line); }
th { background: var(--surface); color: var(--text); font-weight: 600; }
tr:last-child td { border-bottom: 0; }
td { color: #D6D6DC; }
.caps { text-transform: uppercase; font-size: 15px; letter-spacing: 0.01em; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 32px 0 48px; color: var(--muted); font-size: 15px; }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 20px; }
.site-footer a { color: var(--muted); text-decoration: none; }
.site-footer a:hover { color: var(--text); }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .grid { grid-template-columns: repeat(2, 1fr); }
  .plans { grid-template-columns: 1fr; max-width: 460px; }
  .note { min-height: 0; }
}

@media (max-width: 760px) {
  body { font-size: 16px; }
  .hero { padding: 40px 0 24px; }
  .hero .wrap { grid-template-columns: 1fr; gap: 40px; }
  .lead { font-size: 18px; }
  .phone { max-width: 240px; }
  .steps { grid-template-columns: 1fr; }
  .privacy-band .wrap { grid-template-columns: 1fr; gap: 24px; }
  section { padding: 48px 0; }
  .nav { gap: 16px; }
  .nav .hide-sm { display: none; }
  .cta .btn { flex: 1 1 100%; }
}

@media (max-width: 520px) {
  .grid { grid-template-columns: 1fr; }
  .site-footer .wrap { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .script, .rec i { animation: none; }
}
