/* Franca — meetfranca.com
   Daylight brand palette, mirrored from the app's ThemePalette (Theme.swift):
   linen ground, warm ink, coral→gold Franca gradient, teal/rose side accents. */

:root {
  --linen: #FDF9F2;
  --linen-top: #F7EFE4;
  --linen-bottom: #F9EDE6;
  --ink: #2B2118;
  --ink-soft: rgba(43, 33, 24, 0.72);
  --ink-faint: rgba(43, 33, 24, 0.48);
  --coral: #F26B4E;
  --gold: #FFB25E;
  --teal: #0E7C85;
  --rose: #C6536E;
  --card: #FFFFFF;
  --card-shadow: 0 7px 22px rgba(80, 55, 42, 0.10);
  --hairline: rgba(43, 33, 24, 0.12);
  --franca-gradient: linear-gradient(135deg, var(--coral), var(--gold));
  --radius: 18px;
  --font-display: ui-rounded, "SF Pro Rounded", "Hiragino Maru Gothic ProN",
    Quicksand, Comfortaa, Manjari, system-ui, sans-serif;
  --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui,
    Roboto, "Helvetica Neue", sans-serif;
}

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

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: linear-gradient(180deg, var(--linen-top) 0%, var(--linen) 22%,
    var(--linen) 78%, var(--linen-bottom) 100%);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--teal); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--coral); }
a:focus-visible, button:focus-visible {
  outline: 3px solid var(--coral);
  outline-offset: 3px;
  border-radius: 4px;
}

.wrap { max-width: 1060px; margin: 0 auto; padding: 0 24px; }

/* ---------- Header ---------- */

.site-header { padding: 22px 0; }
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.wordmark {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-display);
  font-weight: 700; font-size: 1.35rem; letter-spacing: 0.01em;
  color: var(--ink); text-decoration: none;
}
.wordmark:hover { color: var(--ink); }
.orb-dot {
  width: 26px; height: 26px; border-radius: 50%;
  background:
    radial-gradient(circle at 32% 26%, rgba(255,255,255,0.55), transparent 55%),
    var(--franca-gradient);
  box-shadow: 0 2px 8px rgba(242, 107, 78, 0.45);
  flex: none;
}
.site-nav { display: flex; gap: 22px; font-size: 0.95rem; }
.site-nav a { color: var(--ink-soft); text-decoration: none; font-weight: 500; }
.site-nav a:hover { color: var(--coral); }

/* ---------- Hero ---------- */

.hero { padding: 56px 0 72px; }
.hero .wrap {
  display: grid; grid-template-columns: 1.1fr 0.9fr;
  gap: 48px; align-items: center;
}
.eyebrow {
  font-family: var(--font-display);
  font-size: 0.8rem; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--teal);
}
h1 {
  font-family: var(--font-display);
  font-size: clamp(2.3rem, 5vw, 3.4rem);
  line-height: 1.12; font-weight: 800;
  margin: 14px 0 18px;
  text-wrap: balance;
}
h1 .grad {
  background: var(--franca-gradient);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}
