/* ------------------------------------------------------------------
   Curio — landing page stylesheet
   Brand palette (from app):
     amber  #D4A043   gold    #C4922E   gold light #E8C97A
     cream  #FFF8EE   ivory   #FFFDF7   off-white  #F9F9F6
     char   #2C2C2E   char-l  #48484A   char-muted #8E8E93
------------------------------------------------------------------- */
:root {
  --amber: #D4A043;
  --gold: #C4922E;
  --gold-light: #E8C97A;
  --cream: #FFF8EE;
  --ivory: #FFFDF7;
  --offwhite: #F9F9F6;
  --char: #2C2C2E;
  --char-light: #48484A;
  --char-muted: #8E8E93;
  --border: rgba(44, 44, 46, 0.1);
  --shadow-card: 0 6px 20px rgba(44, 44, 46, 0.08);
  --shadow-phone: 0 30px 60px -20px rgba(44, 44, 46, 0.35), 0 10px 30px -15px rgba(44, 44, 46, 0.25);
  --radius: 14px;

  --font-display: 'Fraunces', Georgia, 'Times New Roman', serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--char);
  background: var(--cream);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Typography ---------- */
h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.01em;
  margin: 0;
  color: var(--char);
}

h1 {
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  line-height: 1.08;
}
h2 {
  font-size: clamp(1.9rem, 3.6vw, 2.6rem);
  line-height: 1.15;
}
h3 {
  font-size: 1.2rem;
  line-height: 1.3;
}

p { margin: 0.6em 0; }

.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
  color: var(--gold);
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(212, 160, 67, 0.12);
}

.accent { color: var(--gold); font-style: italic; }
.muted { color: var(--char-muted); font-size: 0.95rem; }

/* ---------- Nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(255, 248, 238, 0.85);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.3rem;
  letter-spacing: -0.01em;
}
.brand-mark { width: 32px; height: 32px; }
.nav-links { display: flex; align-items: center; gap: 28px; font-size: 0.95rem; }
.nav-links a { color: var(--char-light); }
.nav-links a:hover { color: var(--char); }
.nav-cta {
  background: var(--char);
  color: var(--cream) !important;
  padding: 9px 16px;
  border-radius: 999px;
  font-weight: 600;
}
.nav-cta:hover { background: var(--gold); }

@media (max-width: 720px) {
  .nav-links a:not(.nav-cta) { display: none; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 80px 0 60px;
  overflow: hidden;
  background:
    radial-gradient(900px 500px at 85% -100px, rgba(232, 201, 122, 0.35), transparent 60%),
    radial-gradient(700px 500px at -10% 10%, rgba(196, 146, 46, 0.08), transparent 55%),
    var(--cream);
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 60px;
  align-items: center;
}
.hero-copy .lede {
  font-size: 1.12rem;
  color: var(--char-light);
  max-width: 520px;
  margin-top: 18px;
}
.hero-ctas {
  display: flex;
  gap: 14px;
  margin-top: 28px;
  flex-wrap: wrap;
}
.hero-proofs {
  list-style: none;
  padding: 0;
  margin: 32px 0 0;
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
  color: var(--char-light);
  font-size: 0.95rem;
}
.hero-proofs .dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--amber);
  margin-right: 8px;
  vertical-align: middle;
}
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}
.hero-visual::before {
  content: '';
  position: absolute;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212, 160, 67, 0.25), transparent 60%);
  z-index: 0;
}
.phone-hero { position: relative; z-index: 1; }

@media (max-width: 900px) {
  .hero { padding: 48px 0 40px; }
  .hero-inner { grid-template-columns: 1fr; gap: 36px; }
  .hero-visual { order: -1; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-weight: 600;
  font-size: 0.98rem;
  padding: 13px 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.12s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
  font-family: var(--font-body);
}
.btn-primary {
  background: var(--char);
  color: var(--cream);
}
.btn-primary:hover {
  background: var(--gold);
  box-shadow: 0 10px 25px -10px rgba(196, 146, 46, 0.55);
  transform: translateY(-1px);
}
.btn-ghost {
  background: transparent;
  color: var(--char);
  border-color: var(--border);
}
.btn-ghost:hover { background: var(--offwhite); }
.btn-block { width: 100%; }
.btn[disabled] { opacity: 0.6; cursor: not-allowed; }

/* ---------- Sections ---------- */
.section {
  padding: 90px 0;
}
.section-head {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 56px;
}
.section-head p {
  color: var(--char-light);
  font-size: 1.05rem;
  margin-top: 14px;
}

