/* RREPS website – brand tokens follow the app (dark surface, orange accent). */
:root {
  --bg: #121212;
  --bg-2: #161616;
  --surface: #1f1f1f;
  --surface-2: #262626;
  --text: #f2eef1;
  --muted: #b4afb3;
  --accent: #ff6e40;
  --accent-2: #ff9e5e;
  --accent-ink: #1a0d08;
  --ok: #4cc46a;
  --outline: #333;
  --radius: 22px;
  --wrap: 1120px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; background: var(--bg); color: var(--text); font: 17px/1.6 var(--font); overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); }
a:focus-visible, summary:focus-visible, .shots:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 8px; }
h1, h2, h3 { line-height: 1.15; margin: 0; letter-spacing: -0.02em; overflow-wrap: break-word; }
p, li { overflow-wrap: break-word; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 780px; }
.ic { width: 20px; height: 20px; flex: none; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--accent); color: var(--accent-ink); padding: 10px 16px; border-radius: 10px; z-index: 10; font-weight: 700; }
.skip:focus { left: 8px; }

/* Header */
.top { position: sticky; top: 0; z-index: 5; background: rgba(18, 18, 18, .82); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px); border-bottom: 1px solid rgba(255, 255, 255, .06); }
.bar { display: flex; align-items: center; gap: 16px; min-height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 800; letter-spacing: .14em; font-size: 1.05rem; }
.brand img { border-radius: 10px; }
.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a, .lang { color: var(--muted); text-decoration: none; padding: 10px 12px; min-height: 44px; display: inline-flex; align-items: center; border-radius: 12px; font-weight: 600; font-size: .95rem; }
.nav a:hover, .lang:hover { color: var(--text); background: rgba(255, 255, 255, .06); }
.nav a[aria-current=page] { color: var(--text); }
.lang { border: 1px solid var(--outline); color: var(--text); }
@media (max-width: 760px) {
  .landing-only, body:not(.legal) .nav { display: none; }
  .lang { margin-left: auto; }
  .legal .nav { order: 3; width: 100%; margin: 0 0 6px -12px; flex-wrap: wrap; }
  .legal .bar { flex-wrap: wrap; }
}

