/* Vinta — site styles
   Palette sampled from the app: warm film-base black, cream, amber date-stamp, REC red. */

:root {
  --base: #151410;        /* film base */
  --base-2: #1d1b16;      /* raised surface */
  --line: #2c2922;        /* hairline */
  --cream: #f3ecdd;       /* primary text */
  --muted: #9a9283;       /* secondary text */
  --amber: #edaa42;       /* date-stamp amber */
  --amber-deep: #c98a2a;
  --rec: #d0523d;         /* REC dot */
  --frame: #0b0a08;       /* film strip */

  --mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --sans: "IBM Plex Sans", -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;

  --measure: 62ch;
  --gutter: clamp(16px, 4vw, 48px);
  --radius: 14px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--base);
  color: var(--cream);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }
a { color: var(--amber); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--cream); }
:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3 { font-family: var(--mono); font-weight: 800; letter-spacing: 0.02em; line-height: 1.1; margin: 0; text-transform: uppercase; }
h1 { font-size: clamp(34px, 6vw, 64px); }
h2 { font-size: clamp(24px, 3.4vw, 36px); }
h3 { font-size: 15px; letter-spacing: 0.12em; }
p { margin: 0 0 1em; max-width: var(--measure); }

.wrap { width: min(1120px, 100% - 2 * var(--gutter)); margin-inline: auto; }

/* Label with the REC dot, as in the app's screens */
.tag {
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--muted); display: inline-flex; align-items: center; gap: 10px; margin-bottom: 14px;
}
.tag::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--rec); box-shadow: 0 0 8px rgba(208, 82, 61, .6); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--mono); font-weight: 700; font-size: 14px; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 14px 22px; border-radius: 999px; text-decoration: none; border: 1px solid transparent;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
.btn-amber { background: var(--amber); color: #1a1408; }
.btn-amber:hover { background: #f5bb5c; color: #1a1408; }
.btn-ghost { border-color: var(--line); color: var(--cream); background: transparent; }
.btn-ghost:hover { border-color: var(--muted); color: var(--cream); }
.btn svg { width: 18px; height: 18px; flex: none; }

/* Header */
.site-head { position: sticky; top: 0; z-index: 10; background: rgba(21, 20, 16, .85); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--cream); font-family: var(--mono); font-weight: 800; letter-spacing: 0.32em; font-size: 15px; }
.brand img { width: 32px; height: 32px; border-radius: 8px; }
.nav { display: flex; align-items: center; gap: 22px; }
.nav a { font-family: var(--mono); font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); text-decoration: none; }
.nav a:hover { color: var(--cream); }
.nav .btn { padding: 10px 16px; font-size: 12px; }
@media (max-width: 640px) { .nav a:not(.btn) { display: none; } }