/* ---------- Feature grid ---------- */
.features { background: var(--ivory); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.feature {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow-card);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.feature:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 30px rgba(44, 44, 46, 0.1);
}
.feature h3 { margin-bottom: 6px; }
.feature p { color: var(--char-light); font-size: 0.96rem; margin: 0; }
.feature-icon {
  width: 42px; height: 42px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--gold-light), var(--amber));
  color: var(--char);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
@media (max-width: 900px) {
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .feature-grid { grid-template-columns: 1fr; }
}

/* ---------- Spotlights ---------- */
.spotlights { background: var(--cream); }

.spotlight {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  padding: 60px 0;
}
.spotlight + .spotlight { border-top: 1px solid var(--border); }
.spotlight.is-reversed .spotlight-visual { order: -1; }
.spotlight-copy h2 { margin-top: 14px; }
.spotlight-copy p { color: var(--char-light); font-size: 1.04rem; max-width: 520px; }
.spotlight-visual { display: flex; justify-content: center; }

@media (max-width: 900px) {
  .spotlight { grid-template-columns: 1fr; gap: 32px; padding: 40px 0; }
  .spotlight.is-reversed .spotlight-visual { order: 0; }
}

/* ---------- Phone mockup ---------- */
.phone {
  width: 290px;
  height: 590px;
  background: #0e0e10;
  border-radius: 42px;
  padding: 10px;
  position: relative;
  box-shadow: var(--shadow-phone);
}
.phone-hero { transform: rotate(-2deg); }
.phone-notch {
  position: absolute;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  width: 110px;
  height: 28px;
  background: #0e0e10;
  border-radius: 999px;
  z-index: 3;
}
.phone-screen {
  width: 100%;
  height: 100%;
  background: var(--cream);
  border-radius: 34px;
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
}
.phone-screen img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

