:root {
  --bg: #0d0f12;
  --bg-soft: #14171c;
  --bg-card: #181b21;
  --line: #262b33;
  --ink: #f4f1ea;
  --ink-muted: #a7adb8;
  --ink-faint: #6f7681;
  --gold: #c8a45c;
  --gold-soft: #e2c685;
  --green: #4cae8f;
  --radius: 16px;
  --radius-sm: 10px;
  --maxw: 1140px;
  --display: "Archivo", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }

a { color: var(--gold-soft); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--gold); }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

.eyebrow {
  text-transform: uppercase;
  letter-spacing: .18em;
  font-size: 12px;
  font-weight: 600;
  color: var(--gold);
  margin-bottom: 18px;
}

.section-title {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(28px, 4.4vw, 42px);
  line-height: 1.12;
  letter-spacing: -0.022em;
  margin-bottom: 18px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, background .2s ease, border-color .2s ease, color .2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--gold); color: #1a1407; }
.btn-primary:hover { background: var(--gold-soft); color: #1a1407; }
.btn-ghost { border-color: var(--line); color: var(--ink); background: transparent; }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold-soft); }
.btn-block { width: 100%; }

/* HEADER / NAV */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(13, 15, 18, 0.82);
  backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 70px; }
.brand { display: flex; align-items: center; gap: 11px; color: var(--ink); font-weight: 600; }
.brand:hover { color: var(--ink); }
.brand-mark { border-radius: 8px; }
.brand-name { font-family: var(--display); font-size: 17px; font-weight: 700; text-transform: uppercase; letter-spacing: .16em; }
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links > a { color: var(--ink-muted); font-size: 15px; font-weight: 500; }
.nav-links > a:hover { color: var(--ink); }
.nav-cta {
  border: 1px solid var(--line);
  padding: 8px 18px;
  border-radius: 999px;
  color: var(--ink) !important;
}
.nav-cta:hover { border-color: var(--gold); color: var(--gold-soft) !important; }
.nav-toggle { display: none; background: none; border: 0; flex-direction: column; gap: 5px; cursor: pointer; padding: 8px; }
.nav-toggle span { width: 24px; height: 2px; background: var(--ink); border-radius: 2px; transition: .25s ease; }

/* HERO */
.hero {
  position: relative;
  padding: clamp(64px, 12vw, 130px) 0 clamp(56px, 9vw, 96px);
  overflow: hidden;
  background:
    radial-gradient(900px 500px at 75% -10%, rgba(200,164,92,0.12), transparent 60%),
    radial-gradient(700px 500px at 10% 10%, rgba(76,174,143,0.07), transparent 55%);
}
.hero-inner { max-width: 880px; }
.hero-title {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(38px, 6.6vw, 64px);
  line-height: 1.05;
  letter-spacing: -0.035em;
  margin-bottom: 24px;
}
.hero-sub { font-size: clamp(17px, 2.2vw, 20px); color: var(--ink-muted); max-width: 620px; margin-bottom: 34px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 56px; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 40px; border-top: 1px solid var(--line); padding-top: 30px; }
.hero-meta > div { display: flex; flex-direction: column; }
.meta-num { font-family: var(--display); font-size: 28px; font-weight: 700; letter-spacing: -0.01em; color: var(--ink); line-height: 1.1; }
.meta-label { font-size: 13.5px; color: var(--ink-faint); margin-top: 4px; }

/* SECTIONS */
.section { padding: clamp(64px, 10vw, 110px) 0; }
.product { background: var(--bg-soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 760px; margin-bottom: 56px; }
.section-lead { color: var(--ink-muted); font-size: clamp(16px, 2vw, 19px); margin-bottom: 26px; }

.product-brand { display: flex; align-items: center; gap: 18px; margin-bottom: 22px; }
.product-brand .section-title { margin-bottom: 4px; }
.histou-icon { border-radius: 15px; border: 1px solid var(--line); flex-shrink: 0; box-shadow: 0 10px 26px -16px rgba(0,0,0,0.8); }
.product-tagline { color: var(--ink-faint); font-size: 14.5px; }
.product-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }

.appstore-link { display: inline-flex; line-height: 0; }
.appstore-link img { display: block; height: 44px; width: auto; }

/* FEATURES */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
  margin-bottom: 64px;
}
.feature {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 26px;
  transition: border-color .2s ease, transform .2s ease;
}
.feature:hover { border-color: rgba(200,164,92,0.45); transform: translateY(-3px); }
.feature h3 { font-family: var(--display); font-size: 20px; font-weight: 700; letter-spacing: -0.01em; margin-bottom: 10px; }
.feature p { color: var(--ink-muted); font-size: 15.5px; }

