:root {
  --baize-deep: #091610;
  --baize-mid: #10261b;
  --baize-glow: #183828;
  --leather-top: #231913;
  --leather-bot: #17110d;
  --leather-card: rgba(27, 20, 16, 0.84);
  --walnut-card: rgba(20, 34, 26, 0.72);
  --gold: #ebc983;
  --gold-bright: #f5dda4;
  --gold-muted: rgba(235, 201, 131, 0.74);
  --gold-faint: rgba(235, 201, 131, 0.14);
  --line: rgba(235, 201, 131, 0.18);
  --line-stitch: rgba(235, 201, 131, 0.26);
  --ink: #efe6d5;
  --soft: rgba(239, 230, 213, 0.72);
  --dim: rgba(239, 230, 213, 0.50);
  --shadow-lg: 0 28px 64px rgba(0, 0, 0, 0.62);
  --shadow-md: 0 16px 36px rgba(0, 0, 0, 0.45);
  --serif: "Songti SC", "STSong", "Noto Serif CJK SC", "Hiragino Mincho ProN", Georgia, Baskerville, "Times New Roman", serif;
  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "PingFang SC", "PingFang TC", "Hiragino Sans", "Helvetica Neue", sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  color-scheme: dark;
}

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  background-color: var(--baize-deep);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  margin: 0;
  color: var(--ink);
  font: 16.5px/1.75 var(--sans);
  background-color: var(--baize-deep);
  background-image:
    radial-gradient(ellipse 900px 620px at 50% 8%, rgba(28, 68, 47, 0.68), transparent 70%),
    radial-gradient(ellipse 760px 540px at 82% 42%, rgba(36, 26, 18, 0.48), transparent 72%),
    linear-gradient(180deg, #0b1b13 0%, #091610 52%, #08120d 100%);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--gold);
  text-underline-offset: 3px;
  transition: color 0.18s ease, border-color 0.18s ease, background-color 0.18s ease;
}

a:hover {
  color: var(--gold-bright);
}

a:focus-visible, summary:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 6px;
}

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 700;
  line-height: 1.26;
  margin: 0;
  color: var(--ink);
}

.skip {
  position: absolute;
  left: -9999px;
  top: 8px;
  z-index: 200;
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--gold);
  color: var(--leather-bot);
  font-weight: 600;
  text-decoration: none;
}

.skip:focus {
  left: 16px;
}

.wrap {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

/* Sticky Top Navigation */
.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: rgba(9, 22, 16, 0.82);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 68px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  color: var(--ink);
}

.brand img {
  width: 38px;
  height: 38px;
  border-radius: 9px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(235, 201, 131, 0.30);
}

.brand-name {
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--gold);
}

.brand-sub {
  font-size: 12.5px;
  color: var(--dim);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
  font-size: 14.5px;
}

.site-nav a {
  color: var(--soft);
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--gold);
}

.site-nav .lang-pill {
  border: 1px solid var(--line-stitch);
  background: rgba(235, 201, 131, 0.08);
  color: var(--gold);
  border-radius: 999px;
  padding: 4px 13px;
  font-size: 13px;
  letter-spacing: 0.02em;
}

.site-nav .lang-pill:hover {
  background: rgba(235, 201, 131, 0.16);
}

