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

/* ===== TOKENS ===== */
:root {
  --bg:           #080705;
  --bg-raised:    #111009;
  --bg-elevated:  #191610;

  --accent:       #c8891e;
  --accent-dim:   #7a5412;
  --accent-glow:  rgba(200, 137, 30, 0.12);

  --text-1:       #f0ece3;
  --text-2:       #7a6f60;
  --text-3:       #3e3830;

  --border:       rgba(200, 137, 30, 0.10);
  --border-mid:   rgba(200, 137, 30, 0.18);

  --radius:       16px;
  --radius-pill:  100px;

  --font-serif:   'Playfair Display', Georgia, serif;
  --font-sans:    'Inter', system-ui, -apple-system, sans-serif;

  --ease-out:     cubic-bezier(0.16, 1, 0.3, 1);
}

/* ===== BASE ===== */
html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--text-1);
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* ===== NAV ===== */
.nav {
  position: fixed;
  inset-block-start: 0;
  inset-inline: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 32px;
  transition:
    background 0.4s var(--ease-out),
    border-color 0.4s var(--ease-out),
    backdrop-filter 0.4s var(--ease-out);
  border-bottom: 1px solid transparent;
}

.nav.scrolled {
  background: rgba(8, 7, 5, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-color: var(--border);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text-1);
}

.nav-icon {
  width: 26px;
  height: 26px;
  object-fit: contain;
}

.nav-name {
  font-family: var(--font-serif);
  font-size: 17px;
  font-weight: 400;
  letter-spacing: 0.02em;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 22px;
  border-radius: var(--radius-pill);
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.01em;
  cursor: pointer;
  border: none;
  text-decoration: none;
  transition: opacity 0.18s, transform 0.15s var(--ease-out);
  white-space: nowrap;
}

.btn:hover  { opacity: 0.8; transform: translateY(-1px); }
.btn:active { opacity: 1;   transform: translateY(0); }

.btn-primary {
  background: var(--accent);
  color: #0a0700;
  font-weight: 500;
}

.btn-ghost {
  background: transparent;
  color: var(--text-2);
  border: 1px solid var(--border-mid);
}
.btn-ghost:hover { color: var(--text-1); border-color: rgba(200, 137, 30, 0.35); }

/* ===== HERO ===== */
.hero {
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 24px 80px;
  position: relative;
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  top: 15%;
  left: 50%;
  translate: -50% 0;
  width: 640px;
  height: 640px;
  background: radial-gradient(circle,
    rgba(200, 137, 30, 0.07) 0%,
    rgba(200, 137, 30, 0.03) 40%,
    transparent 70%
  );
  pointer-events: none;
}

.hero-icon {
  width: 100px;
  height: 100px;
  object-fit: contain;
  margin-bottom: 32px;
  filter: drop-shadow(0 0 36px rgba(200, 137, 30, 0.45))
          drop-shadow(0 0 80px rgba(200, 137, 30, 0.15));
}

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(60px, 12vw, 96px);
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1;
  color: var(--text-1);
  margin-bottom: 16px;
}

.hero-tagline {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(17px, 2.8vw, 21px);
  font-weight: 400;
  color: var(--accent);
  margin-bottom: 20px;
  letter-spacing: 0.01em;
}

.hero-sub {
  font-size: 15px;
  color: var(--text-2);
  max-width: 440px;
  line-height: 1.75;
  margin-bottom: 40px;
}

.br-wide { display: none; }
@media (min-width: 560px) { .br-wide { display: inline; } }

/* ===== EMAIL FORM ===== */
.email-form {
  display: flex;
  gap: 8px;
  width: 100%;
  max-width: 400px;
  margin-inline: auto;
}

.email-input {
  flex: 1;
  min-width: 0;
  padding: 12px 18px;
  background: var(--bg-elevated);
  border: 1px solid var(--border-mid);
  border-radius: var(--radius-pill);
  color: var(--text-1);
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 300;
  outline: none;
  transition: border-color 0.2s;
}

.email-input::placeholder { color: var(--text-3); }
.email-input:focus        { border-color: var(--accent-dim); }

.hero-hint {
  margin-top: 14px;
  font-size: 12px;
  color: var(--text-3);
  letter-spacing: 0.04em;
}

.btn-store {
  padding: 14px 26px;
  font-size: 15px;
  gap: 10px;
}

.btn-store svg {
  margin-top: -2px;
}

/* ===== PILLARS ===== */
.pillars {
  display: grid;
  grid-template-columns: 1fr;
  max-width: 960px;
  margin-inline: auto;
  padding: 0 24px 80px;
  border-top: 1px solid var(--border);
}

@media (min-width: 680px) {
  .pillars {
    grid-template-columns: repeat(3, 1fr);
  }
}

.pillar {
  padding: 44px 36px;
}

.pillar + .pillar {
  border-top: 1px solid var(--border);
}

