/* ═══════════════════════════════════════════════════════════════════════
   SUMMERS LOGIC — design system
   Warm editorial + immersive 3D. Cream / terracotta / cocoa / sand.
   ═══════════════════════════════════════════════════════════════════════ */

:root {
  /* surfaces */
  --cream:        #F6F0E2;
  --cream-2:      #F1E9D7;
  --cream-3:      #EAE0CB;
  --paper:        #FCF8EF;
  --ink:          #2A211B;   /* near-black brown for headings */
  --cocoa:        #3A2E26;   /* body heading */
  --brown:        #4A3D33;   /* body text */
  --brown-soft:   #7A6A5C;   /* muted */
  --brown-faint:  #9C8C7C;   /* light */
  --line:         rgba(58,46,38,0.12);
  --line-soft:    rgba(58,46,38,0.07);

  /* brand */
  --terra:        #C25E34;
  --terra-deep:   #A8481F;
  --terra-glow:   #E07A45;
  --sand:         #E7D6BB;
  --sand-deep:    #D8C09B;

  /* dark sections */
  --espresso:     #271E18;
  --espresso-2:   #1E1712;

  --serif: "Fraunces", "Playfair Display", Georgia, serif;
  --sans:  "Plus Jakarta Sans", "DM Sans", system-ui, -apple-system, sans-serif;

  --maxw: 1120px;
  --radius: 18px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

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

body {
  font-family: var(--sans);
  background: var(--cream);
  color: var(--brown);
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* paper grain overlay */
body::before {
  content: "";
  position: fixed; inset: 0; z-index: 1; pointer-events: none;
  opacity: 0.5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
}
main, nav, footer { position: relative; z-index: 2; }

a { color: var(--terra-deep); text-decoration: none; }
a:hover { text-decoration: underline; }
img, svg { display: block; max-width: 100%; }

/* ── Typography helpers ── */
.eyebrow {
  font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase;
  font-weight: 600; color: var(--terra-deep);
}
.serif { font-family: var(--serif); }
.muted-note { display:block; font-size: 0.85rem; color: var(--brown-faint); margin-top: 6px; }

/* ═══════════════ NAV ═══════════════ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 clamp(16px, 4vw, 40px); height: 68px;
  background: rgba(246,240,226,0.72);
  backdrop-filter: blur(14px) saturate(1.3);
  -webkit-backdrop-filter: blur(14px) saturate(1.3);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, background 0.3s;
}
.nav.scrolled { border-bottom-color: var(--line); background: rgba(246,240,226,0.9); }
.nav-logo { display: flex; align-items: center; gap: 11px; text-decoration: none; }
.nav-logo:hover { text-decoration: none; }
.nav-logo .logo-tile { width: 34px; height: 34px; flex-shrink: 0; filter: drop-shadow(0 3px 6px rgba(168,72,31,0.22)); }
.wordmark { font-weight: 800; font-size: 18px; letter-spacing: -0.01em; color: var(--ink); line-height: 1; }
.wordmark .lo { font-weight: 500; color: var(--brown-soft); }
.wordmark .dot { color: var(--terra); }

.nav-links { display: flex; align-items: center; gap: 4px; list-style: none; }
.nav-links > li { position: relative; }
.nav-links a {
  display: block; padding: 9px 15px; border-radius: 10px;
  font-size: 14.5px; font-weight: 500; color: var(--brown);
  transition: background 0.2s, color 0.2s;
}
.nav-links a:hover { background: rgba(58,46,38,0.06); text-decoration: none; color: var(--ink); }
.nav-links a.active { color: var(--terra-deep); }
.nav-cta {
  background: var(--ink) !important; color: var(--cream) !important;
  padding: 9px 18px !important;
}
.nav-cta:hover { background: var(--terra-deep) !important; }

.dropdown > a::after {
  content: ""; display: inline-block; width: 6px; height: 6px; margin-left: 7px;
  border-right: 1.6px solid currentColor; border-bottom: 1.6px solid currentColor;
  transform: rotate(45deg) translateY(-2px); opacity: 0.6;
}
.dropdown-menu {
  position: absolute; top: calc(100% + 8px); left: 0;
  background: var(--paper); border: 1px solid var(--line);
  border-radius: 16px; padding: 8px; min-width: 248px;
  box-shadow: 0 24px 60px -18px rgba(42,33,27,0.30);
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity 0.22s var(--ease), transform 0.22s var(--ease), visibility 0.22s;
}
.dropdown:hover .dropdown-menu, .dropdown:focus-within .dropdown-menu {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.dropdown-menu a {
  display: flex; align-items: center; gap: 12px; padding: 9px 11px; border-radius: 11px;
}
.dropdown-menu a .mini-icon { width: 34px; height: 34px; flex-shrink: 0; }
.dropdown-menu .di-title { font-weight: 600; color: var(--ink); font-size: 14px; line-height: 1.2; }
.dropdown-menu .di-sub { font-size: 12px; color: var(--brown-faint); }

.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; flex-direction: column; gap: 5px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--ink); border-radius: 2px; transition: 0.25s; }

@media (max-width: 860px) {
  .nav-toggle { display: flex; }
  .nav-links {
    position: fixed; top: 68px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 2px;
    background: var(--paper); border-bottom: 1px solid var(--line);
    padding: 14px; max-height: 0; overflow: hidden;
    box-shadow: 0 24px 50px -20px rgba(42,33,27,0.3);
    transition: max-height 0.35s var(--ease), padding 0.35s var(--ease);
  }
  .nav.open .nav-links { max-height: 90vh; }
  .nav.open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav.open .nav-toggle span:nth-child(2) { opacity: 0; }
  .nav.open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .dropdown-menu {
    position: static; opacity: 1; visibility: visible; transform: none;
    box-shadow: none; border: none; background: transparent; padding: 4px 0 4px 12px; min-width: 0;
  }
  .nav-cta { text-align: center; }
}

/* ═══════════════ BUTTONS ═══════════════ */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--sans); font-weight: 600; font-size: 15px;
  padding: 13px 24px; border-radius: 13px; cursor: pointer; border: 1px solid transparent;
  transition: transform 0.2s var(--ease), box-shadow 0.2s, background 0.2s, color 0.2s;
  text-decoration: none; line-height: 1;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn-primary { background: var(--terra); color: #fff; box-shadow: 0 12px 28px -10px rgba(194,94,52,0.7); }
.btn-primary:hover { background: var(--terra-deep); box-shadow: 0 16px 34px -10px rgba(168,72,31,0.7); }
.btn-dark { background: var(--ink); color: var(--cream); }
.btn-dark:hover { background: var(--cocoa); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--ink); background: rgba(58,46,38,0.04); }
.btn-store { background: var(--ink); color: #fff; }
.btn-store:hover { background: var(--terra-deep); }
.btn svg { flex-shrink: 0; }

/* ═══════════════ LAYOUT ═══════════════ */
.wrap { max-width: var(--maxw); margin: 0 auto; padding-left: clamp(16px, 4vw, 40px); padding-right: clamp(16px, 4vw, 40px); }
.section { padding: clamp(64px, 9vw, 120px) 0; }
.section-head { max-width: 640px; margin-bottom: 48px; }
.section-head h2 { font-family: var(--serif); font-weight: 600; font-size: clamp(2rem, 4vw, 2.9rem); line-height: 1.08; color: var(--ink); letter-spacing: -0.02em; margin: 14px 0 0; }
.section-head p { margin-top: 16px; font-size: 1.08rem; color: var(--brown-soft); }

/* ═══════════════ HERO ═══════════════ */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; padding-top: 68px; overflow: hidden; }
#hero-canvas { position: absolute; inset: 0; z-index: 1; display: block; }
.hero-fallback {
  position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(120% 90% at 78% 18%, rgba(224,122,69,0.30), transparent 55%),
    radial-gradient(90% 80% at 12% 90%, rgba(216,192,155,0.45), transparent 60%),
    linear-gradient(160deg, var(--cream) 0%, var(--cream-2) 60%, var(--cream-3) 100%);
}
.hero::after {
  content: ""; position: absolute; bottom: 0; left: 0; right: 0; height: 160px; z-index: 1;
  background: linear-gradient(to bottom, transparent, var(--cream)); pointer-events: none;
}
.hero-inner { position: relative; z-index: 2; width: 100%; }
.hero-content { max-width: 660px; }
.hero h1 {
  font-family: var(--serif); font-weight: 600; letter-spacing: -0.025em;
  font-size: clamp(2.7rem, 7vw, 5.3rem); line-height: 0.98; color: var(--ink);
  margin: 22px 0 0;
}
.hero h1 .hl { color: var(--terra); font-style: italic; }
.hero-sub { margin-top: 26px; font-size: clamp(1.05rem, 1.8vw, 1.3rem); color: var(--brown-soft); max-width: 500px; line-height: 1.6; }
.hero-actions { margin-top: 38px; display: flex; gap: 14px; flex-wrap: wrap; }
.hero-scroll { position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); z-index: 2; font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--brown-faint); display: flex; flex-direction: column; align-items: center; gap: 8px; }
.hero-scroll .mouse { width: 22px; height: 34px; border: 1.6px solid var(--brown-faint); border-radius: 12px; position: relative; }
.hero-scroll .mouse::after { content: ""; position: absolute; top: 6px; left: 50%; width: 3px; height: 6px; background: var(--brown-faint); border-radius: 2px; transform: translateX(-50%); animation: scrolldot 1.6s infinite; }
@keyframes scrolldot { 0% { opacity: 0; transform: translate(-50%, 0); } 40% { opacity: 1; } 80% { opacity: 0; transform: translate(-50%, 10px); } }

