:root {
  --bg: #050506;
  --surface: #0e0e11;
  --surface-2: #15151a;
  --line: #24242c;
  --ink: #f4f3f7;
  --muted: #a09cad;
  --acc1: #f4f3f7;
  --acc2: #a9a7b8;
  --mint: #4cf0a5;
  --cyan: #1de0f5;
  --max: 1040px;
}
.theme-r4m, .product-card { --acc1: #4cf0a5; --acc2: #1de0f5; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
.wrap { width: min(100% - 40px, var(--max)); margin: 0 auto; }

.site-header { position: sticky; top: 0; z-index: 10; background: rgba(5, 5, 6, .82); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; }
.brand { display: flex; align-items: center; gap: 12px; font-weight: 700; letter-spacing: .14em; text-decoration: none; font-size: .9rem; }
.brand img { width: 38px; height: 38px !important; object-fit: cover; object-position: center; border-radius: 10px; }
.site-nav { display: flex; gap: 22px; font-size: .92rem; }
.site-nav a { color: var(--muted); text-decoration: none; transition: color .2s; }
.site-nav a:hover, .site-nav a:focus-visible { color: var(--ink); }

.hero { position: relative; overflow: hidden; padding: clamp(40px, 8vw, 88px) 0 clamp(40px, 7vw, 80px); }
.hero::before { content: ""; position: absolute; inset: -20% 0 auto; height: 80%; background: radial-gradient(ellipse at 70% 30%, rgba(255, 255, 255, .09), transparent 62%); pointer-events: none; }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(24px, 5vw, 60px); align-items: center; }
.eyebrow { margin: 0 0 14px; color: var(--acc1); font-size: .8rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; }
h1 { margin: 0 0 18px; max-width: 16ch; font-size: clamp(2.2rem, 6vw, 3.8rem); line-height: 1.05; letter-spacing: -.035em; }
.lead { margin: 0; max-width: 46ch; color: var(--muted); font-size: clamp(1rem, 2.4vw, 1.15rem); }
.lead strong { color: var(--ink); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.btn { display: inline-block; padding: 13px 24px; border-radius: 999px; font-weight: 600; font-size: .95rem; text-decoration: none; border: 1px solid var(--line); transition: background .2s, border-color .2s; }
.btn:active { scale: .97; }
.btn-primary { background: linear-gradient(135deg, var(--acc1), var(--acc2)); color: #04130c; border-color: transparent; }
.btn-ghost:hover, .btn-ghost:focus-visible { border-color: var(--muted); }

.hero-visual { position: relative; display: grid; place-items: center; min-height: 360px; }
.hero-star { position: absolute; width: min(110%, 520px); mix-blend-mode: screen; opacity: .35; pointer-events: none; }
.phone { position: relative; margin: 0; padding: 7px; background: #1b1b22; border: 1px solid #2c2c36; border-radius: 34px; box-shadow: 0 24px 60px rgba(0, 0, 0, .55), 0 0 0 1px rgba(255, 255, 255, .03); }
.phone img { width: 100%; border-radius: 28px; }
.phone-hero { width: min(260px, 62vw); rotate: 4deg; animation: float 7s ease-in-out infinite; }

section { padding: clamp(48px, 8vw, 88px) 0; }
section.alt { background: var(--surface); border-block: 1px solid var(--line); }
h2 { margin: 0 0 12px; font-size: clamp(1.6rem, 4.5vw, 2.4rem); letter-spacing: -.025em; line-height: 1.15; }
.section-intro { margin: 0 0 28px; max-width: 58ch; color: var(--muted); }
.section-intro strong { color: var(--ink); }
.note { margin: 18px 0 0; font-size: .86rem; color: var(--muted); }

.section-head { display: flex; align-items: center; gap: 16px; margin-bottom: 12px; }
.section-head h2 { margin: 0; }
.product-icon { width: 64px; height: 64px; border-radius: 17px; flex: none; }
.badge { display: inline-block; margin-top: 6px; padding: 4px 12px; border-radius: 999px; font-size: .78rem; font-weight: 600; color: #04130c; background: linear-gradient(135deg, var(--acc1), var(--acc2)); }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 4vw, 48px); margin: 36px 0 0; padding: 0; list-style: none; }
.step { text-align: center; }
.step .phone { width: min(240px, 100%); margin: 0 auto 22px; }
.step-num { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; font-weight: 700; color: #04130c; background: linear-gradient(135deg, var(--acc1), var(--acc2)); }
.step h3 { margin: 12px 0 6px; font-size: 1.2rem; }
.step p { margin: 0 auto; max-width: 28ch; color: var(--muted); font-size: .95rem; }

.chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 44px 0 0; padding: 0; list-style: none; }
.chips li { padding: 8px 16px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); font-size: .9rem; }

.studio-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(24px, 6vw, 64px); align-items: center; }
.studio-star { width: 100%; max-width: 360px; justify-self: center; mix-blend-mode: screen; }
.values { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; }
.values li { display: grid; gap: 2px; padding-left: 16px; border-left: 3px solid var(--acc1); }
.values span { color: var(--muted); font-size: .95rem; }

.contact { text-align: center; }
.contact .section-intro { margin-inline: auto; }

.site-footer { border-top: 1px solid var(--line); padding: 28px 0 40px; color: var(--muted); font-size: .88rem; }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }
.site-footer nav { display: flex; gap: 18px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover, .site-footer a:focus-visible { color: var(--ink); }

.legal { padding: clamp(40px, 8vw, 80px) 0; max-width: 70ch; }
.legal h1 { text-align: left; font-size: clamp(2rem, 6vw, 3rem); margin-bottom: 24px; max-width: none; }
.legal h2 { font-size: 1.2rem; margin: 28px 0 8px; }
.legal p, .legal li { color: var(--muted); }
.todo { color: #4cf0a5; }

a:focus-visible, .btn:focus-visible { outline: 3px solid var(--acc1); outline-offset: 3px; border-radius: 8px; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }
@media (max-width: 560px) {
  .product { grid-template-columns: 1fr; }
  .site-nav { gap: 14px; font-size: .85rem; }
  .brand span { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .phone-hero { animation: none; }
  .btn { transition: none; }
}

/* News */
.news-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; }
.news-head .section-intro { margin-bottom: 24px; }
.news-controls { display: flex; gap: 8px; margin-bottom: 24px; }
.news-btn { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); color: var(--ink); font-size: 1.5rem; line-height: 1; cursor: pointer; transition: border-color .2s, scale .15s; }
.news-btn:hover, .news-btn:focus-visible { border-color: var(--muted); }
.news-btn:active { scale: .94; }
.news-track { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 4px; }
.news-track::-webkit-scrollbar { display: none; }
.news-track:focus-visible { outline: 3px solid var(--acc1); outline-offset: 4px; border-radius: 12px; }
.news-card { flex: 0 0 min(340px, 82%); scroll-snap-align: start; padding: 24px; background: var(--surface); border: 1px solid var(--line); border-radius: 22px; }
.news-meta { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; font-size: .82rem; color: var(--muted); }
.news-tag { padding: 3px 11px; border-radius: 999px; font-weight: 600; font-size: .75rem; color: #04130c; background: linear-gradient(135deg, var(--acc1), var(--acc2)); }
.news-card h3 { margin: 0 0 8px; font-size: 1.1rem; line-height: 1.3; }
.news-card p { margin: 0; color: var(--muted); font-size: .95rem; }
@media (prefers-reduced-motion: reduce) { .news-track { scroll-behavior: auto; } .news-btn { transition: none; } }

@media (max-width: 760px) {
  .hero-grid { grid-template-columns: 1fr; text-align: left; }
  .hero-visual { min-height: 320px; }
  .steps { grid-template-columns: 1fr; gap: 44px; }
  .studio-grid { grid-template-columns: 1fr; }
  .studio-star { max-width: 220px; }
  .site-nav { gap: 12px; font-size: .82rem; }
}

/* Studio start page: hero star, product cards */
.hero-visual .hero-star { position: relative; width: min(100%, 460px); opacity: 1; animation: float 8s ease-in-out infinite; }
.products { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.product-card { display: grid; gap: 14px; align-content: start; padding: 28px; background: linear-gradient(180deg, var(--surface-2), var(--surface)); border: 1px solid var(--line); border-radius: 28px; }
.product-card h3 { margin: 0; font-size: 1.5rem; letter-spacing: -.02em; }
.product-card p { margin: 0; color: var(--muted); }
.product-card .section-head { margin: 0; }
.product-shot { justify-self: center; width: min(200px, 60%); margin-top: 6px; }
.product-card.soon { border-style: dashed; background: transparent; place-content: center; text-align: center; min-height: 240px; color: var(--muted); }
.news-card[data-tag="Really4Me"] .news-tag { background: linear-gradient(135deg, #4cf0a5, #1de0f5); }
.back-link { color: var(--muted); text-decoration: none; font-size: .92rem; }
.back-link:hover, .back-link:focus-visible { color: var(--ink); }
.page-hero { padding: clamp(36px, 7vw, 72px) 0 0; }
@media (prefers-reduced-motion: reduce) { .hero-visual .hero-star { animation: none; } }
.cards3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; }
.card { padding: 24px; background: var(--surface); border: 1px solid var(--line); border-radius: 22px; }
section.alt .card { background: var(--bg); }
.card h3 { margin: 0 0 8px; font-size: 1.1rem; }
.card p { margin: 0; color: var(--muted); font-size: .96rem; }
