:root {
  color-scheme: light;
  --theme: #FFD700;
  --bg: #FAFAF7;
  --bg-gradient: radial-gradient(circle at 50% 0%, #FFFFFF 0%, #F5F4EF 80%);
  --text: #1C1B17;
  --muted: #6B675A;
  --border: #E8E4D9;
  --panel: #FFFFFF;
  --accent: #FFD700;
  --accent-strong: #E6C200;
  --accent-text: #998100;
  --focus: #FFD700;
  --ink: #1C1B17;
  --soft: #FFF9E6;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  background-image: var(--bg-gradient);
  background-attachment: fixed;
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.7;
}

a {
  color: var(--accent-text);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
  transition: opacity 0.2s;
}

a:hover {
  opacity: 0.8;
}

.site-header {
  border-bottom: 1px solid var(--accent-strong);
  background: var(--theme);
  backdrop-filter: blur(20px);
  position: sticky;
  top: 0;
  z-index: 10;
}

.nav {
  width: min(1040px, calc(100% - 32px));
  min-height: 64px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  color: var(--ink);
  font-size: 1.15rem;
  font-weight: 800;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 12px;
  letter-spacing: 0;
}

.brand img {
  border-radius: 8px;
  box-shadow:
    0 12px 22px rgba(28, 27, 23, 0.26),
    0 3px 8px rgba(28, 27, 23, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.55);
}

main {
  width: 100%;
}

/* HERO SECTION */
.hero-section {
  min-height: calc(100svh - 64px);
  padding: clamp(64px, 11vh, 124px) 0;
  display: flex;
  align-items: center;
}

.hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 340px);
  align-items: center;
  gap: clamp(48px, 9vw, 112px);
}

.hero-copy {
  max-width: 720px;
  min-width: 0;
}

.hero-eyebrow {
  color: var(--accent-text);
  font-weight: 700;
  letter-spacing: 0;
  margin: 0 0 16px;
}

.hero-title {
  font-size: clamp(2.75rem, 6.4vw, 5.4rem);
  font-weight: 900;
  color: var(--ink);
  line-height: 1.04;
  margin: 0 0 24px;
  overflow-wrap: anywhere;
  word-break: normal;
  line-break: strict;
}

.hero-intro {
  max-width: 680px;
  font-size: clamp(1.05rem, 1.8vw, 1.24rem);
  color: var(--muted);
  margin: 0 0 40px;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  justify-content: flex-start;
}

.hero-media {
  display: flex;
  justify-content: center;
  align-items: center;
  min-width: 0;
}

.hero-image {
  width: min(100%, 320px);
  height: auto;
  border-radius: 32px;
  box-shadow:
    0 36px 70px rgba(28, 27, 23, 0.2),
    0 12px 24px rgba(28, 27, 23, 0.16);
}

.container {
  width: min(1040px, calc(100vw - 48px));
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.section-header h2 {
  font-size: clamp(2rem, 4vw, 2.5rem);
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 20px;
}

.section-header p {
  font-size: 1.15rem;
  color: var(--muted);
}

/* PROBLEM SECTION */
.problem-section {
  padding: 100px 0;
  background: var(--panel);
}

/* FEATURES SECTION */
.features-section {
  padding: 100px 0;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
}

.feature-card {
  background: var(--panel);
  padding: 40px 30px;
  border-radius: 16px;
  border: 1px solid var(--border);
  box-shadow: 0 4px 12px rgba(0,0,0,0.02);
  transition: transform 0.2s;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0,0,0,0.06);
}

.feature-icon {
  width: 48px;
  height: 48px;
  background: var(--accent);
  color: var(--ink);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 24px;
}

.feature-card h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
  color: var(--ink);
}

.feature-card p {
  color: var(--muted);
  line-height: 1.6;
}

/* FAQ SECTION */
.faq-section {
  padding: 100px 0;
  background: var(--panel);
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}

.faq-item summary {
  padding: 24px;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
  position: relative;
  padding-right: 48px;
}

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