/* stat strip */
.stats { display: flex; flex-wrap: wrap; gap: clamp(20px, 5vw, 64px); margin-top: 46px; }
.stat .n { font-family: var(--serif); font-weight: 600; font-size: clamp(1.8rem, 3vw, 2.4rem); color: var(--ink); line-height: 1; }
.stat .l { font-size: 13px; color: var(--brown-soft); margin-top: 6px; letter-spacing: 0.02em; }

/* ═══════════════ APP CARDS ═══════════════ */
.apps-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(310px, 1fr)); gap: 22px; }
.app-card {
  position: relative; display: flex; flex-direction: column;
  background: var(--paper); border: 1px solid var(--line); border-radius: 22px;
  padding: 28px; text-decoration: none; color: inherit; overflow: hidden;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s;
}
.app-card::before {
  content: ""; position: absolute; inset: 0; border-radius: 22px; opacity: 0;
  background: radial-gradient(120% 100% at 100% 0%, var(--card-accent, var(--terra-glow)), transparent 60%);
  transition: opacity 0.4s; pointer-events: none; mix-blend-mode: multiply; --tw: 1;
}
.app-card:hover { transform: translateY(-6px); text-decoration: none; box-shadow: 0 30px 60px -28px rgba(42,33,27,0.4); border-color: transparent; }
.app-card:hover::before { opacity: 0.10; }
.app-card .glyph { width: 60px; height: 60px; margin-bottom: 20px; box-shadow: 0 10px 22px -10px var(--card-accent, rgba(0,0,0,.4)); border-radius: 16px; }
.app-card .tag { font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--brown-faint); font-weight: 600; }
.app-card h3 { font-family: var(--serif); font-weight: 600; font-size: 1.5rem; color: var(--ink); margin: 8px 0 10px; letter-spacing: -0.01em; }
.app-card p { font-size: 0.95rem; color: var(--brown-soft); line-height: 1.6; flex: 1; }
.app-card .card-foot { margin-top: 20px; display: flex; align-items: center; justify-content: space-between; }
.app-card .go { font-size: 14px; font-weight: 600; color: var(--ink); display: inline-flex; align-items: center; gap: 7px; }
.app-card .go::after { content: "→"; transition: transform 0.25s var(--ease); }
.app-card:hover .go::after { transform: translateX(5px); }
.pill { font-size: 10.5px; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 700; padding: 5px 11px; border-radius: 30px; }
.pill-live { color: #2E7D6B; background: rgba(46,125,107,0.12); }
.pill-soon { color: var(--terra-deep); background: rgba(194,94,52,0.12); }

/* feature reveal animation */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ═══════════════ ABOUT / PHILOSOPHY STRIP ═══════════════ */
.band { background: var(--espresso); color: rgba(246,240,226,0.7); position: relative; overflow: hidden; }
.band::before { content:""; position:absolute; inset:0; background: radial-gradient(80% 120% at 85% 10%, rgba(224,122,69,0.18), transparent 55%); pointer-events:none; }
.band h2 { color: var(--cream); }
.band .eyebrow { color: var(--terra-glow); }
.band strong { color: var(--cream); font-weight: 600; }
.band a { color: var(--terra-glow); }

.values { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px,1fr)); gap: 28px; margin-top: 44px; }
.value h3 { font-family: var(--serif); color: var(--cream); font-size: 1.3rem; font-weight: 600; margin-bottom: 10px; }
.value .vnum { font-family: var(--serif); font-size: 0.95rem; color: var(--terra-glow); margin-bottom: 14px; display:block; }
.value p { font-size: 0.95rem; line-height: 1.7; }

