/* For the Record: one stylesheet for the landing page and the legal pages.
   Palette and type match the app's Nostalgic theme (Fraunces + DM Sans, warm wax, cream, label orange). */

:root {
  --wax: #0E0D0C;
  --wax-2: #171513;
  --wax-3: #211E1B;
  --cream: #F2E8D6;
  --cream-dim: rgba(242, 232, 214, 0.68);
  --cream-faint: rgba(242, 232, 214, 0.12);
  --label: #FF6B3D;
  --label-deep: #C4552F;
  --like: #FF6178;
  --later: #5CC8B0;
  --ink: #1E1A17;
  --radius: 18px;
  --maxw: 1120px;
  --display: "Fraunces", Georgia, "Times New Roman", serif;
  --body: "DM Sans", -apple-system, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--wax);
  color: var(--cream);
  font: 17px/1.6 var(--body);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--label); text-underline-offset: 3px; }
a:hover { color: #ff8a63; }

.skip { position: absolute; left: -999px; top: 8px; background: var(--label); color: var(--ink); padding: 8px 12px; border-radius: 8px; z-index: 50; }
.skip:focus { left: 12px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 14px max(20px, calc((100vw - var(--maxw)) / 2));
  background: rgba(14, 13, 12, 0.82);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid var(--cream-faint);
}
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--cream); text-decoration: none; font: 600 20px/1 var(--display); }
.brand:hover { color: var(--cream); }
.brand .disc { width: 30px; height: 30px; border-radius: 8px; background: url("assets/icon-64.png") center / cover; box-shadow: 0 2px 8px rgba(0,0,0,.4); }
.site-nav { display: flex; flex-wrap: wrap; gap: 4px 18px; font-size: 15px; }
.site-nav a { color: var(--cream-dim); text-decoration: none; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--cream); }
.nav-cta { color: var(--ink) !important; background: var(--label); padding: 7px 14px; border-radius: 999px; font-weight: 600; }

main { display: block; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }

/* Shared type */
h1, h2, h3 { font-family: var(--display); font-weight: 600; letter-spacing: -0.01em; line-height: 1.08; margin: 0 0 14px; }
h1 { font-size: clamp(42px, 7vw, 82px); }
h2 { font-size: clamp(30px, 4.4vw, 50px); }
h3 { font-size: 22px; }
h1 em, h2 em { font-style: italic; color: var(--label); }
.kicker { text-transform: uppercase; letter-spacing: .14em; font-size: 13px; font-weight: 600; color: var(--label); margin: 0 0 12px; }
.lede { font-size: clamp(18px, 2vw, 21px); color: var(--cream-dim); max-width: 34em; }
.meta { font-size: 14px; color: var(--cream-dim); }