.hero-sub {
  font-size: 1.15rem; color: var(--ink-soft);
  max-width: 30em; margin-bottom: 30px;
}
.cta-row { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.appstore-pill {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--ink); color: #fff;
  font-family: var(--font-display); font-weight: 600; font-size: 1rem;
  padding: 13px 24px; border-radius: 999px;
  text-decoration: none;
  box-shadow: 0 6px 18px rgba(43, 33, 24, 0.25);
}
.appstore-pill:hover { color: #fff; transform: translateY(-1px); }
.appstore-pill .apple { font-size: 1.2rem; line-height: 1; }
.cta-note { font-size: 0.9rem; color: var(--ink-faint); }

/* ---------- Phone mock ---------- */

.phone-col { display: flex; justify-content: center; }
.phone {
  width: 300px; aspect-ratio: 9 / 19;
  border-radius: 44px;
  border: 6px solid var(--ink);
  background: linear-gradient(180deg, #F9EDE6 0%, var(--linen) 32%,
    var(--linen) 68%, #F7EFE4 100%);
  box-shadow: 0 30px 60px rgba(80, 55, 42, 0.22);
  overflow: hidden;
  display: flex; flex-direction: column;
  font-size: 0.72rem;
}
.pane { flex: 1; padding: 14px 12px; display: flex; flex-direction: column; gap: 8px; overflow: hidden; }
.pane.flipped { transform: rotate(180deg); }
.pane-head {
  display: flex; align-items: center; justify-content: space-between;
  font-family: var(--font-display); font-weight: 600; font-size: 0.78rem;
  color: var(--ink); margin-bottom: 2px;
}
.pane-head .lang { display: flex; gap: 5px; align-items: center; }
.bars { display: flex; gap: 2px; align-items: flex-end; height: 12px; }
.bars i { width: 3px; border-radius: 2px; display: block; }
.bars.teal i { background: var(--teal); }
.bars.rose i { background: var(--rose); }
.bars i:nth-child(1) { height: 5px; } .bars i:nth-child(2) { height: 10px; }
.bars i:nth-child(3) { height: 7px; } .bars i:nth-child(4) { height: 11px; }
.bars i:nth-child(5) { height: 4px; }

/* Mimic the app's bottom-anchored transcript: content hugs the pane's end. */
.pane .push { margin-top: auto; }

.bubble {
  position: relative;
  background: var(--card); border-radius: 12px;
  box-shadow: 0 3px 9px rgba(80, 55, 42, 0.10);
  padding: 7px 10px 7px 13px;
  max-width: 86%; align-self: flex-start;
  font-weight: 500; overflow: hidden;
}
.bubble::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px;
}
.bubble.from-a::before { background: var(--teal); }
.bubble.from-b::before { background: var(--rose); }
.own {
  align-self: flex-end; text-align: right;
  color: var(--ink-faint); max-width: 86%; font-size: 0.68rem;
}

.mock-controls {
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
  padding: 8px 12px;
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  flex: none;
}
.status-pill {
  font-family: var(--font-display); font-size: 0.62rem; font-weight: 600;
  color: var(--coral);
  background: rgba(242, 107, 78, 0.12);
  padding: 3px 10px; border-radius: 999px;
  display: inline-flex; align-items: center; gap: 5px;
}
.status-pill::before {
  content: ""; width: 5px; height: 5px; border-radius: 50%;
  background: var(--coral);
  animation: pulse 1.8s ease-in-out infinite;
}
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } }
.mock-orb-row { display: flex; align-items: center; gap: 26px; }
.mock-side-btn {
  width: 22px; height: 22px; border-radius: 50%;
  background: rgba(43, 33, 24, 0.07);
  border: 1px solid var(--hairline);
}
.mock-orb {
  width: 44px; height: 44px; border-radius: 50%;
  background:
    radial-gradient(circle at 32% 26%, rgba(255,255,255,0.5), transparent 55%),
    var(--franca-gradient);
  box-shadow: 0 0 20px rgba(242, 107, 78, 0.5);
  border: 2px solid rgba(255, 255, 255, 0.5);
}

/* ---------- Sections ---------- */

section { padding: 64px 0; }
.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3.4vw, 2.2rem); font-weight: 700;
  margin-bottom: 10px; text-wrap: balance;
}
.section-lede { color: var(--ink-soft); max-width: 38em; margin-bottom: 40px; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.step {
  background: var(--card); border-radius: var(--radius);
  box-shadow: var(--card-shadow);
  padding: 26px 24px;
}
.step-num {
  font-family: var(--font-display); font-weight: 800; font-size: 0.95rem;
  width: 32px; height: 32px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--franca-gradient); color: #fff;
  margin-bottom: 14px;
}
.step h3, .feature h3 {
  font-family: var(--font-display); font-weight: 700; font-size: 1.05rem;
  margin-bottom: 6px;
}
.step p, .feature p { color: var(--ink-soft); font-size: 0.95rem; }

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.feature {
  background: var(--card); border-radius: var(--radius);
  box-shadow: var(--card-shadow); padding: 24px;
  border-top: 4px solid transparent;
}
.feature.t-teal { border-top-color: var(--teal); }
.feature.t-rose { border-top-color: var(--rose); }
.feature.t-coral { border-top-color: var(--coral); }
.feature .glyph { font-size: 1.5rem; margin-bottom: 10px; display: block; }