/* ═══════════════ APP DETAIL ═══════════════ */
.app-hero { padding: calc(68px + 56px) 0 0; background: linear-gradient(180deg, var(--cream-2), var(--cream)); position: relative; overflow: hidden; }
.app-hero::before { content:""; position:absolute; top:-40%; right:-10%; width:60%; height:120%; background: radial-gradient(circle, var(--app-accent, var(--terra-glow)), transparent 62%); opacity:0.14; pointer-events:none; }
.app-hero-inner { display: flex; gap: 28px; align-items: center; flex-wrap: wrap; }
.app-hero .glyph { width: 92px; height: 92px; flex-shrink: 0; border-radius: 22px; box-shadow: 0 18px 36px -14px var(--app-accent, rgba(0,0,0,.4)); }
.app-hero h1 { font-family: var(--serif); font-weight: 600; font-size: clamp(2rem, 4.5vw, 3rem); color: var(--ink); letter-spacing: -0.02em; line-height: 1.05; }
.app-hero .tag { display:inline-block; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--app-accent, var(--terra-deep)); font-weight: 700; margin-bottom: 10px; }
.app-hero .lead { color: var(--brown-soft); font-size: 1.05rem; max-width: 520px; margin-top: 12px; }
.app-hero .app-actions { margin-top: 20px; display:flex; gap:12px; flex-wrap:wrap; }

