:root {
  --primary: #d8ad55;
  --primary-dark: #906e37;
  --primary-soft: #f5ecd9;
  --text: #1f2937;
  --muted: #5f6470;
  --bg: #ffffff;
  --bg-alt: #f8f7f3;
  --line: #e8e2d3;
  --card: #ffffff;
  --success: #1d7a46;
  --danger: #b53a2f;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: "Segoe UI", "Avenir Next", "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
}

a {
  color: inherit;
  text-decoration: none;
}

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

.container {
  width: min(1120px, 92vw);
  margin: 0 auto;
}

.section {
  padding: 84px 0;
}

.section.alt {
  background: var(--bg-alt);
}

.eyebrow {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--primary-soft);
  color: var(--primary-dark);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin-top: 0;
  line-height: 1.2;
}

p {
  margin: 0;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 60;
  backdrop-filter: blur(10px);
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid var(--line);
}

.nav-wrap {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.brand img {
  width: 50px;
  height: 50px;
  border-radius: 10px;
}

.brand strong {
  font-size: 1.05rem;
  letter-spacing: 0.02em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
  font-weight: 600;
  color: #3f4450;
}

.nav-links a:hover {
  color: var(--primary-dark);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  padding: 11px 18px;
  border: 1px solid transparent;
  background: var(--primary);
  color: #1c1407;
  font-weight: 700;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(147, 111, 53, 0.22);
  background: #e0ba6d;
}

.menu-toggle {
  display: none;
  border: 0;
  background: transparent;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  height: 2px;
  background: #232933;
  margin: 7px 8px;
}

.hero {
  padding: 96px 0 70px;
  background:
    radial-gradient(circle at 12% 8%, rgba(216, 173, 85, 0.24), transparent 46%),
    radial-gradient(circle at 88% 12%, rgba(144, 110, 55, 0.18), transparent 44%),
    #fff;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 40px;
  align-items: center;
}

.hero h1 {
  font-size: clamp(2rem, 4.8vw, 3.65rem);
  margin: 18px 0 18px;
}

.hero p {
  color: var(--muted);
  max-width: 58ch;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: 11px;
  font-weight: 700;
  border: 1px solid var(--line);
  cursor: pointer;
  transition: all 0.25s ease;
}

.btn.primary {
  background: var(--primary);
  border-color: var(--primary);
  color: #1f1606;
}

.btn.primary:hover {
  background: #e1bc72;
  border-color: #e1bc72;
}

.btn.ghost {
  background: #fff;
  color: #252b34;
}

.btn.ghost:hover {
  border-color: var(--primary-dark);
  color: var(--primary-dark);
}

.hero-media {
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 20px 45px rgba(18, 21, 26, 0.12);
}

.hero-media img {
  width: 100%;
  aspect-ratio: 5 / 4;
  object-fit: cover;
}

.stat-row {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 34px;
}

.stat {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px;
}

.stat strong {
  display: block;
  font-size: 1.3rem;
  margin-bottom: 4px;
}

.stat span {
  color: var(--muted);
  font-size: 0.92rem;
}

.feature-grid,
.two-col,
.contact-grid,
.download-grid {
  display: grid;
  gap: 24px;
}

.feature-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 34px;
}

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 24px;
  box-shadow: 0 8px 22px rgba(20, 23, 30, 0.05);
}

.card h3 {
  margin-bottom: 10px;
}

.card p,
.card li {
  color: var(--muted);
}

.list {
  margin: 14px 0 0;
  padding-left: 18px;
}

.list li + li {
  margin-top: 8px;
}

.two-col {
  grid-template-columns: 1.05fr 0.95fr;
  align-items: start;
}

.note {
  border-left: 4px solid var(--primary);
  padding-left: 14px;
  color: var(--muted);
}

.info-grid {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

.info-line {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px 16px;
}

.page-head {
  padding: 72px 0 38px;
  background: linear-gradient(180deg, #fff8ea, #fff);
}

.page-head h1 {
  margin: 12px 0 10px;
  font-size: clamp(1.9rem, 4.2vw, 3rem);
}

.page-head p {
  max-width: 68ch;
  color: var(--muted);
}

.simple-image {
  margin-top: 24px;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--line);
}

.simple-image img {
  width: 100%;
  aspect-ratio: 16 / 8;
  object-fit: cover;
}

.legal-layout {
  display: grid;
  gap: 18px;
}

.legal-card {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 20px;
  background: #fff;
}

.legal-card h2 {
  margin-bottom: 10px;
}

.legal-card p,
.legal-card li {
  color: var(--muted);
}

.table-box {
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  margin-top: 14px;
}

.table-box table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
}

.table-box th,
.table-box td {
  text-align: left;
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
  font-size: 0.94rem;
}

.table-box tr:last-child td {
  border-bottom: 0;
}

.notice {
  padding: 12px 14px;
  border-radius: 12px;
  background: #fff7e4;
  border: 1px solid #e6d1a6;
  color: #5c4315;
  margin-top: 12px;
}

.contact-grid {
  grid-template-columns: 1fr 0.95fr;
  margin-top: 30px;
}

.form-card form {
  display: grid;
  gap: 14px;
}

.field {
  display: grid;
  gap: 8px;
}

.field label {
  font-size: 0.93rem;
  font-weight: 700;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 12px 13px;
  border-radius: 10px;
  border: 1px solid #d7dbe2;
  font: inherit;
}

.field textarea {
  min-height: 130px;
  resize: vertical;
}

.checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--muted);
  font-size: 0.92rem;
}

.status {
  font-size: 0.9rem;
  margin-top: 8px;
}

.status.ok {
  color: var(--success);
}

.status.err {
  color: var(--danger);
}

.download-grid {
  grid-template-columns: 1.1fr 0.9fr;
  margin-top: 32px;
}

.store-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 16px;
}

.store {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 14px;
  background: #fff;
  font-weight: 700;
}

.store:hover {
  border-color: var(--primary);
}

.steps {
  margin-top: 14px;
  padding-left: 18px;
}

.steps li + li {
  margin-top: 8px;
}

.footer {
  margin-top: 36px;
  border-top: 1px solid var(--line);
  background: #fff;
}

.footer-wrap {
  padding: 30px 0 40px;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.footer-brand img {
  width: 42px;
  height: 42px;
  border-radius: 8px;
}

.footer-grid {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  color: #4a505b;
  font-weight: 600;
}

.footer small {
  display: block;
  margin-top: 20px;
  color: #707783;
}

.fade-in {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  .hero-grid,
  .two-col,
  .contact-grid,
  .download-grid {
    grid-template-columns: 1fr;
  }

  .nav-wrap {
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
  }

  .menu-toggle {
    display: inline-block;
    margin-left: auto;
  }

  .nav-links {
    width: 100%;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 10px 0 2px;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-cta {
    width: 100%;
  }

  .stat-row {
    grid-template-columns: 1fr;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 64px 0;
  }
}

@media (max-width: 560px) {
  .hero {
    padding-top: 72px;
  }

  .card,
  .legal-card {
    padding: 18px;
  }

  .container {
    width: min(1120px, 94vw);
  }
}
