:root {
  --bg: #0b0b0f;
  --bg-2: #121218;
  --card: #16161d;
  --line: #26262f;
  --text: #f4f2ee;
  --muted: #a3a1ab;
  --gold: #e3b45c;
  --gold-2: #f2d18b;
  --accent: #c9765f;
  --radius: 20px;
  --max: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
img { max-width: 100%; display: block; }

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

/* Header */
.nav {
  position: sticky; top: 0; z-index: 10;
  background: rgba(11, 11, 15, 0.78);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 700; letter-spacing: 0.2px; }
.brand svg { width: 30px; height: 30px; }
.brand small { color: var(--muted); font-weight: 500; }
.nav-links { display: flex; gap: 22px; }
.nav-links a { text-decoration: none; color: var(--muted); font-size: 14px; font-weight: 500; }
.nav-links a:hover { color: var(--text); }
@media (max-width: 640px) { .nav-links .hide-sm { display: none; } .nav-links { gap: 16px; } }

/* Hero */
.hero { position: relative; overflow: hidden; padding: 110px 0 90px; }
.hero::before {
  content: ''; position: absolute; inset: -40% -10% auto;
  height: 620px;
  background: radial-gradient(closest-side, rgba(227, 180, 92, 0.18), transparent 70%),
              radial-gradient(closest-side at 70% 60%, rgba(201, 118, 95, 0.16), transparent 70%);
  pointer-events: none;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px; border-radius: 999px;
  border: 1px solid var(--line); background: var(--bg-2);
  color: var(--gold-2); font-size: 13px; font-weight: 600;
}
.eyebrow::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }
h1, h2, h3 { font-family: 'Fraunces', Georgia, serif; font-weight: 600; letter-spacing: -0.02em; line-height: 1.1; margin: 0; }
.hero h1 { font-size: clamp(40px, 7vw, 72px); margin: 22px 0 18px; max-width: 820px; }
.hero h1 em { font-style: italic; color: var(--gold-2); }
.lead { font-size: clamp(17px, 2.2vw, 20px); color: var(--muted); max-width: 640px; margin: 0; }
.cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 34px; }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 22px; border-radius: 999px;
  font-weight: 600; font-size: 15px; text-decoration: none;
  border: 1px solid var(--line); transition: transform .15s ease, background .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: linear-gradient(135deg, var(--gold-2), var(--gold)); color: #1a1406; border-color: transparent; }
.btn-ghost { background: var(--bg-2); }

/* Sections */
section { padding: 80px 0; }
.section-head { margin-bottom: 40px; max-width: 640px; }
.section-head h2 { font-size: clamp(30px, 4.5vw, 44px); margin-bottom: 12px; }
.section-head p { color: var(--muted); margin: 0; }
.kicker { color: var(--gold); font-size: 13px; font-weight: 700; letter-spacing: 1.6px; text-transform: uppercase; margin-bottom: 12px; display: block; }

.grid { display: grid; gap: 18px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 860px) { .grid-3, .grid-2 { grid-template-columns: 1fr; } }

.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px;
}
.card h3 { font-size: 22px; margin: 16px 0 8px; }
.card p { color: var(--muted); margin: 0; }
.icon {
  width: 44px; height: 44px; border-radius: 12px;
  display: grid; place-items: center;
  background: rgba(227, 180, 92, 0.12); color: var(--gold-2);
}
.icon svg { width: 22px; height: 22px; }

/* App card */
.app-card {
  display: grid; grid-template-columns: auto 1fr auto; gap: 24px; align-items: center;
  background: linear-gradient(135deg, rgba(201, 118, 95, 0.16), rgba(22, 22, 29, 1) 55%);
  border: 1px solid var(--line); border-radius: 24px; padding: 28px;
  text-decoration: none;
  transition: border-color .2s ease, transform .2s ease;
}
.app-card:hover { border-color: #3a3a46; transform: translateY(-2px); }
.app-card img { width: 88px; height: 88px; border-radius: 22px; }
.app-card h3 { font-size: 28px; }
.app-card p { color: var(--muted); margin: 6px 0 0; }
.tags { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; }
.tag { font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: var(--bg-2); border: 1px solid var(--line); color: var(--muted); }
.arrow { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line); }
.soon {
  border: 1px dashed var(--line); border-radius: 24px; padding: 28px;
  display: flex; align-items: center; gap: 18px; color: var(--muted); margin-top: 18px;
}
@media (max-width: 640px) {
  .app-card { grid-template-columns: 1fr; }
  .app-card .arrow { display: none; }
}