/* tab nav (real links) */
.app-tabs { position: sticky; top: 68px; z-index: 40; margin-top: 40px; background: rgba(246,240,226,0.85); backdrop-filter: blur(10px); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.app-tabs-inner { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.app-tabs-inner::-webkit-scrollbar { display: none; }
.app-tabs a { white-space: nowrap; padding: 16px 16px; font-size: 14px; font-weight: 600; color: var(--brown-soft); border-bottom: 2px solid transparent; }
.app-tabs a:hover { color: var(--ink); text-decoration: none; }
.app-tabs a.active { color: var(--app-accent, var(--terra-deep)); border-bottom-color: var(--app-accent, var(--terra)); }

/* overview body */
.app-body { padding: clamp(48px, 7vw, 84px) 0; }
.app-body h2 { font-family: var(--serif); font-weight: 600; font-size: clamp(1.6rem, 3vw, 2.2rem); color: var(--ink); letter-spacing: -0.01em; margin-bottom: 16px; }
.app-body > p { color: var(--brown); font-size: 1.05rem; line-height: 1.8; margin-bottom: 18px; max-width: 760px; }
.feature-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 16px; margin: 36px 0; }
.feature-item { background: var(--paper); border: 1px solid var(--line); border-radius: 16px; padding: 22px; transition: transform 0.3s var(--ease), box-shadow 0.3s; }
.feature-item:hover { transform: translateY(-3px); box-shadow: 0 18px 36px -22px rgba(42,33,27,0.35); }
.feature-item .fi-label { font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--app-accent, var(--terra-deep)); font-weight: 700; margin-bottom: 9px; }
.feature-item p { font-size: 0.92rem; color: var(--brown-soft); line-height: 1.65; }

