/* Bikini Try On — site styles.
   Palette lifted verbatim from the app's Theme.swift so the site and the product
   are recognisably the same thing, in both light and dark. */
:root {
  --bg: #FBF7F2;
  --surface: #FFFCF7;
  --surface-2: #FFFFFF;
  --primary: #96604A;
  --primary-deep: #6E4A38;
  --accent: #9E5560;
  --text: #2B211B;
  --text-2: #5A4B41;
  --border: #E5D9CC;
  --radius: 18px;
  --measure: 68ch;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #15110E; --surface: #1F1915; --surface-2: #2A231E;
    --primary: #DDB79B; --primary-deep: #C29271; --accent: #E9A6AE;
    --text: #F5EEE7; --text-2: #C4B4A6; --border: #3A302A;
  }
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 17px/1.6 ui-sans-serif, -apple-system, "SF Pro Text", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}
.wrap { max-width: 1040px; margin: 0 auto; padding: 0 24px; }
.prose { max-width: var(--measure); }

header.site {
  position: sticky; top: 0; z-index: 10;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
header.site .wrap { display: flex; align-items: center; gap: 16px; height: 62px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 650; letter-spacing: -0.01em; }
.brand svg { width: 26px; height: 26px; }
nav { margin-left: auto; display: flex; gap: 20px; }
nav a { color: var(--text-2); text-decoration: none; font-size: 15px; }
nav a:hover { color: var(--text); }

h1, h2, h3 { letter-spacing: -0.02em; line-height: 1.15; }
h1 { font-family: ui-serif, "New York", Georgia, serif; font-size: clamp(38px, 6vw, 62px); margin: 0 0 18px; }
h2 { font-family: ui-serif, "New York", Georgia, serif; font-size: clamp(26px, 3.4vw, 34px); margin: 56px 0 14px; }
h3 { font-size: 18px; margin: 28px 0 8px; }
p { margin: 0 0 16px; color: var(--text-2); }
.lede { font-size: clamp(18px, 2.2vw, 21px); color: var(--text-2); }
.eyebrow {
  text-transform: uppercase; letter-spacing: 0.13em; font-size: 12px;
  font-weight: 650; color: var(--text-2); margin: 0 0 12px;
}

.hero { padding: 88px 0 64px; }
.hero .prose { max-width: 34ch; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 48px; align-items: center; }
@media (max-width: 820px) { .hero-grid { grid-template-columns: 1fr; } }

.btn {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 14px 22px; border-radius: 999px; text-decoration: none;
  font-weight: 620; font-size: 16px; min-height: 48px;
  background: var(--primary); color: #fff; border: 1px solid transparent;
}
@media (prefers-color-scheme: dark) { .btn { color: #241a14; } }
.btn.ghost { background: transparent; color: var(--primary-deep); border-color: var(--border); }
.btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 22px; }
@media (max-width: 820px) { .cards { grid-template-columns: 1fr; } }
.card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 22px;
}
.card h3 { margin-top: 0; }
.card p:last-child { margin-bottom: 0; }

.price {
  display: flex; flex-wrap: wrap; gap: 18px; align-items: stretch; margin-top: 22px;
}
.price .card { flex: 1 1 260px; }
.price .amount { font-size: 32px; font-weight: 680; color: var(--text); }

.phone {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 34px; padding: 14px; box-shadow: 0 24px 60px rgba(43,33,27,.10);
}
.phone .screen {
  border-radius: 24px; overflow: hidden; background: var(--bg);
  aspect-ratio: 9 / 19.5; display: grid; place-items: center;
}
.phone svg { width: 74%; height: auto; }

footer.site { margin-top: 84px; border-top: 1px solid var(--border); padding: 30px 0 56px; }
footer.site .wrap { display: flex; flex-wrap: wrap; gap: 18px; align-items: center; }
footer.site a { color: var(--text-2); font-size: 14px; text-decoration: none; }
footer.site a:hover { color: var(--text); }
.spacer { margin-left: auto; }
small.legal { color: var(--text-2); font-size: 13px; }

.toc { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 18px 22px; }
.toc ol { margin: 8px 0 0; padding-left: 20px; }
.toc a { color: var(--primary-deep); }
article.legal h2 { font-size: 22px; margin-top: 40px; }
article.legal ul { color: var(--text-2); }
article.legal { padding-bottom: 20px; }
.updated { font-size: 14px; color: var(--text-2); }