/* Hero Section */
.hero {
  padding: 68px 0 56px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: 52px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 14px;
  border-radius: 999px;
  border: 1px solid var(--line-stitch);
  background: var(--gold-faint);
  color: var(--gold);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.hero h1 {
  font-size: clamp(36px, 5.2vw, 56px);
  color: var(--gold-bright);
  letter-spacing: 0.02em;
  margin-bottom: 18px;
  text-shadow: 0 6px 24px rgba(0, 0, 0, 0.55);
}

.hero .lead {
  font-size: clamp(17.5px, 2vw, 20px);
  color: var(--soft);
  margin: 0 0 28px;
  max-width: 33em;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 13px 26px;
  border-radius: 999px;
  background: linear-gradient(180deg, #f3d695 0%, #dfb567 100%);
  color: #1a120c;
  font-family: var(--serif);
  font-weight: 700;
  font-size: 16px;
  text-decoration: none;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.45);
}

.btn-primary:hover {
  color: #120c08;
  background: linear-gradient(180deg, #f8e1ab 0%, #e7c074 100%);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  border: 1px solid var(--line-stitch);
  background: rgba(27, 20, 16, 0.65);
  color: var(--ink);
  font-size: 15px;
  text-decoration: none;
}

.btn-secondary:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.hero-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  font-size: 13.5px;
  color: var(--dim);
  margin: 0;
  padding: 0;
  list-style: none;
}

.hero-specs li::before {
  content: "✦ ";
  color: var(--gold-muted);
}

/* Bezel Device Frames */
.device-frame {
  border-radius: 40px;
  padding: 9px;
  background: linear-gradient(160deg, #2d251d 0%, #161310 100%);
  border: 1.5px solid rgba(235, 201, 131, 0.42);
  box-shadow: var(--shadow-lg);
}

.device-frame img {
  border-radius: 32px;
  width: 100%;
  height: auto;
}

.hero-stage {
  display: flex;
  justify-content: center;
}

.hero-stage .device-frame {
  max-width: 326px;
}

/* Section Headers */
.section {
  padding: 64px 0;
  border-top: 1px dashed var(--line);
}

.section-head {
  max-width: 720px;
  margin-bottom: 40px;
}

.section-kicker {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-muted);
  margin-bottom: 8px;
}

.section-head h2 {
  font-size: clamp(27px, 3.6vw, 38px);
  color: var(--gold-bright);
  margin-bottom: 12px;
}

.section-head p {
  margin: 0;
  color: var(--soft);
  font-size: 17px;
}

/* 4-Screen Signature Gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.gallery-card {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.gallery-card .device-frame {
  border-radius: 30px;
  padding: 7px;
  box-shadow: var(--shadow-md);
}

.gallery-card .device-frame img {
  border-radius: 24px;
}

.gallery-card figcaption strong {
  display: block;
  font-family: var(--serif);
  font-size: 16.5px;
  color: var(--gold);
  margin-bottom: 4px;
}

.gallery-card figcaption span {
  display: block;
  font-size: 14px;
  line-height: 1.55;
  color: var(--soft);
}

/* 6 Handcrafted Vessels Acoustic Matrix */
.vessel-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.vessel-card {
  background: linear-gradient(180deg, rgba(35, 25, 19, 0.88) 0%, rgba(22, 16, 12, 0.92) 100%);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 22px;
  box-shadow: var(--shadow-md);
}

.vessel-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.vessel-ident {
  display: flex;
  align-items: center;
  gap: 12px;
}

.swatch {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: inset 0 2px 5px rgba(255, 255, 255, 0.24), 0 4px 10px rgba(0, 0, 0, 0.45);
  flex-shrink: 0;
}

.swatch-walnut  { background: radial-gradient(circle at 35% 30%, #94633e, #4a2d18 75%); }
.swatch-bamboo  { background: radial-gradient(circle at 35% 30%, #e1bc7b, #967239 75%); }
.swatch-leather { background: radial-gradient(circle at 35% 30%, #a8643e, #542a16 75%); }
.swatch-bakelite{ background: radial-gradient(circle at 35% 30%, #dc4d41, #781c16 75%); }
.swatch-brass   { background: radial-gradient(circle at 35% 30%, #f5df96, #96782d 75%); }
.swatch-celadon { background: radial-gradient(circle at 35% 30%, #b4dacd, #5d8679 75%); }

.vessel-card h3 {
  font-size: 18px;
  color: var(--ink);
}

.hz-pill {
  font-family: var(--mono);
  font-size: 12px;
  font-variant-numeric: tabular-nums;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--gold-faint);
  border: 1px solid var(--line-stitch);
  color: var(--gold);
  white-space: nowrap;
}

.vessel-meta {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--dim);
  margin-bottom: 8px;
}

.vessel-card p {
  margin: 0;
  font-size: 14.5px;
  color: var(--soft);
  line-height: 1.6;
}

/* Foldable iPhone Duo Showcase */
.duo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: start;
}

.duo-card {
  background: rgba(16, 36, 26, 0.58);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 24px;
}

.duo-card .device-frame {
  border-radius: 28px;
  padding: 8px;
  margin-bottom: 18px;
}

.duo-card .device-frame img {
  border-radius: 21px;
}

.duo-card h3 {
  font-size: 20px;
  color: var(--gold);
  margin-bottom: 8px;
}

.duo-card p {
  margin: 0;
  font-size: 15px;
  color: var(--soft);
}

/* Craft Pillars & Pricing Grid */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.pillar-card {
  background: var(--walnut-card);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 24px;
}

.pillar-card h3 {
  font-size: 19px;
  color: var(--gold);
  margin-bottom: 8px;
}

.pillar-card p {
  margin: 0;
  font-size: 15px;
  color: var(--soft);
}

.pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.tier-card {
  background: linear-gradient(180deg, rgba(27, 20, 16, 0.86) 0%, rgba(18, 13, 10, 0.92) 100%);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 28px;
}

.tier-card.pro {
  border-color: rgba(235, 201, 131, 0.48);
  background: linear-gradient(180deg, rgba(42, 30, 20, 0.92) 0%, rgba(23, 16, 11, 0.96) 100%);
}

.tier-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
  padding-bottom: 14px;
  border-bottom: 1px dashed var(--line);
}

.tier-head h3 {
  font-size: 22px;
  color: var(--gold-bright);
}

.tier-price {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 700;
  color: var(--gold);
}

.tier-list {
  margin: 0;
  padding-left: 1.2em;
  color: var(--soft);
  font-size: 15px;
}

.tier-list li {
  margin-bottom: 8px;
}

/* Legal / Support Document Pages */
.doc-main {
  padding: 52px 0 84px;
}

.doc-wrap {
  width: min(780px, calc(100% - 40px));
  margin: 0 auto;
}

.breadcrumb {
  font-size: 13.5px;
  color: var(--dim);
  margin-bottom: 18px;
}

.breadcrumb a {
  color: var(--soft);
  text-decoration: none;
}

.breadcrumb a:hover {
  color: var(--gold);
}

.doc-header {
  margin-bottom: 32px;
  padding-bottom: 22px;
  border-bottom: 1px dashed var(--line);
}

.doc-header h1 {
  font-size: clamp(30px, 4.4vw, 42px);
  color: var(--gold-bright);
  margin-bottom: 8px;
}

.doc-meta {
  margin: 0;
  font-size: 14px;
  color: var(--dim);
}

.doc-section {
  margin-bottom: 32px;
}

.doc-section h2 {
  font-size: 21px;
  color: var(--gold);
  margin: 28px 0 10px;
}

.doc-section p,
.doc-section li {
  color: var(--soft);
  font-size: 16px;
}

.doc-section strong {
  color: var(--ink);
}

.doc-section ul {
  padding-left: 1.25em;
  margin: 10px 0;
}

.doc-section li {
  margin-bottom: 8px;
}

.faq-list {
  border-top: 1px solid var(--line);
}

details.faq-item {
  border-bottom: 1px solid var(--line);
  padding: 16px 0;
}

details.faq-item summary {
  cursor: pointer;
  list-style: none;
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
  position: relative;
  padding-right: 32px;
}

details.faq-item summary::-webkit-details-marker {
  display: none;
}

details.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 4px;
  top: -2px;
  color: var(--gold);
  font-family: var(--sans);
  font-size: 22px;
  font-weight: 400;
}

details.faq-item[open] summary::after {
  content: "−";
}

details.faq-item .faq-body {
  margin-top: 10px;
  color: var(--soft);
  font-size: 15.5px;
}

details.faq-item .faq-body p {
  margin: 0 0 8px;
}

.contact-card {
  background: linear-gradient(180deg, rgba(35, 25, 19, 0.88) 0%, rgba(22, 16, 12, 0.94) 100%);
  border: 1px solid var(--line-stitch);
  border-radius: 18px;
  padding: 22px 26px;
  margin-top: 36px;
}

.contact-card h2 {
  font-size: 19px;
  color: var(--gold);
  margin: 0 0 8px;
}

.contact-card p {
  margin: 0;
  font-size: 15px;
  color: var(--soft);
}

/* 404 Page */
.notfound-box {
  text-align: center;
  padding: 110px 0 130px;
}

.notfound-box h1 {
  font-size: clamp(34px, 5vw, 48px);
  color: var(--gold-bright);
  margin-bottom: 14px;
}

.notfound-box p {
  color: var(--soft);
  margin: 0 auto 28px;
  max-width: 30em;
}

.notfound-box .cta-row {
  justify-content: center;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  background: rgba(7, 16, 11, 0.72);
  padding: 36px 0 48px;
  font-size: 14px;
  color: var(--dim);
}

.footer-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px 24px;
  margin-bottom: 16px;
}

.footer-links,
.footer-langs,
.footer-legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 18px;
}

.site-footer a {
  color: var(--soft);
  text-decoration: none;
}

.site-footer a:hover,
.site-footer a[aria-current="page"] {
  color: var(--gold);
}

.footer-legal {
  padding-top: 14px;
  border-top: 1px dashed rgba(235, 201, 131, 0.12);
  font-size: 13px;
  color: var(--dim);
}

/* Responsive Breakpoints */
@media (max-width: 960px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .vessel-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .pillars-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .wrap {
    width: calc(100% - 28px);
  }
  .brand-sub {
    display: none;
  }
  .site-nav {
    gap: 12px;
    font-size: 13.5px;
  }
  .hide-mobile {
    display: none;
  }
  .hero {
    padding: 40px 0 36px;
  }
  .hero-grid,
  .duo-grid,
  .pricing-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .hero-stage .device-frame {
    max-width: 268px;
  }
  .section {
    padding: 44px 0;
  }
  .vessel-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .gallery-grid {
    grid-template-columns: 1fr;
    max-width: 310px;
    margin: 0 auto;
  }
}