/* ═══════════════ DOC PAGES (privacy/terms/oss/faq) ═══════════════ */
.doc { max-width: 760px; margin: 0 auto; padding: clamp(40px, 6vw, 72px) 0 96px; }
.doc h1 { font-family: var(--serif); font-weight: 600; font-size: clamp(1.9rem, 4vw, 2.6rem); color: var(--ink); letter-spacing: -0.02em; line-height: 1.1; }
.doc .doc-meta { color: var(--brown-faint); font-size: 14px; margin: 10px 0 0; padding-bottom: 26px; border-bottom: 1px solid var(--line); }
.doc .lead { color: var(--brown); font-size: 1.05rem; margin: 26px 0 0; line-height: 1.8; }
.doc h2 { font-size: 0.92rem; letter-spacing: 0.04em; text-transform: uppercase; font-weight: 700; color: var(--ink); margin: 38px 0 12px; }
.doc p { color: var(--brown); line-height: 1.85; margin-bottom: 14px; }
.doc ul { padding-left: 22px; margin-bottom: 16px; }
.doc li { color: var(--brown); line-height: 1.8; margin-bottom: 6px; }
.doc strong { color: var(--ink); font-weight: 600; }
.caps-warning { font-size: 0.86rem; color: var(--cocoa); font-weight: 500; line-height: 1.7; background: #FBEFE2; border-left: 3px solid var(--terra); padding: 16px 20px; border-radius: 0 10px 10px 0; margin: 16px 0; }

/* breadcrumb */
.crumb { font-size: 13.5px; color: var(--brown-soft); margin-bottom: 6px; }
.crumb a { color: var(--brown-soft); }
.crumb a:hover { color: var(--terra-deep); }

/* FAQ */
.faq-group-title { font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--app-accent, var(--terra-deep)); font-weight: 700; margin: 40px 0 6px; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; cursor: pointer; padding: 20px 0; font-weight: 600; color: var(--ink); font-size: 1rem; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 22px; font-weight: 300; color: var(--brown-faint); transition: transform 0.25s var(--ease); flex-shrink: 0; line-height: 1; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item .faq-a { padding: 0 0 22px; color: var(--brown-soft); line-height: 1.8; font-size: 0.96rem; }

/* ═══════════════ DOWNLOAD CTA ═══════════════ */
.dl { background: var(--espresso); color: var(--cream); border-radius: 26px; padding: clamp(30px, 4vw, 44px); display: flex; align-items: center; gap: 32px; flex-wrap: wrap; position: relative; overflow: hidden; }
.dl::before { content:""; position:absolute; inset:0; background: radial-gradient(70% 120% at 90% 20%, var(--app-accent, var(--terra-glow)), transparent 55%); opacity:0.22; pointer-events:none; }
.dl-text { position: relative; flex: 1; min-width: 260px; }
.dl-text h3 { font-family: var(--serif); font-weight: 600; font-size: 1.5rem; color: var(--cream); margin-bottom: 10px; }
.dl-text p { color: rgba(246,240,226,0.66); font-size: 0.95rem; margin-bottom: 20px; line-height: 1.6; max-width: 460px; }

/* ═══════════════ CONTACT ═══════════════ */
.contact-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: start; }
@media (max-width: 820px) { .contact-grid { grid-template-columns: 1fr; gap: 32px; } }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: 13.5px; font-weight: 600; color: var(--ink); margin-bottom: 7px; }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; background: var(--paper); border: 1px solid var(--line); border-radius: 12px;
  padding: 13px 15px; font-family: var(--sans); font-size: 15px; color: var(--ink); outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--terra); box-shadow: 0 0 0 3px rgba(194,94,52,0.14); }
