:root {
  --amber: #c8873a;
  --amber-shade: #b07733;
  --amber-tint: #ce934e;
  --coffee: #5c4a3a;
  --mocha: #8b6f47;
  --cream: #f5f3f0;
  --cream-2: #efe9e2;
  --ink: #2c2c2c;
  --ink-2: #6b6b6b;
  --line: rgba(0, 0, 0, 0.08);
  --white: #ffffff;
  --radius: 20px;
  --radius-sm: 14px;
  --shadow: 0 4px 24px rgba(0, 0, 0, 0.06), inset 0 1px 0 rgba(255, 255, 255, 0.8);
  --shadow-lg: 0 18px 48px rgba(92, 74, 58, 0.14);
  --maxw: 1120px;
  --font: -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'SF Pro Display', 'Segoe UI', 'Roboto', 'Helvetica Neue', sans-serif;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  background-image:
    radial-gradient(60rem 60rem at 85% -10%, rgba(200, 135, 58, 0.08), transparent 60%),
    radial-gradient(50rem 50rem at -10% 10%, rgba(139, 111, 71, 0.06), transparent 55%);
  background-attachment: fixed;
}

h1, h2, h3, h4 { line-height: 1.15; letter-spacing: -0.02em; margin: 0; font-weight: 700; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

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

.section { padding: 84px 0; }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 48px; }
.section-title { font-size: clamp(1.7rem, 3.4vw, 2.4rem); }
.section-sub { color: var(--ink-2); margin-top: 12px; font-size: 1.05rem; }

.glass {
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .glass { background: rgba(255, 255, 255, 0.94); }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.98rem;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn-primary { background: var(--amber); color: #fff; box-shadow: 0 8px 20px rgba(200, 135, 58, 0.28); }
.btn-primary:hover { background: var(--amber-shade); transform: translateY(-1px); }
.btn-ghost { background: rgba(255, 255, 255, 0.6); color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { background: #fff; transform: translateY(-1px); }
.btn-sm { padding: 9px 16px; font-size: 0.9rem; }
.btn-block { width: 100%; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(245, 243, 240, 0.8);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; }
.brand-logo { width: 34px; height: 34px; border-radius: 9px; object-fit: cover; }
.brand-name { font-size: 1.08rem; letter-spacing: -0.02em; }
.site-nav { display: flex; align-items: center; gap: 26px; }
.site-nav > a { color: var(--ink-2); font-weight: 500; font-size: 0.96rem; transition: color 0.15s; }
.site-nav > a:hover { color: var(--ink); }
.nav-actions { display: flex; align-items: center; gap: 12px; }
.lang-toggle {
  font-weight: 700;
  font-size: 0.82rem;
  color: var(--ink-2);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 11px;
  background: rgba(255, 255, 255, 0.6);
}
.lang-toggle:hover { color: var(--ink); }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav-toggle span { width: 22px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform 0.2s, opacity 0.2s; }

/* Hero */
.hero { padding: 72px 0 40px; }
.hero-inner { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 48px; align-items: center; }
.eyebrow {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--amber-shade);
  background: rgba(200, 135, 58, 0.12);
  padding: 6px 12px;
  border-radius: 999px;
  margin-bottom: 18px;
}
.hero-copy h1 { font-size: clamp(2.3rem, 5.4vw, 3.6rem); }
.lead { color: var(--ink-2); font-size: 1.12rem; margin-top: 18px; max-width: 46ch; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.store-buttons { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px; }
.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 16px;
  border-radius: 12px;
  background: var(--ink);
  color: #fff;
  font-weight: 600;
}
.store-btn:hover { background: #000; }
.store-btn svg { width: 22px; height: 22px; }
.store-btn span { display: flex; flex-direction: column; line-height: 1.1; font-size: 1.02rem; }
.store-btn small { font-size: 0.64rem; font-weight: 500; opacity: 0.8; text-transform: uppercase; letter-spacing: 0.03em; }
.hero-note { color: var(--ink-2); font-size: 0.9rem; margin-top: 16px; }
.hero-visual { display: flex; justify-content: center; }
.hero-card {
  width: 100%;
  max-width: 320px;
  aspect-ratio: 4 / 5;
  border-radius: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
}
.hero-logo { width: 120px; height: 120px; border-radius: 26px; }

/* Stat bar */
.stat-bar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 56px;
  padding: 24px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid var(--line);
}
.stat { text-align: center; }
.stat-val { font-size: 1.8rem; font-weight: 800; color: var(--amber-shade); letter-spacing: -0.02em; }
.stat-label { color: var(--ink-2); font-size: 0.92rem; margin-top: 4px; }

/* Feature grid */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature-card { padding: 26px; border-radius: var(--radius); transition: transform 0.18s ease, box-shadow 0.18s ease; }
.feature-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(200, 135, 58, 0.12);
  color: var(--amber-shade);
  margin-bottom: 16px;
}
.feature-icon svg { width: 24px; height: 24px; }
.feature-card h3 { font-size: 1.16rem; margin-bottom: 8px; }
.feature-card p { color: var(--ink-2); font-size: 0.98rem; }

/* How it works */
.how-section { background: linear-gradient(180deg, rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0)); }
.how-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.how-step { text-align: center; padding: 12px; }
.how-num {
  width: 52px;
  height: 52px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: var(--amber);
  color: #fff;
  font-weight: 800;
  font-size: 1.3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 18px rgba(200, 135, 58, 0.3);
}
.how-step h3 { font-size: 1.14rem; margin-bottom: 8px; }
.how-step p { color: var(--ink-2); }

/* FAQ */
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.6);
  overflow: hidden;
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 22px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-plus { color: var(--amber-shade); transition: transform 0.2s; flex-shrink: 0; }
.faq-plus svg { width: 18px; height: 18px; transform: rotate(90deg); }
.faq-item[open] .faq-plus { transform: rotate(90deg); }
.faq-item[open] .faq-plus svg { transform: rotate(-90deg); }
.faq-answer { padding: 0 22px 20px; color: var(--ink-2); }