/* Hero */
.hero { position: relative; padding: 72px 0 40px; overflow: hidden; isolation: isolate; }
.hero::before { content: ""; position: absolute; z-index: -1; width: 900px; height: 900px; right: -260px; top: -380px; background: radial-gradient(closest-side, rgba(255, 110, 64, .32), rgba(255, 110, 64, 0)); }
.hero::after { content: ""; position: absolute; z-index: -1; inset: 0; background-image: linear-gradient(rgba(255, 255, 255, .025) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .025) 1px, transparent 1px); background-size: 48px 48px; mask-image: linear-gradient(to bottom, #000 30%, transparent); -webkit-mask-image: linear-gradient(to bottom, #000 30%, transparent); }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.eyebrow, .kicker { color: var(--accent); font-weight: 700; letter-spacing: .12em; text-transform: uppercase; font-size: .8rem; margin: 0 0 14px; }
.hero h1 { font-size: clamp(2.5rem, 6vw, 4.2rem); font-weight: 800; letter-spacing: -0.035em; }
.hero h1 em { font-style: normal; background: linear-gradient(90deg, var(--accent), var(--accent-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { color: var(--muted); font-size: 1.18rem; max-width: 34em; margin: 22px 0 28px; }
.chips { list-style: none; padding: 0; margin: 24px 0 0; display: flex; flex-wrap: wrap; gap: 8px 18px; color: var(--muted); font-size: .95rem; }
.chips li { display: inline-flex; align-items: center; gap: 6px; }
.chips .ic { width: 18px; height: 18px; color: var(--ok); }

/* Store buttons */
.stores { display: flex; flex-wrap: wrap; gap: 12px; }
.stores.center { justify-content: center; }
.store { display: inline-flex; align-items: center; gap: 12px; min-width: 190px; min-height: 60px; padding: 10px 20px 10px 16px; border-radius: 16px; background: #000; color: #fff; text-decoration: none; border: 1px solid #3a3a3a; transition: transform .15s ease, border-color .15s ease, box-shadow .15s ease; }
.store:hover { transform: translateY(-2px); border-color: #5a5a5a; box-shadow: 0 10px 30px rgba(0, 0, 0, .4); }
.store > span { display: flex; flex-direction: column; line-height: 1.1; text-align: left; }
.store small { font-size: .72rem; opacity: .85; }
.store strong { font-size: 1.28rem; font-weight: 600; letter-spacing: -.01em; }
.store-ic { width: 28px; height: 28px; flex: none; }
.store.soon { opacity: .6; cursor: default; }
.store.soon:hover { transform: none; box-shadow: none; border-color: #3a3a3a; }

/* Phone mockups */
.phone { position: relative; border-radius: 42px; padding: 10px; background: linear-gradient(145deg, #2c2c2c, #0b0b0b); box-shadow: 0 0 0 1px rgba(255, 255, 255, .08) inset, 0 30px 80px rgba(0, 0, 0, .55), 0 0 0 1px #000; }
.phone img { border-radius: 33px; width: 100%; background: var(--bg-2); }
.hero-text { position: relative; z-index: 1; }
.hero-media { position: relative; height: 640px; width: 100%; max-width: 520px; justify-self: end; }
.hero-media .phone { position: absolute; width: 290px; }
.hero-media .front { right: 0; top: 0; z-index: 2; }
.hero-media .back { left: 0; top: 70px; transform: rotate(-6deg); opacity: .9; }

/* Fact band */
.facts-band { padding: 24px 0 40px; }
.facts { list-style: none; margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.fact { background: var(--surface); border: 1px solid var(--outline); border-radius: var(--radius); padding: 22px; }
.fact h3 { font-size: 1.08rem; margin: 12px 0 6px; }
.fact p { margin: 0; color: var(--muted); font-size: .95rem; line-height: 1.5; }
.fact-ic { width: 40px; height: 40px; padding: 9px; border-radius: 12px; color: var(--accent); background: rgba(255, 110, 64, .12); }

/* Features */
.feature { padding: 72px 0; overflow-x: clip; }
.feature:nth-of-type(even) { background: linear-gradient(180deg, transparent, rgba(255, 255, 255, .02) 20%, rgba(255, 255, 255, .02) 80%, transparent); }
.feature-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.feature.flip .feature-text { order: 2; }
.feature h2, .gallery h2, .privacy h2, .faq h2, .cta h2 { font-size: clamp(1.9rem, 4vw, 2.7rem); font-weight: 800; }
.body { color: var(--muted); font-size: 1.1rem; margin: 18px 0 22px; }
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; }
.ticks .ic { color: var(--accent-ink); background: var(--accent); border-radius: 50%; padding: 3px; width: 22px; height: 22px; margin-top: 3px; stroke-width: 3; }
.feature-media { position: relative; display: flex; justify-content: center; }
.feature-media::before { content: ""; position: absolute; width: 420px; height: 420px; top: 50%; left: 50%; transform: translate(-50%, -50%); background: radial-gradient(closest-side, rgba(255, 110, 64, .22), transparent); z-index: -1; }
.feature-media .phone { width: 320px; }

/* Gallery */
.gallery { padding: 72px 0 56px; }
.hint { color: var(--muted); margin: 8px 0 0; }
.shots { list-style: none; margin: 28px 0 0; padding: 8px max(20px, calc((100vw - var(--wrap)) / 2 + 20px)) 28px; display: flex; gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: thin; scrollbar-color: #444 transparent; }
.shots li { flex: none; scroll-snap-align: center; }
.shots .phone { width: 250px; }

/* Privacy */
.privacy { padding: 56px 0; }
.privacy-card { position: relative; max-width: 1000px; background: radial-gradient(circle at 100% 0, rgba(76, 196, 106, .14), transparent 45%), var(--surface); border: 1px solid var(--outline); border-radius: 32px; padding: 48px; }
.privacy-icon { color: var(--ok); margin-bottom: 18px; }
.privacy-icon .big { width: 52px; height: 52px; padding: 12px; border-radius: 16px; background: rgba(76, 196, 106, .14); }
.privacy .kicker { color: var(--ok); }
.ticks.two { grid-template-columns: 1fr 1fr; gap: 18px 28px; margin-bottom: 22px; }
.ticks.two .ic { background: var(--ok); }
.ticks strong { display: block; }
.ticks.two span { color: var(--muted); }
.ticks.two strong { color: var(--text); }
.textlink { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; text-decoration: none; min-height: 44px; }
.textlink:hover { text-decoration: underline; }
.textlink .ic { width: 18px; height: 18px; }

/* Cards that are also .wrap keep a gutter on mid-size screens. */
.privacy-card, .cta-card { width: calc(100% - 40px); }

/* FAQ */
.faq { padding: 56px 0; }
.faq h2 { margin-bottom: 24px; }
details { border-bottom: 1px solid var(--outline); }
summary { list-style: none; cursor: pointer; padding: 20px 40px 20px 0; position: relative; font-weight: 700; font-size: 1.08rem; min-height: 44px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 6px; top: 50%; transform: translateY(-50%); color: var(--accent); font-size: 1.6rem; font-weight: 400; transition: transform .2s ease; }
details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
details p { color: var(--muted); margin: 0 0 20px; }

/* CTA */
.cta { padding: 40px 0 88px; }
.cta-card { text-align: center; max-width: 900px; padding: 56px 24px 32px; border-radius: 32px; background: radial-gradient(circle at 50% 0, rgba(255, 110, 64, .28), transparent 60%), var(--surface); border: 1px solid var(--outline); }
.cta-card img { margin: 0 auto 18px; border-radius: 18px; }
.cta-card > p:not(:last-child) { color: var(--muted); margin: 14px auto 28px; max-width: 32em; }
.cta-card > p:last-child { margin: 28px 0 0; }

/* Footer */
.foot { border-top: 1px solid var(--outline); padding: 36px 0 28px; color: var(--muted); font-size: .95rem; }
.foot-grid { display: grid; grid-template-columns: 1fr auto; gap: 8px 24px; align-items: start; }
.foot-brand p { margin: 8px 0 0; }
.foot-links { display: flex; flex-wrap: wrap; gap: 0 18px; justify-content: flex-end; }
.foot-links a { color: var(--muted); text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; }
.foot-links a:hover { color: var(--text); text-decoration: underline; }
.copy { grid-column: 1 / -1; margin: 12px 0 0; font-size: .85rem; }

/* Legal pages */
.legal main { padding: 32px 0 56px; }
.doc { background: var(--surface); border: 1px solid var(--outline); border-radius: var(--radius); padding: 32px 28px; }
.doc h1, .doc h2, .doc h3, .doc p, .doc li { hyphens: auto; -webkit-hyphens: auto; }
.doc h1 { font-size: clamp(1.6rem, 4vw, 2.1rem); margin-bottom: 12px; }
.doc h2 { color: var(--accent); font-size: 1.2rem; margin: 30px 0 8px; letter-spacing: 0; }
.doc h3 { font-size: 1.02rem; margin: 22px 0 6px; letter-spacing: 0; }
.doc ul { padding-left: 1.2em; }

/* Responsive */
@media (max-width: 980px) {
  .hero { padding-top: 48px; }
  .hero-grid { grid-template-columns: 1fr; gap: 24px; }
  .hero-media { height: 560px; justify-self: center; }
  .hero-media .phone { width: 260px; }
  .hero-media .back { top: 60px; }
  .facts { grid-template-columns: 1fr 1fr; }
  .feature { padding: 56px 0; }
  .feature-grid { grid-template-columns: 1fr; gap: 36px; }
  .feature.flip .feature-text { order: 0; }
  .feature-media .phone { width: 280px; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .lead { font-size: 1.06rem; }
  .stores { flex-direction: column; align-items: stretch; }
  .store { min-width: 0; }
  .hero-media { height: 470px; }
  .hero-media .phone { width: 215px; border-radius: 34px; padding: 8px; }
  .hero-media .phone img { border-radius: 27px; }
  .hero-media .back { top: 50px; }
  .facts { grid-template-columns: 1fr; gap: 12px; }
  .fact { display: grid; grid-template-columns: auto 1fr; column-gap: 14px; padding: 18px; }
  .fact-ic { grid-row: span 2; }
  .fact h3 { margin: 0 0 2px; }
  .feature-media .phone { width: 250px; }
  .shots { padding-left: 16px; padding-right: 16px; gap: 16px; }
  .shots .phone { width: 220px; }
  .privacy-card { padding: 32px 20px; border-radius: 24px; }
  .privacy-card, .cta-card { width: calc(100% - 32px); }
  .ticks.two { grid-template-columns: 1fr; }
  .cta-card { padding: 40px 16px 24px; border-radius: 24px; }
  .foot-grid { grid-template-columns: 1fr; }
  .foot-links { justify-content: flex-start; }
  .doc { padding: 22px 16px; }
}
@media (max-width: 360px) {
  .hero-media { height: 420px; }
  .hero-media .phone { width: 190px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
