:root {
  color-scheme: dark;
  --ink: #fff8ea;
  --muted: #d4c5a9;
  --line: rgba(231, 184, 65, 0.28);
  --paper: #0c0907;
  --panel: #17100d;
  --soft: #241814;
  --accent: #b3201b;
  --accent-dark: #801412;
  --gold: #e7b841;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
}

a {
  color: inherit;
}

.site-header {
  align-items: center;
  background: rgba(12, 9, 7, 0.92);
  border-bottom: 1px solid var(--line);
  display: flex;
  height: 68px;
  justify-content: space-between;
  left: 0;
  padding: 0 28px;
  position: sticky;
  right: 0;
  top: 0;
  z-index: 10;
}

.brand {
  align-items: center;
  display: inline-flex;
  gap: 10px;
  font-size: 20px;
  font-weight: 800;
  text-decoration: none;
}

.brand img {
  border-radius: 50%;
  height: 42px;
  object-fit: cover;
  width: 42px;
}

nav {
  display: flex;
  gap: 18px;
}

nav a {
  color: #f1dfb8;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.hero {
  align-items: center;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.22)),
    url("/assets/tuntun-cover.png") center / cover;
  color: white;
  display: flex;
  min-height: calc(100vh - 68px);
  padding: 72px 28px;
}

.hero-copy {
  max-width: 640px;
  width: min(100%, 1080px);
}

.eyebrow {
  color: var(--gold);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  margin: 0 0 10px;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: var(--gold);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  font-size: clamp(42px, 8vw, 88px);
  line-height: 0.98;
  margin-bottom: 18px;
  max-width: 760px;
}

h2 {
  font-size: 34px;
  margin-bottom: 8px;
}

.hero p {
  font-size: 20px;
  line-height: 1.7;
  max-width: 560px;
}

.button,
button {
  align-items: center;
  background: var(--accent);
  border: 0;
  border-radius: 6px;
  color: white;
  cursor: pointer;
  display: inline-flex;
  font: inherit;
  font-weight: 800;
  min-height: 46px;
  padding: 0 18px;
  text-decoration: none;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button.ghost {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(231, 184, 65, 0.55);
}

.button:hover,
button:hover {
  background: var(--accent-dark);
}

button:disabled {
  cursor: wait;
  opacity: 0.72;
}

.section {
  margin: 0 auto;
  max-width: 1120px;
  padding: 72px 28px;
}

.section-heading {
  max-width: 700px;
}

.section-heading p,
.contact p {
  color: var(--muted);
  line-height: 1.7;
}

.story {
  padding-bottom: 44px;
}

.feature-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  margin-top: 26px;
}

.feature {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
}

.feature strong,
.feature span {
  display: block;
}

.feature strong {
  color: var(--gold);
  font-size: 18px;
  margin-bottom: 8px;
}

.feature span {
  color: var(--muted);
  line-height: 1.55;
}

.product-grid {
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  margin-top: 28px;
}

.product {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}

.product img {
  aspect-ratio: 4 / 3;
  display: block;
  object-fit: cover;
  width: 100%;
}

.product-body {
  padding: 20px;
}

.product-body p {
  color: var(--muted);
  line-height: 1.6;
}

.product-row {
  align-items: center;
  display: flex;
  gap: 16px;
  justify-content: space-between;
  margin-top: 18px;
}

.product-row strong {
  color: var(--gold);
  font-size: 22px;
}

.howto,
.gallery {
  align-items: center;
  display: grid;
  gap: 34px;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 390px);
}

.howto img,
.gallery img {
  border: 1px solid var(--line);
  border-radius: 8px;
  display: block;
  max-height: 560px;
  object-fit: cover;
  width: 100%;
}

.howto p,
.gallery p {
  color: var(--muted);
  line-height: 1.8;
}

ul {
  color: var(--muted);
  line-height: 1.9;
  margin: 18px 0 0;
  padding-left: 22px;
}

.gallery {
  grid-template-columns: minmax(260px, 390px) minmax(0, 1fr);
}

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

.status-page {
  align-items: center;
  display: flex;
  min-height: 100vh;
  padding: 28px;
}

.status-panel {
  margin: 0 auto;
  max-width: 620px;
}

.status-panel p {
  color: var(--muted);
  line-height: 1.7;
}

@media (max-width: 680px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
    height: auto;
    padding: 14px 18px;
  }

  nav {
    flex-wrap: wrap;
  }

  .hero {
    min-height: 78vh;
    padding: 52px 18px;
  }

  .section {
    padding: 52px 18px;
  }

  .hero p {
    font-size: 17px;
  }

  .howto,
  .gallery {
    grid-template-columns: 1fr;
  }
}