/* Buttons */
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 12px; }
.button {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 13px 22px; border-radius: 999px;
  background: var(--label); color: var(--ink); text-decoration: none; font-weight: 600;
  transition: transform .15s ease, background .15s ease;
}
.button:hover { background: #ff8a63; color: var(--ink); transform: translateY(-1px); }
.button.ghost { background: transparent; color: var(--cream); border: 1px solid rgba(242,232,214,.35); }
.button.ghost:hover { border-color: var(--cream); color: var(--cream); }
.badge-small { display: block; font-size: 11px; font-weight: 500; line-height: 1.1; opacity: .8; }
.badge-big { display: block; font-size: 18px; line-height: 1.1; }

/* Hero */
.hero {
  position: relative; overflow: hidden;
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center;
  max-width: var(--maxw); margin: 0 auto; padding: 72px 20px 56px;
}
.hero .logo { width: 84px; height: 84px; border-radius: 20px; margin-bottom: 22px; box-shadow: 0 12px 30px rgba(0,0,0,.45); }
.hero-art { position: relative; height: 560px; }
.record {
  position: absolute; right: -150px; top: 70px; width: 470px; height: 470px; border-radius: 50%;
  background:
    radial-gradient(circle at center, var(--wax) 0 2.2%, transparent 2.3%),
    radial-gradient(circle at center, var(--label) 0 18%, transparent 18.2%),
    radial-gradient(circle at center, transparent 0 18.2%, rgba(242,232,214,.10) 18.4% 19%, transparent 19.2%),
    repeating-radial-gradient(circle at center, #2a2622 0 2px, #161412 2px 5px);
  box-shadow: 0 30px 70px rgba(0,0,0,.65), 0 0 0 2px rgba(242,232,214,.06), 0 0 80px rgba(255,107,61,.08);
  animation: spin 1.8s linear infinite;
}
.record::after { content: ""; position: absolute; inset: 0; border-radius: 50%;
  background: conic-gradient(from 20deg, transparent, rgba(255,255,255,.08), transparent 30%, transparent 55%, rgba(255,255,255,.06), transparent 75%); }
.record-label { position: absolute; inset: 41%; border-radius: 50%; display: grid; place-items: center; font: 700 12px/1 var(--display); color: var(--ink); opacity: .7; }
@keyframes spin { to { transform: rotate(360deg); } }
.phone {
  position: absolute; width: 230px; border-radius: 34px; padding: 8px; background: #050505;
  box-shadow: 0 30px 60px rgba(0,0,0,.6), 0 0 0 1px rgba(255,255,255,.06);
}
.phone img { border-radius: 27px; }
.phone.one { left: 10px; top: 60px; transform: rotate(-6deg); z-index: 2; }
.phone.two { left: 190px; top: 0; transform: rotate(5deg); z-index: 3; }

/* Sections */
section.band { padding: 84px 0; border-top: 1px solid var(--cream-faint); }
section.band.alt { background: var(--wax-2); }
.section-head { max-width: 640px; margin-bottom: 40px; }
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card {
  background: var(--wax-3); border: 1px solid var(--cream-faint); border-radius: var(--radius);
  padding: 24px;
}
.card h3 { margin-bottom: 8px; }
.card p { margin: 0; color: var(--cream-dim); font-size: 16px; }
.card .ico { width: 42px; height: 42px; border-radius: 12px; background: rgba(255,107,61,.14); color: var(--label);
  display: grid; place-items: center; font-size: 22px; margin-bottom: 14px; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.shots { display: flex; gap: 18px; justify-content: center; }
.shots img { width: 46%; max-width: 260px; aspect-ratio: 9 / 16; object-fit: cover; object-position: top; border-radius: 26px; border: 6px solid #050505; box-shadow: 0 20px 44px rgba(0,0,0,.5); }
.shots img:nth-child(2) { transform: translateY(28px); }

.themes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.theme figure { margin: 0; }
.theme img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; object-position: top; border-radius: 22px; border: 5px solid #050505; box-shadow: 0 16px 34px rgba(0,0,0,.45); }
.theme figcaption { margin-top: 12px; }
.theme strong { display: block; font-family: var(--display); font-size: 20px; }
.theme span { color: var(--cream-dim); font-size: 15px; }
.tag { display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 3px 8px; border-radius: 999px; background: rgba(255,107,61,.16); color: var(--label); margin-left: 6px; vertical-align: middle; }

.pricing { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; max-width: 860px; }
.card .price { font: 600 44px/1.1 var(--display); color: var(--cream); margin: 8px 0 4px; }
.card .price small { font: 400 16px var(--body); color: var(--cream-dim); }
.card ul, .doc ul { padding-left: 20px; margin: 14px 0 0; }
.card li { color: var(--cream-dim); margin: 6px 0; }
.card.highlight { border-color: rgba(255,107,61,.6); background: linear-gradient(180deg, rgba(255,107,61,.08), var(--wax-3)); }

.privacy-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.quote { font: italic 600 clamp(26px, 3.4vw, 40px)/1.2 var(--display); max-width: 18em; margin: 0 0 18px; }

.cta-final { text-align: center; padding: 96px 20px; }
.cta-final .logo { width: 96px; height: 96px; margin: 0 auto 22px; border-radius: 22px; box-shadow: 0 14px 34px rgba(0,0,0,.5); }
.cta-final .cta-row { justify-content: center; }

/* Legal and support pages */
.doc { max-width: 760px; margin: 0 auto; padding: 56px 20px 80px; }
.doc h1 { font-size: clamp(36px, 5vw, 54px); }
.doc h2 { font-size: 28px; margin-top: 44px; }
.doc h3 { font-size: 20px; margin-top: 28px; }
.doc p, .doc li { color: rgba(242,232,214,.86); }
.doc .toc { background: var(--wax-3); border: 1px solid var(--cream-faint); border-radius: var(--radius); padding: 18px 22px; }
.doc .note { background: rgba(255,107,61,.08); border-left: 3px solid var(--label); padding: 12px 16px; border-radius: 8px; }
.steps { counter-reset: s; list-style: none; padding: 0; }
.steps li { counter-increment: s; position: relative; padding-left: 44px; margin: 14px 0; }
.steps li::before { content: counter(s); position: absolute; left: 0; top: 0; width: 30px; height: 30px; border-radius: 50%; background: var(--label); color: var(--ink); font-weight: 700; display: grid; place-items: center; }
.table-wrap { overflow-x: auto; margin: 18px 0; }
table { border-collapse: collapse; width: 100%; font-size: 15px; }
th, td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--cream-faint); vertical-align: top; }
th { color: var(--cream); font-weight: 600; }
details { background: var(--wax-3); border: 1px solid var(--cream-faint); border-radius: 12px; padding: 14px 18px; margin: 10px 0; }
summary { cursor: pointer; font-weight: 600; }

/* Footer */
.site-footer { border-top: 1px solid var(--cream-faint); background: var(--wax-2); }
.footer-inner { max-width: var(--maxw); margin: 0 auto; padding: 36px 20px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 18px; font-size: 14px; color: var(--cream-dim); }
.footer-inner p { margin: 4px 0; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.footer-links a { color: var(--cream-dim); text-decoration: none; }
.footer-links a:hover { color: var(--cream); }

/* Phones and small tablets */
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; padding-top: 44px; }
  .hero-art { height: 470px; max-width: 420px; margin: 0 auto; width: 100%; }
  .record { width: 340px; height: 340px; right: -110px; top: 60px; }
  .phone { width: 190px; }
  .phone.two { left: 150px; }
  .features, .privacy-grid { grid-template-columns: 1fr 1fr; }
  .themes { grid-template-columns: 1fr 1fr; }
  .split { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .site-nav a:not(.nav-cta) { display: none; }
  .features, .privacy-grid, .pricing { grid-template-columns: 1fr; }
  .phone { width: 160px; }
  .phone.one { left: 0; }
  .phone.two { left: 120px; }
  .record { width: 280px; height: 280px; right: -110px; }
  .hero-art { height: 400px; }
  section.band { padding: 64px 0; }
}
@media (prefers-reduced-motion: reduce) {
  .record { animation: none; }
  html { scroll-behavior: auto; }
}
.lede.center { margin: 0 auto; }
