:root {
  --ink: #f4ecdc;
  --muted: #cbbfaa;
  --gold: #d4b071;
  --gold-deep: #8d6a32;
  --line: rgba(212, 176, 113, 0.45);
  --card: rgba(16, 14, 12, 0.78);
  --serif: "Serif", "Cormorant Garamond", "Cormorant Fallback", Georgia, serif;
  --sans: "Sans", "Manrope", "Manrope Fallback", "Avenir Next", sans-serif;
  --max: 1120px;
}
@font-face {
  font-family: "Cormorant Garamond";
  src: url("/fonts/cormorant-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Cormorant Garamond";
  src: url("/fonts/cormorant-500.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Manrope";
  src: url("/fonts/manrope-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Manrope";
  src: url("/fonts/manrope-400.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Manrope";
  src: url("/fonts/manrope-400.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Manrope Fallback";
  src: local("Arial");
  size-adjust: 104%;
  ascent-override: 95%;
  descent-override: 24%;
  line-gap-override: 0%;
}
@font-face {
  font-family: "Cormorant Fallback";
  src: local("Georgia");
  size-adjust: 92%;
  ascent-override: 90%;
  descent-override: 22%;
  line-gap-override: 0%;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 18px;
  line-height: 1.6;
  background:
    radial-gradient(900px 480px at 80% -10%, rgba(212,176,113,0.12), transparent 60%),
    #070605;
}
a { color: inherit; }
img { max-width: 100%; display: block; }
main h1, main h2, main h3, main p, main li { overflow-wrap: anywhere; hyphens: auto; }
.hero-img { max-width: 420px; }
button, input, textarea, select { font: inherit; color: inherit; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 12px; top: 12px; background: #111; padding: 8px 12px; z-index: 20; }

.nav {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(10, 9, 8, 0.86);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
  transition: transform .38s ease;
}
.nav.nav-away { transform: translateY(-110%); pointer-events: none; }
@media (prefers-reduced-motion: no-preference) {
  .rise { opacity: 0; transform: translateY(32px); transition: opacity .7s ease, transform .7s ease; }
  .rise.from-left, .rise.from-right { transform: translateY(28px); }
  .rise.in { opacity: 1; transform: none; }
}
@media (max-width: 700px) {
  .rise.from-left, .rise.from-right { transform: translateY(18px); }
  .rise.in { transform: none; }
}
.nav-inner, .wrap { max-width: var(--max); margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.nav-inner { display: flex; align-items: center; justify-content: space-between; padding-top: 16px; padding-bottom: 16px; gap: 18px; }
.brand { text-decoration: none; display: flex; flex-direction: row; align-items: center; gap: 12px; line-height: 1; }
.brand img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; flex: none; display: block; }
.brand-copy { display: flex; flex-direction: column; }
.brand strong { font-family: var(--serif); font-size: 26px; font-weight: 560; letter-spacing: 0.01em; }
.brand .brand-copy > span { margin-top: 6px; font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold); }
.nav-links { display: flex; align-items: center; gap: 22px; }
.nav-links a { text-decoration: none; color: var(--muted); font-size: 14px; letter-spacing: 0.04em; }
.nav-links a:hover, .nav-links a.active { color: var(--gold); }
.drop { position: relative; }
.menu {
  display: none;
  position: absolute;
  top: 100%;
  left: -18px;
  min-width: 230px;
  padding: 16px 8px 8px;
  background: transparent;
  border: 0;
  z-index: 40;
}
.menu::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 16px;
  bottom: 0;
  background: #120f0c;
  border: 1px solid var(--line);
  z-index: -1;
}
.drop:hover .menu, .drop:focus-within .menu, .drop.stay .menu { display: block; }
.menu a { display: block; padding: 10px 12px; color: var(--ink); }
.menu a:hover { background: rgba(212,176,113,0.08); }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border: 1px solid var(--gold);
  color: #1a140c;
  background: linear-gradient(180deg, #e6cb8d, #b68945);
  padding: 12px 18px;
  min-height: 44px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 700;
}
.btn.ghost { background: transparent; color: var(--gold); }
.btn.ghost:hover { background: rgba(212,176,113,0.1); }
.nav-cta { padding: 10px 14px; }
.burger { display: none; width: 42px; height: 42px; background: transparent; border: 1px solid var(--line); }
.burger span { display: block; height: 1px; margin: 6px 10px; background: var(--gold); }

.frame {
  border: 1px solid var(--line);
  background: var(--card);
  box-shadow: inset 0 0 0 1px rgba(212,176,113,0.08), 0 20px 60px rgba(0,0,0,0.28);
  padding: 28px;
}
.hero { position: relative; overflow: hidden; padding: 78px 0 40px; }
.hero video, video.clip {
  position: static;
  display: block;
  width: min(100%, 380px);
  height: auto;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  background: #111;
  pointer-events: auto;
  border: 1px solid rgba(198,161,90,.45);
}
video.eye {
  display: block;
  width: min(100%, 920px);
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: #111;
  margin: 0 auto 14px;
  border: 1px solid rgba(198,161,90,.45);
}
.hero::after { content: none; }
.hero .wrap { position: relative; z-index: 1; }
.kicker { color: var(--gold); letter-spacing: 0.2em; text-transform: uppercase; font-size: 12px; font-weight: 700; margin: 0 0 14px; }
h1, h2, h3 { font-family: var(--serif); font-weight: 520; letter-spacing: -0.02em; line-height: 1.08; margin: 0 0 12px; color: #f3e2bc; }
h1 { color: #f7e7c4; text-shadow: 0 0 24px rgba(212,176,113,0.18); }
h1 { font-size: clamp(46px, 7vw, 84px); }
h2 { font-size: clamp(34px, 4vw, 52px); }
h3 { font-size: 30px; }
.lead, .muted { color: #e6d7c3; }
p { color: var(--ink); }
.lead { font-size: 18px; max-width: 66ch; line-height: 1.6; }
.narrow { max-width: 66ch; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin: 26px 0 34px; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.stat { padding: 18px; }
.stat strong { display: block; font-family: var(--serif); font-size: 28px; color: var(--gold); font-weight: 520; }
.section { padding: 72px 0; }
.metaphor { width: 100%; max-height: 440px; object-fit: cover; border: 1px solid var(--line); margin: 8px 0 18px; }
@media (max-width: 800px) { .metaphor { max-height: 160px; } }
.metaphor-sq { max-width: 360px; max-height: 360px; }
.atmosphere { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.atmosphere span { position: absolute; }
.atmosphere span:first-child {
  inset: -25%;
  background:
    radial-gradient(35% 28% at 18% 22%, rgba(212,176,113,0.18), transparent 62%),
    radial-gradient(32% 38% at 82% 78%, rgba(90,58,18,0.28), transparent 58%);
  animation: drift 32s ease-in-out infinite alternate;
}
.atmosphere span:last-child {
  inset: 0;
  opacity: 0.12;
  background: repeating-linear-gradient(90deg, transparent 0 26px, rgba(212,176,113,0.55) 26px 27px);
  animation: freq 24s linear infinite;
}
main, footer { position: relative; z-index: 1; }
@keyframes drift { to { transform: translate3d(3%, 2%, 0) scale(1.08); } }
@keyframes freq { to { background-position: 140px 0; } }
.glow { animation: glow 4.8s ease-in-out infinite; }
.glow:hover { box-shadow: 0 0 36px rgba(230,203,141,0.48); }
@keyframes glow {
  50% { box-shadow: 0 0 26px rgba(212,176,113,0.38); }
}
@media (prefers-reduced-motion: reduce) {
  .atmosphere span,
  .glow,
  .card,
  .panel,
  .book,
  .form,
  .faq details,
  .case,
  .gcard,
  .seal,
  .term,
  .term-scan,
  .compare,
  .code-view,
  .chat,
  .screen-preview,
  .demo-banner,
  [data-tool] { animation: none; }
}
.grid-2 { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 22px; align-items: start; }
.grid-4, .offers { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.card {
  display: block;
  text-decoration: none;
  border: 1px solid var(--line);
  background: rgba(12,10,9,0.8);
  padding: 26px;
  min-height: 100%;
}
.card:hover { border-color: var(--gold); background: rgba(22,17,12,0.9); }
@media (prefers-reduced-motion: no-preference) {
  .card { transition: transform .35s ease, border-color .35s ease, box-shadow .35s ease, background .35s ease; }
  .card:hover, .card.rise.in:hover {
    transform: translateY(-8px);
    box-shadow: 0 18px 40px rgba(0,0,0,.45), 0 0 0 1px rgba(212,176,113,.55), 0 0 28px rgba(212,176,113,.22);
  }
}
.num { color: var(--gold); letter-spacing: 0.16em; text-transform: uppercase; font-size: 12px; }
.more { color: var(--gold); font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; }
.quote { font-family: var(--serif); font-size: clamp(28px, 3vw, 40px); line-height: 1.2; color: var(--ink); margin: 0 0 12px; }
.list, .steps { list-style: none; margin: 0; padding: 0; }
.list li, .steps li { padding: 12px 0; border-bottom: 1px solid rgba(212,176,113,0.2); }
.steps { counter-reset: step; }
.steps li { counter-increment: step; display: grid; grid-template-columns: 56px 1fr; gap: 8px; }
.steps li::before { content: counter(step, decimal-leading-zero); color: var(--gold); font-family: var(--serif); font-size: 24px; }
.steps img { width: 100%; height: 160px; object-fit: cover; border: 1px solid rgba(212,176,113,0.45); margin: 0 0 10px; }
.form { display: grid; gap: 12px; }
label { font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold); }
input, textarea, select {
  width: 100%;
  background: rgba(0,0,0,0.35);
  border: 1px solid var(--line);
  color: var(--ink);
  padding: 12px 14px;
  min-height: 44px;
}
textarea { min-height: 140px; }
.form button { cursor: pointer; }
.note { border-left: 2px solid var(--gold); padding-left: 14px; font-size: 18px; }
.page-hero { padding: 72px 0 28px; }
.glow,
.card,
.panel,
.book,
.form,
.faq details,
.case,
.gcard,
.seal,
.term,
.term-scan,
.compare,
.code-view,
.chat,
.screen-preview,
.demo-banner,
[data-tool] {
  box-shadow: none;
}
[data-tool] .card,
[data-tool] .book,
.chat .card {
  animation: none;
}
.card:hover,
.gcard:hover,
.book:hover,
.form:hover,
[data-tool]:hover,
.chat:hover,
.term-scan:hover,
.compare:hover,
.faq details:hover {
  box-shadow: 0 0 36px rgba(230,203,141,0.48);
}
.narrow { max-width: 66ch; }
.zero-foot { margin: 0; padding: 16px 24px 4px; font-family: ui-monospace, monospace; font-size: 13px; color: var(--gold); letter-spacing: 0.03em; border-top: 1px solid var(--line); }
.foot { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 20px; }
footer h4 { margin: 0 0 10px; color: var(--gold); letter-spacing: 0.16em; text-transform: uppercase; font-size: 12px; }
footer a { text-decoration: none; }
footer ul { list-style: none; margin: 0; padding: 0; }
footer li { margin: 8px 0; }
.legal { margin-top: 22px; padding-top: 14px; border-top: 1px solid rgba(212,176,113,0.2); display: flex; justify-content: space-between; gap: 12px; font-size: 13px; color: var(--muted); }

@media (max-width: 860px) {
  .nav-links { display: none; }
  .nav-links.open { display: flex; flex-direction: column; align-items: flex-start; position: absolute; left: 0; right: 0; top: 74px; background: #100e0c; border-bottom: 1px solid var(--line); padding: 16px 24px 22px; }
  .menu { position: static; display: block; border: 0; background: transparent; padding: 0; }
  .menu::before { display: none; }
  .burger { display: block; }
  .grid-2, .grid-4, .stats, .foot { grid-template-columns: 1fr; }
  h1 { font-size: 44px; }
}

.card img, .offer-photo, .hero-img { width: 100%; height: auto; border: 1px solid rgba(212,176,113,0.45); margin-bottom: 14px; }
.pair { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; max-width: 760px; margin: 0 0 18px; }
.pair img { width: 100%; height: auto; border: 1px solid rgba(212,176,113,.45); }
@media (max-width: 640px) { .pair { grid-template-columns: 1fr; } }

.shot-pair { display: grid; grid-template-columns: 1.35fr .65fr; gap: 12px; align-items: start; margin-bottom: 14px; }
.shot-pair img { width: 100%; height: auto; border: 1px solid rgba(212,176,113,.45); margin: 0; }
.shot-slot { min-height: 220px; margin-bottom: 14px; border: 1px dashed rgba(212,176,113,.75); display: grid; place-items: center; text-align: center; padding: 28px 16px; background: rgba(0,0,0,.28); }
.shot-slot p { margin: 0; }
@media (max-width: 700px) { .shot-pair { grid-template-columns: 1fr; } }
.casa-shots { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 0 0 14px; }
.casa-shots img { width: 100%; height: auto; max-height: none; object-fit: contain; border: 1px solid rgba(212,176,113,.45); margin: 0; display: block; }

.compare { display: grid; grid-template-columns: 1fr; gap: 14px; margin: 16px 0 8px; }
.compare img { width: 100%; height: auto !important; max-height: none !important; object-fit: contain !important; background: #111; border: 1px solid rgba(212,176,113,.45); }
@media (min-width: 900px) { .compare { grid-template-columns: 1fr 1fr; } }
.photo-row { display:grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 18px 0 22px; }
.photo-row img { width:100%; height: 280px; object-fit: cover; border: 1px solid rgba(212,176,113,.5); }
@media (max-width: 800px) { .photo-row { grid-template-columns: 1fr 1fr; } .photo-row img { height: 220px; } }

.galerie{display:grid;grid-template-columns:1fr 1fr;gap:18px;align-items:start}
.gcard{margin:0;border:1px solid rgba(198,161,90,.35);background:#0c0c0c}
.gcard img{width:100%;height:auto !important;max-height:none !important;object-fit:contain !important;display:block;background:#0b0b0b}
@media(max-width:800px){.galerie{grid-template-columns:1fr}}
.reel-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(168px,1fr));gap:14px;margin-top:16px}
.reel-grid.pair{grid-template-columns:repeat(auto-fit,minmax(160px,420px));justify-content:start}
.reel-grid figure{margin:0}
.reel-grid video{width:100%;aspect-ratio:9/16;object-fit:cover;background:#000;border:1px solid rgba(198,161,90,.45);display:block}
.reel-grid figcaption{font-size:15px;line-height:1.45;margin-top:8px;color:#efe6d4}

.device-stage {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(160px, 0.48fr);
  gap: 16px;
  align-items: end;
  margin: 18px 0 8px;
}
.device-stage video {
  width: 100%;
  height: auto;
  max-width: none;
  aspect-ratio: auto;
  object-fit: contain;
  background: transparent;
  border: 0;
  box-shadow: 0 30px 80px rgba(0,0,0,.55), 0 0 0 1px rgba(212,176,113,.28);
  display: block;
}
@media (max-width: 800px) {
  .device-stage { grid-template-columns: 1fr; }
  .device-stage .device-phone { width: min(100%, 320px); margin: 0 auto; }
}

/* Mobile */

@media (max-width: 860px) {
  body { background-attachment: scroll; font-size: 16px; }
  .nav-inner, .wrap { padding-left: 16px; padding-right: 16px; }
  .brand strong { font-size: 22px; }
  .brand img { width: 52px; height: 52px; }
  .nav-links.open { top: 68px; gap: 4px; }
  .nav-links.open a, .menu a { font-size: 16px; padding: 12px 0; display: block; }
  .nav-cta { width: 100%; margin-top: 8px; }
  .hero, .page-hero, .section { padding-top: 28px; padding-bottom: 28px; }
  .hero h1 { font-size: 34px; }
  .rain-toggle { width: auto; min-width: 118px; flex: none; padding: 8px 8px; font-size: 13px; }
  h1 { font-size: 38px; }
  h2 { font-size: 30px; }
  h3 { font-size: 24px; }
  .lead { font-size: 17px; }
  .hero-actions, .btn { width: 100%; }
  .offers, .grid-4 { grid-template-columns: 1fr; }
  .frame, .card { padding: 18px; }
  .photo-row { grid-template-columns: 1fr 1fr; }
  .photo-row img { height: 180px; }
  .legal { flex-direction: column; }
  video, .clip { max-width: 100% !important; }
}

.dock {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 40;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 10px;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  background: rgba(10, 9, 8, 0.94);
  border-top: 1px solid var(--gold);
  backdrop-filter: blur(14px);
}
.dock .btn { width: auto; min-height: 44px; }
.dock .btn.ghost { background: transparent; }
body { padding-bottom: 74px; }
.faq { display: grid; gap: 8px; margin-top: 18px; }
.faq details {
  border: 1px solid var(--line);
  background: rgba(12, 10, 9, 0.8);
  padding: 0 16px;
}
.faq summary {
  cursor: pointer;
  padding: 14px 0;
  font-weight: 700;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq details p { margin: 0 0 14px; color: var(--muted); }
@media (max-width: 860px) {
  .dock { justify-content: stretch; }
  .dock .btn { flex: 1; width: auto; }
}
main, footer { position: relative; z-index: 1; }
.scroll-gold {
  position: fixed;
  top: 0; left: 0; width: 100%; height: 2px;
  transform-origin: left center;
  transform: scaleX(0);
  z-index: 80;
  pointer-events: none;
  background: linear-gradient(90deg, #8d6a32, #f3e2bc, #d4b071);
}
.gold-glow {
  position: fixed;
  left: 0; top: 0;
  width: 560px; height: 560px;
  margin: -280px 0 0 -280px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 4;
  background: radial-gradient(circle, rgba(243,226,188,.62), rgba(212,176,113,.28) 40%, transparent 70%);
}
.dust { position: fixed; inset: 0; pointer-events: none; z-index: 4; overflow: hidden; }
.dust i {
  position: absolute;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: #f3e2bc;
  box-shadow: 0 0 12px 3px rgba(240,215,162,.9);
  animation: floaty linear infinite;
}
@keyframes floaty {
  from { transform: translateY(12vh); }
  to { transform: translateY(-110vh); }
}
@keyframes ken {
  from { transform: scale(1); }
  to { transform: scale(1.045); }
}
@keyframes goldpulse {
  0%, 100% { text-shadow: 0 0 18px rgba(212,176,113,.18); }
  50% { text-shadow: 0 0 32px rgba(212,176,113,.5); }
}
@media (prefers-reduced-motion: no-preference) {
  h1 { animation: goldpulse 5s ease-in-out infinite; }
  .hero .offer-photo, .page-hero .offer-photo { animation: ken 16s ease-in-out infinite alternate; }
}
@media (prefers-reduced-motion: reduce) {
  .gold-glow, .dust { display: none; }
}
main img { cursor: zoom-in; }
main a img, main button img { cursor: pointer; }
.wipe {
  position: fixed;
  inset: 0;
  z-index: 100;
  pointer-events: none;
  background: linear-gradient(105deg, #0a0908 0%, #8d6a32 38%, #f3e2bc 50%, #d4b071 58%, #0a0908 100%);
  transform: translateX(-105%);
  transition: transform .42s ease;
}
body.wiping .wipe { transform: translateX(0); pointer-events: auto; }
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(6, 5, 4, 0.88);
  cursor: zoom-out;
}
.lightbox.open { display: flex; }
.lightbox img {
  max-width: min(1100px, 94vw);
  max-height: 90vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border: 1px solid rgba(212,176,113,.7);
  box-shadow: 0 0 40px rgba(212,176,113,.25);
  cursor: zoom-out;
}
html.intro::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 200;
  pointer-events: none;
  background: linear-gradient(105deg, #0a0908 0%, #8d6a32 38%, #f3e2bc 50%, #d4b071 58%, #0a0908 100%);
  animation: intro-wipe .55s ease forwards;
}
@keyframes intro-wipe {
  0% { transform: translateX(0); }
  100% { transform: translateX(105%); }
}
@media (hover: none) and (prefers-reduced-motion: no-preference) {
  a.btn, button.btn { animation: tapglow 1.15s ease .7s 1 both; }
}
@keyframes tapglow {
  0%, 100% { box-shadow: 0 0 0 rgba(212,176,113,0); }
  45% { box-shadow: 0 0 22px rgba(243,226,188,.85); }
}
@media print {
  .nav, .live-ticker, footer, .dock, .burger, .rain-toggle, .skip, video, .btn, .voice { display: none !important; }
  body { background: #fff !important; color: #1a140c !important; }
  h1, h2, h3, p, li, a { color: #1a140c !important; text-shadow: none !important; }
  h1 { font-size: 28px !important; }
}
