/* Mend — site styles. Dawn palette: coral #FF6F61, cream, plum ink. */
:root {
  --brand: #FF6F61;
  --brand-dark: #E1503F;
  --bg: #FAF3EC;
  --card: #ffffff;
  --ink: #2B2033;
  --ink-2: #776C82;
  --hairline: #ECE2DA;
  --amber: #F5B14C;
  --lilac: #C9B8D8;
  --radius: 22px;
  --maxw: 1080px;
  /* dawn pastel feature tints */
  --t-peach: #FCE3D2;
  --t-blush: #FBDDE3;
  --t-lilac: #EAE1F2;
  --t-cream: #FBEFD9;
  --t-rose: #F7D9DE;
  --t-sky: #E4E8F5;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.55;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: var(--brand-dark); text-decoration: none; }
a:hover { text-decoration: underline; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }
.grad {
  background: linear-gradient(90deg, var(--brand), #F0836A 55%, var(--amber));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: rgba(250,243,236,0.82);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--hairline);
}
.site-header .wrap { display: flex; align-items: center; gap: 12px; height: 64px; }
.brand-row { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 19px; }
.brand-row img { width: 34px; height: 34px; border-radius: 9px; }
.brand-row .name { color: var(--ink); }
.site-header nav { margin-left: auto; display: flex; gap: 22px; font-weight: 600; font-size: 15px; align-items: center; }
.site-header nav a { color: var(--ink-2); }
.site-header nav a:hover { color: var(--ink); text-decoration: none; }
.site-header nav a.nav-get { color: #fff; background: var(--brand); padding: 8px 16px; border-radius: 999px; }
.site-header nav a.nav-get:hover { background: var(--brand-dark); color: #fff; }
.rainbow-line { height: 3px; background: linear-gradient(90deg, var(--brand), var(--amber), var(--lilac), #F0836A); opacity: .85; }

/* Hero */
.hero { position: relative; padding: 70px 0 30px; overflow: hidden; }
.hero::before, .hero::after {
  content: ""; position: absolute; border-radius: 50%; filter: blur(80px); z-index: 0; opacity: .55;
}
.hero::before { width: 520px; height: 520px; background: #FBD0C4; top: -160px; left: -120px; }
.hero::after { width: 460px; height: 460px; background: #E7D6EC; top: -120px; right: -120px; }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr 1fr; gap: 36px; align-items: center; }
.hero-grid > * { min-width: 0; }
.eyebrow { display: inline-block; font-weight: 700; font-size: 13px; letter-spacing: .04em; text-transform: uppercase; color: var(--brand-dark); background: rgba(255,111,97,.12); padding: 7px 14px; border-radius: 999px; }
.hero h1 { font-size: clamp(38px, 6vw, 66px); font-weight: 900; letter-spacing: -0.03em; line-height: 1.05; margin: 18px 0 14px; max-width: 100%; overflow-wrap: break-word; }
.hero p.lead { font-size: clamp(18px, 2.2vw, 21px); color: var(--ink-2); max-width: 540px; }
.cta-row { margin-top: 26px; }
.btn-appstore {
  display: inline-flex; align-items: center; gap: 12px; background: var(--ink); color: #fff;
  padding: 11px 24px; border-radius: 14px;
  box-shadow: 0 12px 30px rgba(43,32,51,.22);
  transition: transform .18s ease, box-shadow .18s ease;
}
.btn-appstore:hover { text-decoration: none; transform: translateY(-2px); box-shadow: 0 18px 40px rgba(43,32,51,.3); }
.btn-appstore .apple-ic { width: 26px; height: 26px; flex: 0 0 auto; }
.btn-appstore span { display: flex; flex-direction: column; line-height: 1.06; text-align: left; }
.btn-appstore small { font-size: 11px; font-weight: 600; letter-spacing: .01em; opacity: .92; }
.btn-appstore strong { font-size: 19px; font-weight: 700; letter-spacing: -.01em; }
.supported { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 8px; }
.chip { background: var(--card); border: 1px solid var(--hairline); border-radius: 999px; padding: 7px 14px; font-size: 14px; font-weight: 600; color: var(--ink-2); }

/* Hero phones */
.hero-phones { position: relative; height: 580px; display: flex; align-items: center; justify-content: center; }
.phone {
  background: #201826; border-radius: 40px; padding: 8px;
  box-shadow: 0 30px 70px rgba(43,32,51,.24); border: 1px solid rgba(0,0,0,.06);
}
.phone img { display: block; width: 100%; height: auto; border-radius: 32px; }
.hero-phones .phone { position: absolute; width: 262px; }
.phone-front { transform: rotate(3deg) translateX(42px); z-index: 2; }
.phone-back { transform: rotate(-6deg) translateX(-72px) scale(.94); z-index: 1; opacity: .97; }

/* Showcase */
.showcase { padding: 56px 0; }
.shots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; margin-top: 28px; }
.shot-card { display: flex; flex-direction: column; align-items: center; text-align: center; }
.shot-card .phone { width: 240px; }
.shot-card figcaption { margin-top: 18px; color: var(--ink-2); font-size: 15.5px; max-width: 260px; }
.shot-card figcaption strong { display: block; color: var(--ink); font-size: 19px; font-weight: 800; margin-bottom: 2px; }

/* Sections */
section { padding: 52px 0; }
section h2 { font-size: clamp(28px, 4vw, 38px); font-weight: 900; letter-spacing: -0.02em; margin-bottom: 8px; }
section .sub { color: var(--ink-2); margin-bottom: 28px; max-width: 640px; }

.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 18px; }
.feature { border-radius: var(--radius); padding: 24px; border: 1px solid rgba(0,0,0,.05); transition: transform .18s ease, box-shadow .18s ease; }
.feature:hover { transform: translateY(-4px); box-shadow: 0 16px 34px rgba(43,32,51,.08); }
.feature .ic { font-size: 28px; line-height: 1; margin-bottom: 12px; }
.feature h3 { font-size: 20px; font-weight: 800; margin-bottom: 6px; }
.feature p { color: #3a3340; font-size: 15.5px; }
.tint-peach { background: var(--t-peach); }
.tint-blush { background: var(--t-blush); }
.tint-lilac { background: var(--t-lilac); }
.tint-cream { background: var(--t-cream); }
.tint-rose { background: var(--t-rose); }
.tint-sky { background: var(--t-sky); }

.how .steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 22px; }
.step { display: flex; gap: 16px; align-items: flex-start; background: var(--card); border: 1px solid var(--hairline); border-radius: var(--radius); padding: 22px; }
.step .n { flex: 0 0 auto; width: 42px; height: 42px; border-radius: 999px; background: linear-gradient(135deg, var(--brand), var(--brand-dark)); color: #fff; font-weight: 900; display: grid; place-items: center; font-size: 18px; }
.step h3 { font-size: 18px; font-weight: 800; margin-bottom: 2px; }
.step p { color: var(--ink-2); font-size: 15.5px; }

.privacy-callout { position: relative; overflow: hidden; background: linear-gradient(135deg, var(--brand), #E1503F); color: #fff; border-radius: 28px; padding: 48px 30px; text-align: center; box-shadow: 0 24px 60px rgba(255,111,97,.32); }
.privacy-callout h2 { color: #fff; }
.privacy-callout p { max-width: 640px; margin: 10px auto 0; opacity: 0.97; }
.privacy-callout a { color: #fff; text-decoration: underline; }

/* Download CTA */
.download-cta { padding: 20px 0 64px; }
.download-callout { position: relative; overflow: hidden; text-align: center; background: var(--card); border: 1px solid var(--hairline); border-radius: 28px; padding: 56px 30px; box-shadow: 0 24px 60px rgba(43,32,51,.07); }
.download-callout h2 { margin-bottom: 8px; }
.download-callout p { color: var(--ink-2); max-width: 520px; margin: 0 auto 26px; }
.btn-appstore-light { box-shadow: 0 16px 34px rgba(43,32,51,.22); }

/* FAQ */
.faq-list { display: grid; gap: 12px; max-width: 760px; }
.faq details { background: var(--card); border: 1px solid var(--hairline); border-radius: 16px; padding: 6px 20px; }
.faq summary { cursor: pointer; font-weight: 700; font-size: 17px; padding: 14px 0; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--brand-dark); font-size: 24px; font-weight: 700; }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--ink-2); padding: 0 0 16px; font-size: 16px; }

/* Legal pages */
.legal { padding: 40px 0 70px; }
.legal .doc { background: var(--card); border: 1px solid var(--hairline); border-radius: var(--radius); padding: clamp(24px, 5vw, 56px); }
.legal h1 { font-size: clamp(30px, 5vw, 40px); font-weight: 900; margin-bottom: 6px; }
.legal .updated { color: var(--ink-2); font-size: 14px; margin-bottom: 28px; }
.legal h2 { font-size: 21px; font-weight: 800; margin: 30px 0 10px; }
.legal h3 { font-size: 17px; font-weight: 800; margin: 18px 0 6px; }
.legal p, .legal li { color: #2f2833; font-size: 16px; margin-bottom: 12px; }
.legal ul { padding-left: 22px; }
.legal li { margin-bottom: 8px; }
.legal .back { display: inline-block; margin-bottom: 22px; font-weight: 700; }
.legal strong { color: var(--ink); }

/* Footer */
.site-footer { border-top: 1px solid var(--hairline); padding: 34px 0; color: var(--ink-2); font-size: 14px; }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }
.site-footer nav { display: flex; gap: 18px; flex-wrap: wrap; }
.site-footer .copy { margin-left: auto; }

/* Responsive */
@media (max-width: 880px) {
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero-copy { display: flex; flex-direction: column; align-items: center; }
  .hero p.lead { margin-left: auto; margin-right: auto; }
  .supported { justify-content: center; }
  .hero-phones { height: 540px; margin-top: 20px; }
  .shots { grid-template-columns: 1fr; justify-items: center; gap: 40px; }
}
@media (max-width: 560px) {
  .site-header nav { gap: 13px; font-size: 14px; }
  .site-header nav a[href="#how"],
  .site-header nav a[href="#features"],
  .site-header nav a[href="#faq"] { display: none; }
  .download-callout { padding: 44px 22px; }
  .hero h1 { font-size: clamp(34px, 11vw, 46px); }
  .hero-phones { height: 480px; }
  .hero-phones .phone { width: 220px; }
  .phone-back { transform: rotate(-6deg) translateX(-52px) scale(.92); }
  .phone-front { transform: rotate(3deg) translateX(32px); }
  .site-footer .copy { margin-left: 0; width: 100%; }
}
