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

:root {
  --cream:        #F5F2EB;
  --surface:      #EDE9E0;
  --surface-deep: #E4E0D6;
  --ink:          #2C2A26;
  --ink-soft:     #4A4845;
  --ink-mid:      #5A5650;
  --ink-light:    #6A675E;
  --ink-faint:    #807D74;
  --border:       #C8C4B8;
  --border-light: #D8D4C8;
  --profit:       #3A7A52;
  --loss:         #B85A3A;
}

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Helvetica Neue', sans-serif;
  background: var(--cream);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ─── NAV ─── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 48px;
  background: rgba(245, 242, 235, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-light);
}
.nav-logo {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.3px;
  color: var(--ink);
  text-decoration: none;
}
.nav-links { display: flex; gap: 28px; list-style: none; align-items: center; }
.nav-links a {
  font-size: 14px;
  color: var(--ink-mid);
  text-decoration: none;
  transition: color 0.15s;
}
.nav-links a:hover { color: var(--ink); }
.lang-switch {
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-faint);
  text-decoration: none;
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 4px 10px;
  transition: color 0.15s, border-color 0.15s;
}
.lang-switch:hover { color: var(--ink); border-color: var(--ink-mid); }

/* ─── HERO ─── */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 130px 24px 80px;
}
.hero-eyebrow {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: 22px;
}
.hero-title {
  font-size: clamp(42px, 7.5vw, 76px);
  font-weight: 700;
  letter-spacing: -2px;
  line-height: 1.05;
  color: var(--ink);
  margin-bottom: 22px;
}
.hero-title em {
  font-style: normal;
  color: var(--profit);
}
.hero-sub {
  font-size: clamp(15px, 2.2vw, 18px);
  color: var(--ink-mid);
  max-width: 480px;
  line-height: 1.65;
  margin-bottom: 36px;
}
.cta-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 72px;
}
.btn-dark {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 13px 26px;
  background: var(--ink);
  color: var(--cream);
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  letter-spacing: -0.1px;
  transition: opacity 0.18s;
}
.btn-dark:hover { opacity: 0.82; }
.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 13px 26px;
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--border);
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: border-color 0.18s, background 0.18s;
}
.btn-outline:hover { border-color: var(--ink-mid); background: var(--surface); }
.btn-dark.disabled,
.btn-outline.disabled,
.badge.disabled {
  opacity: 0.38;
  cursor: not-allowed;
  pointer-events: none;
}
.coming-soon-label {
  font-size: 11px;
  color: var(--ink-faint);
  letter-spacing: 0.04em;
  margin-top: 12px;
}
.platform-row {
  display: flex;
  gap: 8px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 16px;
}
.platform-row span {
  font-size: 11px;
  font-weight: 600;
  color: var(--ink-faint);
  background: var(--surface);
  border: 1px solid var(--border-light);
  border-radius: 6px;
  padding: 4px 10px;
  letter-spacing: 0.02em;
}

/* ─── DEVICE MOCKUPS ─── */
.mockup-row {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 14px;
  margin-top: 56px;
  flex-wrap: wrap;
}
.device {
  background: var(--surface);
  border: 1.5px solid var(--border);
  overflow: hidden;
  flex-shrink: 0;
  box-shadow: 0 16px 48px rgba(44,42,38,0.10), 0 2px 8px rgba(44,42,38,0.06);
}
.device img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
}
.device-iphone {
  width: 150px;
  height: 325px;
  border-radius: 36px;
  transform: translateY(-20px);
}
.device-ipad {
  width: 210px;
  height: 290px;
  border-radius: 20px;
}
.device-mac {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: transparent;
  border: none;
  box-shadow: none;
  overflow: visible;
  transform: translateY(-10px);
}
.mac-screen {
  width: 300px;
  height: 190px;
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: 8px 8px 0 0;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(44,42,38,0.10);
}
.mac-screen img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
}
.mac-chin {
  width: 300px;
  height: 14px;
  background: var(--surface-deep);
  border: 1.5px solid var(--border);
  border-top: none;
  border-radius: 0 0 3px 3px;
}
.mac-base {
  width: 200px;
  height: 8px;
  background: var(--surface-deep);
  border: 1.5px solid var(--border);
  border-top: none;
  border-radius: 0 0 6px 6px;
}
.device-android {
  width: 150px;
  height: 325px;
  border-radius: 28px;
  transform: translateY(-20px);
}