.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  color: var(--muted);
}

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

.faq-item[open] summary {
  border-bottom: 1px solid var(--border);
}

.faq-answer {
  padding: 24px;
  color: var(--muted);
  line-height: 1.6;
}

.faq-answer p {
  margin: 0;
}

/* CTA SECTION */
.cta-section {
  padding: 120px 0;
  text-align: center;
  background: var(--ink);
  color: #FFFFFF;
}

.cta-section h2 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 900;
  margin-bottom: 24px;
  color: #FFFFFF;
}

.cta-text {
  font-size: 1.25rem;
  color: rgba(255,255,255,0.7);
  margin-bottom: 40px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-actions {
  margin-bottom: 32px;
  display: flex;
  justify-content: center;
}

.cta-footer {
  font-size: 1rem;
  color: rgba(255,255,255,0.5);
  font-style: italic;
  margin: 0;
}

/* BUTTONS */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 99px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s;
  border: none;
}

.button.primary {
  background: var(--theme);
  color: var(--ink);
}

.button.primary:hover {
  background: var(--accent-strong);
  transform: scale(1.02);
}

.button.large {
  font-size: 1.15rem;
  padding: 18px 36px;
}

/* DOCUMENT STYLES (Privacy, Terms) */
.document {
  max-width: 920px;
  margin: 0 auto;
  padding: 64px 24px 88px;
}

.document article {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: clamp(32px, 5vw, 64px);
}

.document h1 {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  line-height: 1.15;
  margin-bottom: 12px;
  color: var(--ink);
}

.updated {
  margin: 0 0 40px;
  color: var(--accent-text);
  font-size: 1rem;
  font-weight: 600;
}

.document h2 {
  margin: 48px 0 16px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
  font-size: 1.6rem;
  line-height: 1.35;
  color: var(--ink);
}

.document p, .document ul {
  margin: 0 0 18px;
  font-size: 1.05rem;
  color: var(--muted);
}

.document li + li {
  margin-top: 10px;
}

.note {
  color: var(--accent-text);
  font-size: 1rem;
  font-weight: 500;
}

/* CONTACT FORM */
.contact-page {
  max-width: 1040px;
}

.contact-form {
  margin-top: 32px;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--bg);
}

.contact-form iframe {
  display: block;
  width: 100%;
  max-width: 100%;
  border: 0;
}

/* FOOTER */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 48px 0;
  background: var(--panel);
}

.footer-inner {
  width: min(1040px, calc(100% - 32px));
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  text-align: center;
  color: var(--muted);
  font-size: 0.95rem;
}

.footer-top {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-inner a {
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-inner a:hover {
  color: var(--accent-text);
}

.language-select select {
  min-height: 40px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--bg);
  color: var(--text);
  font: inherit;
  padding: 0 36px 0 14px;
  outline: none;
  transition: border-color 0.2s;
}

.language-select select:focus {
  border-color: var(--accent);
}

/* MOBILE RESPONSIVE */
@media (max-width: 860px) {
  .nav {
    flex-direction: row;
    padding: 0;
  }

  .hero-section {
    min-height: auto;
    padding: 72px 0 64px;
  }

  .hero-layout {
    grid-template-columns: 1fr;
    gap: 42px;
    text-align: center;
  }

  .hero-title {
    font-size: clamp(1.8rem, 7.4vw, 2.35rem);
    line-height: 1.12;
    word-break: normal;
  }

  .hero-intro {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-image {
    width: min(58vw, 220px);
    border-radius: 24px;
  }

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

  .cta-section {
    padding: 80px 0;
  }

  .cta-section h2 {
    font-size: clamp(2rem, 8vw, 2.5rem);
  }

  .document.contact-page {
    max-width: none;
    padding-left: 8px;
    padding-right: 8px;
  }

  .contact-page article {
    padding-left: 8px;
    padding-right: 8px;
  }

  .contact-form {
    margin-left: -4px;
    margin-right: -4px;
  }
}