.form-group textarea { min-height: 130px; resize: vertical; }
.contact-card { background: var(--paper); border: 1px solid var(--line); border-radius: 20px; padding: 28px; }
.contact-card h3 { font-family: var(--serif); font-size: 1.25rem; color: var(--ink); margin-bottom: 6px; }
.contact-row { display: flex; gap: 13px; align-items: flex-start; padding: 14px 0; border-bottom: 1px solid var(--line-soft); }
.contact-row:last-child { border-bottom: none; }
.contact-row .ci { width: 38px; height: 38px; border-radius: 11px; background: rgba(194,94,52,0.12); color: var(--terra-deep); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.contact-row .ct { font-size: 0.92rem; color: var(--brown-soft); }
.contact-row .ct strong { display: block; color: var(--ink); font-size: 0.95rem; margin-bottom: 1px; }
.form-note { font-size: 12.5px; color: var(--brown-faint); margin-top: 12px; }

/* ═══════════════ PAGE HEADER (about/contact/legal) ═══════════════ */
.page-head { padding: calc(68px + 60px) 0 0; position: relative; overflow: hidden; }
.page-head::before { content:""; position:absolute; top:-50%; right:-5%; width:50%; height:130%; background: radial-gradient(circle, var(--terra-glow), transparent 60%); opacity:0.12; pointer-events:none; }
.page-head h1 { font-family: var(--serif); font-weight: 600; font-size: clamp(2.3rem, 5.5vw, 3.6rem); color: var(--ink); letter-spacing: -0.025em; line-height: 1.04; margin-top: 16px; }
.page-head h1 .hl { color: var(--terra); }
.page-head .lead { font-size: 1.15rem; color: var(--brown-soft); max-width: 620px; margin-top: 20px; border-left: 3px solid var(--terra); padding-left: 22px; line-height: 1.7; }
.prose { max-width: 720px; }
.prose h2 { font-family: var(--serif); font-weight: 600; font-size: 1.5rem; color: var(--ink); margin: 40px 0 12px; }
.prose p { color: var(--brown); line-height: 1.85; margin-bottom: 14px; }

/* ═══════════════ FOOTER ═══════════════ */
.footer { background: var(--espresso-2); color: rgba(246,240,226,0.55); padding: 64px 0 36px; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; }
@media (max-width: 760px) { .footer-top { grid-template-columns: 1fr 1fr; gap: 28px; } }
.footer-brand .nav-logo { margin-bottom: 14px; }
.footer-brand .wordmark { color: var(--cream); }
.footer-brand p { font-size: 0.9rem; line-height: 1.7; max-width: 280px; color: rgba(246,240,226,0.5); }
.footer-col h4 { font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(246,240,226,0.4); font-weight: 700; margin-bottom: 14px; }
.footer-col a { display: block; color: rgba(246,240,226,0.62); font-size: 0.92rem; padding: 5px 0; }
.footer-col a:hover { color: var(--cream); text-decoration: none; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; margin-top: 48px; padding-top: 24px; border-top: 1px solid rgba(246,240,226,0.1); font-size: 0.84rem; }
.footer-bottom a { color: rgba(246,240,226,0.55); }

/* ═══════════════ MISC ═══════════════ */
.center { text-align: center; }
.mt-s { margin-top: 14px; } .mt-m { margin-top: 28px; } .mt-l { margin-top: 48px; }
/* ═══════════════ REAL APP ICONS (App Store squircle) ═══════════════ */
.app-icon-img { border-radius: 22.5%; display: block; object-fit: cover; }
.app-card .glyph.app-icon-img { box-shadow: 0 12px 26px -12px rgba(42,33,27,0.5); }
.app-hero .glyph.app-icon-img { box-shadow: 0 20px 40px -16px rgba(42,33,27,0.55); }
.dropdown-menu a .mini-icon .app-icon-img { width: 34px; height: 34px; }

/* app meta chips (price / category / version) */
.app-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.app-meta .chip {
  font-size: 12px; font-weight: 600; letter-spacing: 0.01em;
  color: var(--brown); background: rgba(58,46,38,0.06);
  border: 1px solid var(--line); padding: 5px 12px; border-radius: 30px;
}
.app-meta .chip.accent { color: #fff; background: var(--app-accent, var(--terra)); border-color: transparent; }

/* ═══════════════ SCREENSHOT GALLERY ═══════════════ */
.shots-section { padding: clamp(40px,6vw,72px) 0; background: linear-gradient(180deg, var(--cream), var(--cream-2)); overflow: hidden; }
.shots-head { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 30px; flex-wrap: wrap; }
.shots-head h2 { font-family: var(--serif); font-weight: 600; font-size: clamp(1.5rem,3vw,2.1rem); color: var(--ink); letter-spacing: -0.01em; }
.shots-head p { color: var(--brown-soft); font-size: 0.95rem; }
.shots-rail {
  display: flex; gap: 20px; overflow-x: auto; padding: 6px 4px 24px;
  scroll-snap-type: x mandatory; scrollbar-width: thin; scrollbar-color: var(--sand-deep) transparent;
}
.shots-rail::-webkit-scrollbar { height: 8px; }
.shots-rail::-webkit-scrollbar-thumb { background: var(--sand-deep); border-radius: 8px; }
.phone {
  scroll-snap-align: center; flex: 0 0 auto;
  width: clamp(208px, 24vw, 260px);
  border-radius: 34px; padding: 9px;
  background: linear-gradient(160deg, #2c2c2e, #161617);
  box-shadow: 0 26px 50px -22px rgba(42,33,27,0.55), inset 0 0 0 1.5px rgba(255,255,255,0.06);
  position: relative;
  transition: transform 0.4s var(--ease);
}
.phone::before { /* notch */
  content: ""; position: absolute; top: 16px; left: 50%; transform: translateX(-50%);
  width: 34%; height: 18px; background: #0d0d0e; border-radius: 0 0 12px 12px; z-index: 2;
}
.phone:hover { transform: translateY(-6px); }
.phone img { width: 100%; display: block; border-radius: 26px; background: var(--cream-3); aspect-ratio: 820/1776; object-fit: cover; }

/* ═══════════════ "HAVE AN APP IDEA" CTA ═══════════════ */
.idea-cta { position: relative; overflow: hidden; }
.idea-band {
  position: relative; border-radius: 30px; overflow: hidden;
  background:
    radial-gradient(90% 130% at 88% 8%, rgba(224,122,69,0.55), transparent 55%),
    radial-gradient(80% 120% at 10% 95%, rgba(122,90,166,0.28), transparent 55%),
    linear-gradient(150deg, var(--espresso) 0%, #2f231b 55%, #3a2418 100%);
  padding: clamp(40px, 6vw, 76px) clamp(26px, 5vw, 70px);
  text-align: center;
}
.idea-band::after {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.10) 1px, transparent 1px);
  background-size: 22px 22px; opacity: 0.25; pointer-events: none;
  mask-image: radial-gradient(circle at 50% 40%, #000, transparent 75%);
}
.idea-band .eyebrow { color: var(--terra-glow); }
.idea-band h2 {
  position: relative; font-family: var(--serif); font-weight: 600;
  font-size: clamp(2rem, 5vw, 3.4rem); line-height: 1.04; letter-spacing: -0.02em;
  color: var(--cream); margin: 14px auto 0; max-width: 16ch;
}
.idea-band h2 .hl { color: var(--terra-glow); font-style: italic; }
.idea-band p { position: relative; color: rgba(246,240,226,0.72); max-width: 540px; margin: 18px auto 0; font-size: 1.06rem; line-height: 1.6; }
.idea-actions { position: relative; margin-top: 32px; display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.idea-actions .btn-primary { box-shadow: 0 16px 40px -12px rgba(224,122,69,0.7); }
.idea-band .btn-ghost { color: var(--cream); border-color: rgba(246,240,226,0.3); }
.idea-band .btn-ghost:hover { border-color: var(--cream); background: rgba(246,240,226,0.08); }

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