/* ---------- Pricing ---------- */
.pricing { background: var(--ivory); }
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  align-items: stretch;
}
.price-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
}
.price-card h3 { font-size: 1.4rem; }
.price {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 600;
  color: var(--char);
  margin: 6px 0 18px;
}
.price span { font-size: 1rem; color: var(--char-muted); font-weight: 500; margin-left: 4px; }
.price-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.price-card ul li {
  color: var(--char-light);
  font-size: 0.95rem;
  padding-left: 22px;
  position: relative;
}
.price-card ul li::before {
  content: '';
  position: absolute;
  left: 0; top: 8px;
  width: 12px; height: 12px;
  background: var(--amber);
  mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'><path d='M1.5 6.5l3 3L10.5 3' stroke='black' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/></svg>") no-repeat center / contain;
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'><path d='M1.5 6.5l3 3L10.5 3' stroke='black' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/></svg>") no-repeat center / contain;
}
.price-card.is-featured {
  background: linear-gradient(165deg, #fffdf6, #fff);
  border: 1.5px solid var(--amber);
  box-shadow: 0 16px 40px -18px rgba(196, 146, 46, 0.5);
  transform: translateY(-6px);
}
.price-badge {
  position: absolute;
  top: -14px;
  left: 28px;
  background: var(--char);
  color: var(--cream);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 6px 10px;
  border-radius: 999px;
  font-weight: 600;
}
@media (max-width: 900px) {
  .pricing-grid { grid-template-columns: 1fr; }
  .price-card.is-featured { transform: none; }
}

/* ---------- Beta form ---------- */
.beta {
  background:
    radial-gradient(800px 400px at 10% 0%, rgba(232, 201, 122, 0.35), transparent 60%),
    var(--cream);
  border-top: 1px solid var(--border);
}
.beta-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.beta-copy h2 { margin-top: 14px; }
.beta-copy p { color: var(--char-light); font-size: 1.05rem; max-width: 480px; }
.beta-bullets {
  list-style: none;
  padding: 0;
  margin: 22px 0 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.beta-bullets li {
  color: var(--char-light);
  font-size: 0.98rem;
  padding-left: 26px;
  position: relative;
}
.beta-bullets li::before {
  content: '';
  position: absolute;
  left: 0; top: 8px;
  width: 14px; height: 14px;
  background: var(--amber);
  border-radius: 999px;
  box-shadow: 0 0 0 4px rgba(212, 160, 67, 0.2);
}

.beta-form {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 28px;
  box-shadow: 0 20px 50px -20px rgba(44, 44, 46, 0.18);
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.field { display: flex; flex-direction: column; gap: 6px; }
.field label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--char-light);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.field input, .field select, .field textarea {
  font-family: inherit;
  font-size: 1rem;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--offwhite);
  color: var(--char);
  transition: border 0.15s ease, box-shadow 0.15s ease;
}
.field textarea {
  resize: vertical;
  min-height: 120px;
  line-height: 1.5;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--amber);
  box-shadow: 0 0 0 4px rgba(212, 160, 67, 0.18);
  background: #fff;
}
.form-fineprint { color: var(--char-muted); font-size: 0.82rem; text-align: center; margin: 2px 0 0; }
.form-status {
  margin-top: 4px;
  font-size: 0.92rem;
  text-align: center;
  min-height: 1.4em;
}
.form-status.is-success { color: #2f9e5f; }
.form-status.is-error   { color: #c0392b; }

@media (max-width: 900px) {
  .beta-inner { grid-template-columns: 1fr; gap: 36px; }
}

/* ---------- Support ---------- */
.support {
  background:
    radial-gradient(800px 400px at 90% 10%, rgba(232, 201, 122, 0.28), transparent 60%),
    var(--ivory);
  border-top: 1px solid var(--border);
}
.support-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.support-copy h2 { margin-top: 14px; }
.support-copy p { color: var(--char-light); font-size: 1.05rem; max-width: 480px; }
.support-bullets {
  list-style: none;
  padding: 0;
  margin: 22px 0 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.support-bullets li {
  color: var(--char-light);
  font-size: 0.98rem;
  padding-left: 26px;
  position: relative;
}
.support-bullets li::before {
  content: '';
  position: absolute;
  left: 0; top: 8px;
  width: 14px; height: 14px;
  background: var(--amber);
  border-radius: 999px;
  box-shadow: 0 0 0 4px rgba(212, 160, 67, 0.2);
}
.support-email {
  color: var(--gold);
  font-weight: 600;
  border-bottom: 1px solid rgba(196, 146, 46, 0.35);
}
.support-email:hover { color: var(--char); border-bottom-color: var(--char); }

@media (max-width: 900px) {
  .support-inner { grid-template-columns: 1fr; gap: 36px; }
}

/* ---------- Footer ---------- */
.footer {
  border-top: 1px solid var(--border);
  padding: 32px 0;
  background: var(--ivory);
  color: var(--char-muted);
  font-size: 0.9rem;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--char);
  font-family: var(--font-display);
  font-weight: 600;
}
.footer-brand .brand-mark { width: 26px; height: 26px; }
.footer-meta { display: inline-flex; gap: 22px; flex-wrap: wrap; align-items: center; }
.footer-meta a:hover { color: var(--gold); }