/* Hero */
.hero { padding: clamp(48px, 8vw, 96px) 0 0; }
.hero .wrap { display: grid; gap: 40px; align-items: center; }
.hero-copy .tag { margin-bottom: 20px; }
.hero h1 span { display: block; color: var(--amber); }
.hero .lead { font-size: 19px; color: var(--muted); margin-top: 22px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero .fine { font-family: var(--mono); font-size: 12px; letter-spacing: 0.06em; color: var(--muted); margin-top: 18px; }

/* Film strip — the one memorable element */
.strip-outer { margin-top: 56px; background: var(--frame); border-block: 1px solid #000; overflow: hidden; }
.strip { position: relative; padding: 14px 0; }
.strip::before, .strip::after {
  content: ""; display: block; height: 12px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='34' height='12' viewBox='0 0 34 12'%3E%3Crect x='10' y='1' width='14' height='10' rx='2' fill='%23e9e2cf'/%3E%3C/svg%3E") repeat-x;
  background-position: center;
}
.strip::before { margin-bottom: 10px; }
.strip::after { margin-top: 10px; }
.frames { display: flex; gap: 14px; padding: 0 var(--gutter); overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: none; }
.frames::-webkit-scrollbar { display: none; }
.frame { flex: none; width: clamp(150px, 18vw, 210px); position: relative; scroll-snap-align: start; border: 1px solid #3a332a; background: #000; }
.frame img { width: 100%; aspect-ratio: 480 / 864; object-fit: cover; }
.frame .edge {
  position: absolute; bottom: 8px; right: 10px;
  font-family: var(--mono); font-weight: 700; font-size: 13px; letter-spacing: 0.06em; color: var(--amber);
  text-shadow: 0 0 6px rgba(237, 170, 66, .7);
}
.rebate { display: flex; gap: 40px; padding: 8px var(--gutter) 0; font-family: var(--mono); font-size: 11px; letter-spacing: 0.18em; color: var(--amber-deep); white-space: nowrap; overflow: hidden; }

/* Sections */
section { padding: clamp(56px, 9vw, 112px) 0; }
section + section { border-top: 1px solid var(--line); }
.section-head { max-width: 62ch; margin-bottom: 40px; }
.section-head p { color: var(--muted); margin-top: 14px; }

/* Cameras: a film index, not cards */
.index { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.index li { display: grid; grid-template-columns: 150px 1fr; gap: 20px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.index h3 { color: var(--amber); padding-top: 3px; }
.index p { margin: 0; color: var(--cream); }
@media (max-width: 560px) { .index li { grid-template-columns: 1fr; gap: 6px; } }

/* Pricing */
.plans { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); align-items: stretch; }
.plan { border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; background: var(--base-2); display: flex; flex-direction: column; }
.plan.featured { border-color: var(--amber); }
.plan h3 { color: var(--cream); }
.plan .price { font-family: var(--mono); font-weight: 800; font-size: 40px; margin: 18px 0 2px; letter-spacing: -0.01em; }
.plan .price small { font-size: 15px; font-weight: 500; color: var(--muted); letter-spacing: 0; margin-left: 4px; }
.plan .note { font-family: var(--mono); font-size: 12px; color: var(--amber); letter-spacing: 0.06em; min-height: 1.4em; }
.plan ul { list-style: none; padding: 0; margin: 20px 0 26px; display: grid; gap: 10px; color: var(--cream); }
.plan ul li { padding-left: 22px; position: relative; }
.plan ul li::before { content: ""; position: absolute; left: 0; top: 10px; width: 10px; height: 2px; background: var(--amber); }
.plan .btn { margin-top: auto; }
.plan .terms { font-size: 13px; color: var(--muted); margin: 16px 0 0; }

/* Steps (a real sequence, so numbered) */
.steps { counter-reset: step; list-style: none; padding: 0; margin: 40px 0 0; display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.steps li { counter-increment: step; border-top: 2px solid var(--amber); padding-top: 14px; }
.steps li::before { content: counter(step); font-family: var(--mono); font-weight: 800; color: var(--amber); display: block; margin-bottom: 8px; }
.steps strong { display: block; font-family: var(--mono); font-size: 14px; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 6px; }
.steps p { margin: 0; color: var(--muted); font-size: 15px; }

/* FAQ */
.faq { max-width: 70ch; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; padding: 18px 0; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--mono); color: var(--amber); flex: none; }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--muted); padding-bottom: 18px; }

/* Footer */
.site-foot { border-top: 1px solid var(--line); padding: 40px 0 48px; color: var(--muted); font-size: 14px; }
.site-foot .wrap { display: grid; gap: 24px; grid-template-columns: 1fr auto; align-items: start; }
.site-foot .brand { margin-bottom: 12px; }
.site-foot nav { display: flex; flex-wrap: wrap; gap: 6px 20px; }
.site-foot nav a { color: var(--muted); text-decoration: none; font-family: var(--mono); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; }
.site-foot nav a:hover { color: var(--cream); }
.site-foot p { margin: 0 0 6px; }
.site-foot .legal { margin-top: 18px; font-size: 12px; }
@media (max-width: 720px) { .site-foot .wrap { grid-template-columns: 1fr; } }

/* Legal pages */
.doc { padding: clamp(40px, 6vw, 72px) 0 96px; }
.doc .wrap { max-width: 74ch; }
.doc h1 { font-size: clamp(26px, 4vw, 40px); margin-bottom: 8px; }
.doc .updated { font-family: var(--mono); font-size: 12px; letter-spacing: 0.1em; color: var(--muted); text-transform: uppercase; margin-bottom: 40px; }
.doc h2 { font-size: 15px; letter-spacing: 0.14em; color: var(--amber); margin: 40px 0 12px; }
.doc p, .doc li { color: #d9d2c3; max-width: none; }
.doc ul { padding-left: 22px; margin: 0 0 1em; }
.doc li { margin-bottom: 6px; }
.doc table { border-collapse: collapse; width: 100%; margin: 0 0 1.4em; font-size: 15px; }
.doc th, .doc td { text-align: left; padding: 10px 12px 10px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.doc th { font-family: var(--mono); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.doc .summary { border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 22px; background: var(--base-2); margin-bottom: 8px; }
.doc .summary p:last-child { margin-bottom: 0; }

/* Layout at width */
@media (min-width: 900px) {
  .hero .wrap { grid-template-columns: 1.1fr .9fr; }
}