@media (min-width: 680px) {
  .pillar + .pillar {
    border-top: none;
    border-left: 1px solid var(--border);
  }
}

.pillar-icon {
  color: var(--accent);
  margin-bottom: 18px;
  opacity: 0.85;
}

.pillar-title {
  font-family: var(--font-serif);
  font-size: 19px;
  font-weight: 400;
  color: var(--text-1);
  margin-bottom: 10px;
  letter-spacing: 0.01em;
}

.pillar-body {
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.75;
}

/* ===== MOCKUPS ===== */
.mockups-section {
  padding: 20px 24px 96px;
  overflow: hidden;
}

.mockups {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 16px;
  max-width: 640px;
  margin-inline: auto;
}

/* Phone frame */
.mockup {
  flex: 0 0 auto;
}

.mockup-side {
  width: 188px;
  opacity: 0.55;
  transform: scale(0.88) translateY(28px);
}

.mockup-center {
  width: 213px;
  opacity: 1;
  transform: scale(1) translateY(0);
}

.mockup-frame {
  border: 1px solid var(--border-mid);
  border-radius: 34px;
  overflow: hidden;
  aspect-ratio: 9 / 19.5;
  position: relative;
}

.mockup-center .mockup-frame {
  border-color: rgba(200, 137, 30, 0.28);
  box-shadow: 0 0 48px rgba(200, 137, 30, 0.08), inset 0 1px 0 rgba(200, 137, 30, 0.1);
}

.mockup-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  display: block;
}


/* ===== ROADMAP ===== */
.roadmap-section {
  text-align: center;
  padding: 100px 24px 96px;
  border-top: 1px solid var(--border);
  position: relative;
}

.roadmap-title {
  font-family: var(--font-serif);
  font-size: clamp(28px, 5vw, 44px);
  font-weight: 400;
  line-height: 1.2;
  color: var(--text-1);
  margin-bottom: 14px;
  letter-spacing: -0.01em;
}

.roadmap-sub {
  font-size: 15px;
  color: var(--text-2);
  line-height: 1.7;
  max-width: 400px;
  margin-inline: auto;
  margin-bottom: 48px;
}

.roadmap-block {
  margin-bottom: 72px;
}

.roadmap-block:last-child {
  margin-bottom: 0;
}

.roadmap-block-title {
  font-family: var(--font-serif);
  font-size: clamp(20px, 3.4vw, 26px);
  font-weight: 400;
  color: var(--text-1);
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.roadmap-block-sub {
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.6;
  max-width: 420px;
  margin-inline: auto;
  margin-bottom: 28px;
}

.roadmap-card {
  max-width: 900px;
  margin-inline: auto;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-raised);
  border: 1px solid rgba(200, 137, 30, 0.28);
  box-shadow:
    0 0 64px rgba(200, 137, 30, 0.07),
    inset 0 1px 0 rgba(200, 137, 30, 0.10);
}

[data-canny] {
  padding: 12px;
  min-height: 200px;
}

.roadmap-embed {
  display: block;
  width: 100%;
  height: 620px;
  border: 0;
}

.roadmap-fallback {
  margin-top: 18px;
  font-size: 13px;
  color: var(--text-3);
  letter-spacing: 0.01em;
}

.roadmap-fallback a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 500;
}

.roadmap-fallback a:hover {
  text-decoration: underline;
}

/* ===== SECOND CTA ===== */
.cta-section {
  text-align: center;
  padding: 100px 24px 120px;
  border-top: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

.cta-glow {
  position: absolute;
  bottom: -80px;
  left: 50%;
  translate: -50% 0;
  width: 700px;
  height: 400px;
  background: radial-gradient(ellipse,
    rgba(200, 137, 30, 0.05) 0%,
    transparent 65%
  );
  pointer-events: none;
}

.cta-eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 18px;
  opacity: 0.8;
}

.cta-title {
  font-family: var(--font-serif);
  font-size: clamp(28px, 5vw, 44px);
  font-weight: 400;
  line-height: 1.2;
  color: var(--text-1);
  margin-bottom: 18px;
  letter-spacing: -0.01em;
}

.cta-sub {
  font-size: 15px;
  color: var(--text-2);
  line-height: 1.7;
  margin-bottom: 40px;
  max-width: 320px;
  margin-inline: auto;
  margin-bottom: 40px;
}

.form-feedback {
  display: block;
  margin-top: 16px;
  font-size: 13px;
  min-height: 18px;
  color: var(--accent);
  letter-spacing: 0.01em;
  transition: opacity 0.3s;
}

.form-feedback.error {
  color: #b86b6b;
}

/* ===== FOOTER ===== */
.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 32px;
  border-top: 1px solid var(--border);
  font-size: 12px;
  color: var(--text-3);
  letter-spacing: 0.02em;
}

.footer-links {
  display: flex;
  gap: 20px;
}

.footer-link {
  color: var(--text-3);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-link:hover { color: var(--text-2); }

/* ===== FOCUS VISIBLE ===== */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}