/* ─── SECTION BASE ─── */
.section {
  max-width: 1080px;
  margin: 0 auto;
  padding: 96px 48px;
}
.section-tag {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: 14px;
}
.section-title {
  font-size: clamp(26px, 4vw, 40px);
  font-weight: 700;
  letter-spacing: -0.8px;
  line-height: 1.2;
  margin-bottom: 52px;
}

/* ─── FEATURES ─── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}
.feat {
  background: var(--surface);
  border: 1px solid var(--border-light);
  border-radius: 16px;
  padding: 28px 28px 32px;
  transition: transform 0.2s;
}
.feat:hover { transform: translateY(-2px); }
.feat-icon {
  width: 38px; height: 38px;
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  margin-bottom: 18px;
}
.feat h3 { font-size: 15px; font-weight: 700; margin-bottom: 7px; }
.feat p  { font-size: 13.5px; color: var(--ink-mid); line-height: 1.6; }

/* ─── GUIDE ─── */
.guide-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.guide-card {
  background: var(--surface);
  border: 1px solid var(--border-light);
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.guide-card-body { padding: 24px 24px 16px; }
.guide-num {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--ink-faint);
  margin-bottom: 10px;
}
.guide-card h3 {
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 8px;
  line-height: 1.35;
}
.guide-card p { font-size: 13px; color: var(--ink-mid); line-height: 1.65; }
.guide-card-img { margin-top: auto; padding: 0 16px; line-height: 0; }
.guide-card-img img {
  width: 100%;
  border-radius: 8px 8px 0 0;
  display: block;
  object-fit: cover;
  object-position: top;
  max-height: 220px;
}

/* ─── PHILOSOPHY ─── */
.philosophy {
  background: var(--surface);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  padding: 96px 48px;
  text-align: center;
}
.philosophy blockquote {
  font-size: clamp(20px, 3.2vw, 32px);
  font-weight: 600;
  letter-spacing: -0.5px;
  line-height: 1.45;
  color: var(--ink);
  max-width: 620px;
  margin: 0 auto 20px;
}
.philosophy p {
  font-size: 15px;
  color: var(--ink-light);
  max-width: 480px;
  margin: 0 auto;
  line-height: 1.65;
}

/* ─── DOWNLOAD ─── */
.download { text-align: center; padding: 96px 48px; }
.download h2 {
  font-size: clamp(26px, 4vw, 38px);
  font-weight: 700;
  letter-spacing: -0.7px;
  margin-bottom: 12px;
}
.download p { font-size: 15px; color: var(--ink-mid); margin-bottom: 36px; }
.badges { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.badge {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 22px;
  background: var(--ink);
  color: var(--cream);
  border-radius: 12px;
  text-decoration: none;
  transition: opacity 0.18s;
}
.badge:hover { opacity: 0.82; }
.badge svg { flex-shrink: 0; }
.badge-text { text-align: left; }
.badge-text span:first-child { display: block; font-size: 10px; opacity: 0.65; }
.badge-text span:last-child  { display: block; font-size: 14px; font-weight: 700; letter-spacing: -0.2px; }

/* ─── FOOTER ─── */
footer {
  border-top: 1px solid var(--border-light);
  padding: 32px 48px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
footer p { font-size: 13px; color: var(--ink-faint); }
.foot-links { display: flex; gap: 20px; list-style: none; }
.foot-links a {
  font-size: 13px;
  color: var(--ink-faint);
  text-decoration: none;
  transition: color 0.15s;
}
.foot-links a:hover { color: var(--ink); }

/* ─── RESPONSIVE ─── */
@media (max-width: 900px) {
  .guide-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  nav { padding: 16px 20px; }
  .nav-links { display: none; }
  .hero { padding: 110px 20px 60px; }
  .section { padding: 64px 20px; }
  .philosophy { padding: 64px 20px; }
  .download { padding: 64px 20px; }
  footer { padding: 28px 20px; }
  .device-iphone, .device-android { display: none; }
  .device-mac { transform: translateY(0); }
  .device-ipad { transform: translateY(0); }
}
@media (max-width: 580px) {
  .guide-grid { grid-template-columns: 1fr; }
}