/* SCREENSHOTS */
.shots {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
  margin-bottom: 40px;
}
.shot img {
  width: 100%;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: #0a0c0f;
  box-shadow: 0 18px 40px -22px rgba(0,0,0,0.85);
}
.product-note { color: var(--ink-faint); font-size: 14px; max-width: 760px; }
.product-avail { color: var(--ink-muted); font-size: 15px; margin-bottom: 26px; }
.transfer-note { color: var(--ink-faint); font-size: 13px; font-style: italic; margin-top: 16px; max-width: 640px; }

/* ABOUT / COMPANY */
.about-inner { display: grid; grid-template-columns: 1.4fr 1fr; gap: 56px; align-items: start; }
.about-copy p { color: var(--ink-muted); margin-bottom: 18px; max-width: 600px; }
.company-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 30px 12px;
  position: sticky;
  top: 96px;
}
.company-card img { border-radius: 9px; margin-bottom: 16px; }
.company-card h3 {
  font-family: var(--display);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--ink-faint);
  margin-bottom: 8px;
}
.company-facts { margin: 0; }
.company-facts > div {
  display: flex; justify-content: space-between; gap: 20px;
  padding: 15px 0; border-bottom: 1px solid var(--line); font-size: 15px;
}
.company-facts > div:last-child { border-bottom: 0; }
.company-facts dt { color: var(--ink-faint); }
.company-facts dd { margin: 0; color: var(--ink); font-weight: 500; text-align: right; }

/* CONTACT */
.contact { background: var(--bg-soft); border-top: 1px solid var(--line); }
.contact-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.contact-copy p { color: var(--ink-muted); margin-bottom: 16px; max-width: 460px; }
.contact-direct a { font-family: var(--display); font-size: 26px; }
.contact-form { background: var(--bg-card); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 13px; font-weight: 600; letter-spacing: .03em; text-transform: uppercase; color: var(--ink-faint); margin-bottom: 8px; }
.field input, .field textarea {
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  color: var(--ink);
  font-family: inherit;
  font-size: 15px;
  transition: border-color .2s ease;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--gold); }
.field textarea { resize: vertical; }
.form-hint { font-size: 13px; color: var(--ink-faint); margin-top: 12px; text-align: center; }

/* FOOTER */
.site-footer { border-top: 1px solid var(--line); padding: 50px 0; background: var(--bg); }
.footer-inner { display: flex; flex-direction: column; gap: 22px; align-items: center; text-align: center; }
.footer-brand { display: flex; align-items: center; gap: 10px; font-family: var(--display); font-size: 20px; }
.footer-brand img { border-radius: 7px; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 22px; }
.footer-links a { color: var(--ink-muted); font-size: 14.5px; }
.footer-links a:hover { color: var(--gold-soft); }
.footer-legal { color: var(--ink-faint); font-size: 13.5px; }

/* LEGAL PAGES */
.legal { padding: clamp(48px, 8vw, 90px) 0; }
.legal .container { max-width: 820px; }
.legal h1 { font-family: var(--display); font-size: clamp(34px, 6vw, 52px); font-weight: 700; margin-bottom: 8px; }
.legal .updated { color: var(--ink-faint); font-size: 14px; margin-bottom: 40px; }
.legal h2 { font-family: var(--display); font-size: 27px; font-weight: 600; margin: 38px 0 12px; }
.legal h3 { font-size: 18px; font-weight: 600; margin: 24px 0 8px; }
.legal p, .legal li { color: var(--ink-muted); margin-bottom: 14px; }
.legal ul { padding-left: 22px; margin-bottom: 14px; }
.legal a { text-decoration: underline; }
.back-link { display: inline-block; margin-bottom: 28px; font-size: 14px; }

/* RESPONSIVE */
@media (max-width: 860px) {
  .nav-toggle { display: flex; }
  .nav-links {
    position: absolute; top: 70px; left: 0; right: 0;
    flex-direction: column; align-items: flex-start; gap: 0;
    background: var(--bg-soft); border-bottom: 1px solid var(--line);
    padding: 8px 24px 18px; display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links > a { width: 100%; padding: 12px 0; border-bottom: 1px solid var(--line); }
  .nav-cta { margin-top: 12px; }
  .about-inner, .contact-inner { grid-template-columns: 1fr; gap: 36px; }
  .company-card { position: static; }
  .shots { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 520px) {
  .shots { grid-template-columns: repeat(2, 1fr); }
  .hero-meta { gap: 26px; }
  .company-facts > div { flex-direction: column; gap: 2px; }
  .company-facts dd { text-align: left; }
}