/* CTA band */
.cta-band { padding-top: 20px; }
.cta-inner { text-align: center; padding: 52px 32px; border-radius: 28px; }
.cta-inner h2 { font-size: clamp(1.6rem, 3.4vw, 2.2rem); }
.cta-inner p { color: var(--ink-2); margin: 12px 0 26px; }

/* Page hero (subpages) */
.page-hero { padding: 72px 0 20px; text-align: center; }
.page-hero h1 { font-size: clamp(2rem, 4.6vw, 3rem); }
.page-hero .lead { margin: 18px auto 0; }

/* Pricing */
.price-note { text-align: center; color: var(--ink-2); font-size: 0.9rem; margin-bottom: 32px; }
.plan-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: start; }
.plan-card { position: relative; padding: 30px 26px; border-radius: var(--radius); }
.plan-highlight { border: 2px solid var(--amber); transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.plan-badge {
  position: absolute;
  top: -12px;
  right: 22px;
  background: var(--amber);
  color: #fff;
  font-size: 0.74rem;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.plan-name { font-size: 1.2rem; color: var(--coffee); }
.plan-price { display: flex; align-items: baseline; gap: 6px; margin: 12px 0 20px; }
.plan-amount { font-size: 2.2rem; font-weight: 800; letter-spacing: -0.03em; }
.plan-period { color: var(--ink-2); font-size: 0.95rem; }
.plan-soon {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--amber-shade);
  background: rgba(200, 135, 58, 0.12);
  padding: 4px 14px;
  border-radius: 999px;
}
.btn.is-disabled {
  background: rgba(0, 0, 0, 0.04);
  color: var(--ink-2);
  border-color: var(--line);
  cursor: default;
  pointer-events: none;
}
.plan-features { list-style: none; padding: 0; margin: 22px 0 0; display: flex; flex-direction: column; gap: 11px; }
.plan-features li { display: flex; align-items: flex-start; gap: 10px; color: var(--ink); font-size: 0.96rem; }
.plan-features svg { width: 18px; height: 18px; color: var(--amber-shade); flex-shrink: 0; margin-top: 2px; }
.promo-box { margin-top: 40px; padding: 28px; border-radius: var(--radius); text-align: center; }
.promo-box h3 { color: var(--coffee); margin-bottom: 8px; }
.promo-box p { color: var(--ink-2); max-width: 52ch; margin: 0 auto; }

/* Links page */
.links-page { min-height: 78vh; display: flex; align-items: center; padding: 60px 0; }
.links-inner { text-align: center; }
.links-logo { width: 88px; height: 88px; border-radius: 22px; margin: 0 auto 20px; box-shadow: var(--shadow-lg); }
.links-inner h1 { font-size: 2rem; }
.link-list { display: flex; flex-direction: column; gap: 14px; margin-top: 32px; }
.link-btn {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  border-radius: 16px;
  text-align: left;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.link-btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.link-icon { width: 44px; height: 44px; border-radius: 12px; background: rgba(200, 135, 58, 0.12); color: var(--amber-shade); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.link-icon svg { width: 22px; height: 22px; }
.link-text { flex: 1; display: flex; flex-direction: column; }
.link-text strong { font-size: 1.02rem; }
.link-text small { color: var(--ink-2); font-size: 0.86rem; }
.link-arrow { color: var(--ink-2); }
.link-arrow svg { width: 20px; height: 20px; }

/* Intro + forms */
.intro-text { text-align: center; color: var(--ink-2); font-size: 1.08rem; margin-bottom: 44px; }
.form-section { padding-top: 40px; }
.form-head { text-align: center; margin-bottom: 28px; }
.form-head p { color: var(--ink-2); margin-top: 10px; }
.inquiry-form { display: flex; flex-direction: column; gap: 16px; background: rgba(255, 255, 255, 0.6); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.inquiry-form label { display: flex; flex-direction: column; gap: 6px; font-size: 0.9rem; font-weight: 600; color: var(--coffee); }
.inquiry-form input, .inquiry-form textarea {
  font: inherit;
  color: var(--ink);
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.inquiry-form input:focus, .inquiry-form textarea:focus { border-color: var(--amber); box-shadow: 0 0 0 3px rgba(200, 135, 58, 0.16); }
.inquiry-form textarea { resize: vertical; }
.form-status { font-size: 0.92rem; font-weight: 600; margin: 0; min-height: 1.2em; }
.form-status.is-success { color: #2e7d46; }
.form-status.is-error { color: #c0392b; }

/* Contact alt */
.contact-alt { margin-top: 28px; padding: 24px; border-radius: var(--radius); text-align: center; }
.contact-alt h3 { color: var(--coffee); margin-bottom: 6px; }
.contact-alt p { color: var(--ink-2); }
.contact-alt-links { display: flex; gap: 20px; justify-content: center; margin-top: 12px; flex-wrap: wrap; }
.contact-alt-links a { color: var(--amber-shade); font-weight: 600; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); background: rgba(255, 255, 255, 0.5); margin-top: 40px; }
.footer-inner { display: grid; grid-template-columns: 1.2fr 2fr; gap: 40px; padding-top: 56px; padding-bottom: 32px; }
.footer-brand p { color: var(--ink-2); margin: 14px 0; max-width: 34ch; }
.footer-social { display: inline-flex; align-items: center; gap: 8px; color: var(--ink-2); font-weight: 600; }
.footer-social:hover { color: var(--amber-shade); }
.footer-social svg { width: 20px; height: 20px; }
.footer-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.footer-col h4 { font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--ink-2); margin-bottom: 14px; }
.footer-col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-col a { color: var(--ink); font-size: 0.95rem; }
.footer-col a:hover { color: var(--amber-shade); }
.footer-bottom { border-top: 1px solid var(--line); padding: 20px 24px; color: var(--ink-2); font-size: 0.86rem; }

/* Responsive */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { order: -1; }
  .hero-card { max-width: 240px; aspect-ratio: 1; }
  .feature-grid, .plan-grid, .how-grid { grid-template-columns: repeat(2, 1fr); }
  .plan-highlight { transform: none; }
  .footer-inner { grid-template-columns: 1fr; gap: 28px; }
}

@media (max-width: 720px) {
  .nav-toggle { display: flex; }
  .site-nav {
    position: fixed;
    inset: 68px 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    background: rgba(245, 243, 240, 0.98);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    padding: 16px 24px 24px;
    border-bottom: 1px solid var(--line);
    transform: translateY(-140%);
    transition: transform 0.25s ease;
    box-shadow: var(--shadow-lg);
  }
  .site-nav.is-open { transform: translateY(0); }
  .site-nav > a { padding: 10px 0; border-bottom: 1px solid var(--line); }
  .nav-actions { justify-content: space-between; margin-top: 10px; }
  .section { padding: 60px 0; }
  .feature-grid, .plan-grid, .how-grid, .stat-bar { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-cols { grid-template-columns: 1fr 1fr; }
}