.theme-dots { display: flex; gap: 10px; margin-top: 14px; }
.theme-dots i {
  width: 22px; height: 22px; border-radius: 50%; display: block;
  border: 2px solid rgba(255, 255, 255, 0.8);
  box-shadow: 0 1px 4px rgba(80, 55, 42, 0.25);
}
.dot-daylight { background: linear-gradient(135deg, #F26B4E, #FFB25E); }
.dot-evening  { background: linear-gradient(135deg, #1B1512 45%, #F26B4E); }
.dot-orchid   { background: linear-gradient(135deg, #A855C8, #F073A8); }
.dot-midnight { background: linear-gradient(135deg, #40C8E0, #6366F1); }
.dot-sakura   { background: linear-gradient(135deg, #FF5E9E, #FFB1C8); }

.pricing-band {
  background: var(--card); border-radius: var(--radius);
  box-shadow: var(--card-shadow);
  padding: 40px; text-align: center;
}
.pricing-band .section-title { margin-bottom: 8px; }
.pricing-band p { color: var(--ink-soft); max-width: 36em; margin: 0 auto; }
.pricing-band strong { color: var(--ink); }

/* ---------- Article pages (privacy / terms / support) ---------- */

.article { max-width: 720px; margin: 0 auto; padding: 40px 24px 80px; }
.article h1 {
  font-size: clamp(1.9rem, 4vw, 2.5rem);
  margin: 8px 0 6px;
}
.article .updated { color: var(--ink-faint); font-size: 0.9rem; margin-bottom: 34px; }
.article h2 {
  font-family: var(--font-display); font-weight: 700; font-size: 1.25rem;
  margin: 36px 0 10px;
}
.article p, .article li { color: var(--ink-soft); margin-bottom: 12px; }
.article ul { padding-left: 22px; margin-bottom: 12px; }
.article li { margin-bottom: 6px; }
.article strong { color: var(--ink); }

.contact-card {
  background: var(--card); border-radius: var(--radius);
  box-shadow: var(--card-shadow);
  padding: 24px 28px; margin: 22px 0 10px;
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
}
.contact-card .orb-dot { width: 34px; height: 34px; }
.contact-card a { font-family: var(--font-display); font-weight: 600; font-size: 1.1rem; }

details {
  background: var(--card); border-radius: 14px;
  box-shadow: var(--card-shadow);
  padding: 16px 20px; margin-bottom: 12px;
}
details summary {
  font-family: var(--font-display); font-weight: 600;
  cursor: pointer; color: var(--ink); list-style-position: outside;
}
details[open] summary { margin-bottom: 8px; }
details p { margin-bottom: 6px; }

/* ---------- Footer ---------- */

.site-footer {
  border-top: 1px solid var(--hairline);
  padding: 34px 0 44px; margin-top: 20px;
  font-size: 0.9rem; color: var(--ink-faint);
}
.site-footer .wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; flex-wrap: wrap;
}
.footer-links { display: flex; gap: 20px; }
.footer-links a { color: var(--ink-soft); text-decoration: none; }
.footer-links a:hover { color: var(--coral); }

/* ---------- 404 ---------- */

.lost { text-align: center; padding: 90px 24px 110px; }
.lost .orb-dot { width: 56px; height: 56px; margin: 0 auto 24px; }
.lost h1 { margin-bottom: 10px; }
.lost p { color: var(--ink-soft); margin-bottom: 26px; }

/* ---------- Responsive ---------- */

@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: 1fr; gap: 40px; }
  .phone-col { order: 2; }
  .steps, .features { grid-template-columns: 1fr; }
  .site-nav { gap: 14px; }
}