/* Contact */
.contact { display: grid; grid-template-columns: 1.2fr 1fr; gap: 18px; }
@media (max-width: 860px) { .contact { grid-template-columns: 1fr; } }
.contact .card a { color: var(--gold-2); text-decoration: none; font-weight: 600; }
.contact dl { margin: 0; display: grid; gap: 16px; }
.contact dt { color: var(--muted); font-size: 13px; }
.contact dd { margin: 2px 0 0; }

/* Footer */
footer { border-top: 1px solid var(--line); padding: 36px 0 48px; color: var(--muted); font-size: 14px; }
footer .wrap { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
footer nav { display: flex; gap: 18px; flex-wrap: wrap; }
footer a { text-decoration: none; }
footer a:hover { color: var(--text); }

/* App page */
.app-hero { display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: center; }
@media (max-width: 860px) { .app-hero { grid-template-columns: 1fr; } }
.app-hero .app-icon { width: 96px; height: 96px; border-radius: 24px; margin-bottom: 22px; box-shadow: 0 20px 50px rgba(201, 118, 95, 0.3); }
.phone {
  justify-self: center; width: 280px; aspect-ratio: 9 / 19; border-radius: 42px;
  background: #1a1513; border: 8px solid #2a2523; padding: 22px 16px; display: flex; flex-direction: column; gap: 12px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
}
.phone .p-date { font-size: 10px; letter-spacing: 1.2px; color: #a59b92; text-transform: uppercase; }
.phone .p-title { font-family: 'Fraunces', serif; font-size: 24px; color: #f3eee8; }
.phone .p-card { background: linear-gradient(180deg, #f3eee8, #d8cfc6); border-radius: 18px; padding: 12px; color: #151210; }
.phone .p-pill { display: inline-block; font-size: 9px; font-weight: 700; letter-spacing: 1px; color: #a8834a; background: rgba(205, 168, 108, 0.2); padding: 3px 8px; border-radius: 99px; }
.phone .p-name { font-weight: 700; font-size: 14px; margin: 8px 0; }
.phone .p-items { display: grid; grid-template-columns: repeat(4, 1fr); gap: 5px; }
.phone .p-items img { aspect-ratio: 4/5; width: 100%; object-fit: contain; background: #fff; border-radius: 7px; }
.phone .p-btn { margin-top: 10px; background: #d58c78; color: #fff; font-size: 11px; font-weight: 600; border-radius: 99px; padding: 7px; text-align: center; }
.phone .p-chat { background: #1f1b18; border-radius: 14px; padding: 10px; font-size: 11px; color: #f3eee8; }
.phone .p-chat b { color: #d58c78; }
.store { display: inline-flex; align-items: center; gap: 10px; padding: 10px 18px; border-radius: 12px; background: #fff; color: #000; text-decoration: none; font-weight: 600; }
.store small { display: block; font-size: 10px; font-weight: 500; line-height: 1; }
.subnav { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 26px; }
.subnav a { padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); text-decoration: none; font-size: 14px; color: var(--muted); }
.subnav a:hover, .subnav a.on { color: var(--text); border-color: #3a3a46; background: var(--bg-2); }

/* Legal pages */
.legal { padding: 64px 0 90px; }
.legal .wrap { max-width: 780px; }
.legal h1 { font-size: clamp(34px, 5vw, 48px); margin: 14px 0 8px; }
.legal .updated { color: var(--muted); font-size: 14px; margin-bottom: 36px; }
.legal h2 { font-family: 'Inter', sans-serif; font-size: 20px; font-weight: 700; letter-spacing: 0; margin: 40px 0 10px; }
.legal h3 { font-family: 'Inter', sans-serif; font-size: 16px; font-weight: 700; letter-spacing: 0; margin: 22px 0 6px; }
.legal p, .legal li { color: #d6d3dc; }
.legal ul { padding-left: 20px; }
.legal li { margin: 6px 0; }
.legal a { color: var(--gold-2); }
.legal .box { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 18px 20px; margin: 18px 0; }
.legal table { width: 100%; border-collapse: collapse; font-size: 14px; margin: 14px 0; }
.legal th, .legal td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; color: #d6d3dc; }
.legal th { color: var(--text); }
.table-wrap { overflow-x: auto; }
.back { color: var(--muted); text-decoration: none; font-size: 14px; }
.back:hover { color: var(--text); }

/* FAQ */
details { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; margin: 10px 0; }
summary { cursor: pointer; font-weight: 600; color: var(--text); }
details p { margin: 10px 0 0; }
