/* Mr. Cloth website, design direction C like the app (docs/design/design-system-c.md). Fonts are self-hosted. */

@font-face { font-family: Figtree; src: url('/fonts/Figtree-400.ttf') format('truetype'); font-weight: 400; font-display: swap; }
@font-face { font-family: Figtree; src: url('/fonts/Figtree-500.ttf') format('truetype'); font-weight: 500; font-display: swap; }
@font-face { font-family: Figtree; src: url('/fonts/Figtree-600.ttf') format('truetype'); font-weight: 600; font-display: swap; }
@font-face { font-family: Figtree; src: url('/fonts/Figtree-700.ttf') format('truetype'); font-weight: 700; font-display: swap; }
@font-face { font-family: Unbounded; src: url('/fonts/Unbounded-600.ttf') format('truetype'); font-weight: 600; font-display: swap; }
@font-face { font-family: Unbounded; src: url('/fonts/Unbounded-700.ttf') format('truetype'); font-weight: 700; font-display: swap; }

:root {
  --brand: #0139fa;
  --brand-pressed: #002ed1;
  --brand-light: #e6ecff;
  --navy: #0b1a4a;
  --text: #141a26;
  --text-secondary: #4a5568;
  --surface: #f5f7fb;
  --border: #dde2ea;
  --tile: #f2f0eb;
  --good: #0e7c5a;
}

* { box-sizing: border-box; }
body { margin: 0; background: #fff; color: var(--text); font-family: Figtree, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; -webkit-font-smoothing: antialiased; }
a { color: var(--brand); }
a:hover { color: var(--brand-pressed); }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; background: #fff; padding: 8px 12px; border-radius: 8px; z-index: 10; }

/* Header */
.head { background: var(--brand); color: #fff; padding-bottom: 96px; }
.head.small { padding-bottom: 72px; }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 22px; padding-bottom: 22px; }
.logo { display: block; line-height: 0; }
.logo svg { width: 150px; height: auto; }
.navlinks { display: flex; gap: 24px; flex-wrap: wrap; }
.navlinks a { color: #fff; text-decoration: none; font-weight: 600; font-size: 15px; opacity: 0.9; padding: 10px 0; }
.navlinks a:hover { color: #fff; opacity: 1; text-decoration: underline; }
.pagetitle { margin: 28px 0 0; font-family: Unbounded, sans-serif; font-weight: 700; font-size: 40px; letter-spacing: -0.8px; }

/* Hero */
.hero { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: 56px; align-items: center; padding-top: 40px; }
.h1 { margin: 0; font-family: Unbounded, sans-serif; font-weight: 700; font-size: 52px; line-height: 1.08; letter-spacing: -1.2px; }
.lead { margin: 22px 0 0; font-size: 20px; line-height: 1.5; color: rgba(255, 255, 255, 0.9); max-width: 560px; }
.ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 34px; align-items: center; }
.soon { display: inline-flex; align-items: center; gap: 10px; height: 54px; padding: 0 22px; border-radius: 16px; background: #fff; color: var(--text); font-weight: 700; font-size: 16px; }
.mail { display: inline-flex; align-items: center; height: 54px; padding: 0 22px; border-radius: 16px; border: 1.5px solid rgba(255, 255, 255, 0.65); color: #fff; text-decoration: none; font-weight: 600; font-size: 16px; }
.mail:hover { color: #fff; border-color: #fff; }

/* Phone mockup */
.phone { width: 300px; max-width: 100%; margin: 0 auto; border-radius: 40px; background: #fff; color: var(--text); border: 8px solid var(--navy); box-shadow: 0 30px 60px rgba(0, 16, 80, 0.35); overflow: hidden; }
.p-top { background: var(--navy); color: #fff; padding: 22px 18px 40px; display: flex; gap: 12px; align-items: center; }
.p-thumb { width: 64px; height: 76px; border-radius: 12px; background: var(--tile); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.p-brand { margin: 0; font-size: 11px; letter-spacing: 1px; font-weight: 700; color: rgba(255, 255, 255, 0.75); }
.p-title { margin: 2px 0 0; font-family: Unbounded, sans-serif; font-weight: 600; font-size: 15px; }
.p-sheet { margin-top: -22px; background: #fff; border-radius: 22px 22px 0 0; padding: 20px 18px 22px; display: flex; flex-direction: column; gap: 6px; }
.p-verdict { margin: 0; font-family: Unbounded, sans-serif; font-weight: 700; font-size: 26px; color: var(--good); }
.p-num { margin: 6px 0 0; font-family: Unbounded, sans-serif; font-weight: 700; font-size: 58px; line-height: 1; }
.p-of { margin: 0; font-size: 14px; color: var(--text-secondary); }
.p-size { margin-top: 14px; border-radius: 16px; background: var(--brand-light); padding: 12px 14px; font-size: 13px; line-height: 1.45; }

/* Content sheet */
.sheet { background: #fff; border-radius: 28px 28px 0 0; margin-top: -40px; position: relative; }
.section { padding-top: 72px; padding-bottom: 16px; }
.eyebrow { margin: 0; font-size: 13px; font-weight: 700; letter-spacing: 1.4px; color: var(--text-secondary); }
.h2 { margin: 10px 0 0; font-family: Unbounded, sans-serif; font-weight: 600; font-size: 34px; line-height: 1.15; letter-spacing: -0.6px; }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 36px; }
.step { border-radius: 20px; background: var(--surface); padding: 26px; }
.step-no { font-family: Unbounded, sans-serif; font-weight: 700; font-size: 15px; color: var(--brand); }
.step h3, .feat h3 { margin: 12px 0 0; font-family: Unbounded, sans-serif; font-weight: 600; font-size: 19px; }
.feat h3 { margin-top: 0; font-size: 20px; }
.step p, .feat p { margin: 10px 0 0; font-size: 16px; line-height: 1.55; color: var(--text-secondary); }
.feats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: 36px; }
.feat { border-radius: 20px; border: 1px solid var(--border); padding: 28px; }
.quote { margin-top: 16px; border-radius: 14px; background: var(--brand-light); padding: 12px 14px; font-size: 15px; }
.honest { margin-top: 72px; border-radius: 24px; background: var(--navy); color: #fff; padding: 48px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; align-items: center; }
.honest h2 { margin: 0; font-family: Unbounded, sans-serif; font-weight: 700; font-size: 30px; line-height: 1.2; }
.honest ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 14px; font-size: 17px; line-height: 1.5; color: rgba(255, 255, 255, 0.92); }
.beta { margin-top: 72px; text-align: center; padding-bottom: 72px; }
.beta p { margin: 14px auto 0; max-width: 560px; font-size: 18px; line-height: 1.55; color: var(--text-secondary); }
.button { display: inline-flex; align-items: center; height: 54px; padding: 0 26px; border-radius: 16px; background: var(--brand); color: #fff; text-decoration: none; font-weight: 700; font-size: 16px; margin-top: 26px; }
.button:hover { background: var(--brand-pressed); color: #fff; }

/* Text pages (legal, support) */
.doc { max-width: 760px; padding-top: 48px; padding-bottom: 72px; }
.doc .updated { margin: 0 0 8px; font-size: 14px; color: var(--text-secondary); }
.doc h2 { margin: 36px 0 10px; font-family: Unbounded, sans-serif; font-weight: 600; font-size: 20px; line-height: 1.3; }
.doc p { margin: 0 0 12px; font-size: 17px; line-height: 1.65; white-space: pre-line; }
.doc .faq h2 { font-size: 18px; }
.contact { margin-top: 40px; border-radius: 20px; background: var(--surface); padding: 28px; }
.contact p { margin: 0; }

/* Footer */
.foot { border-top: 1px solid var(--border); padding-top: 28px; padding-bottom: 40px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 14px; color: var(--text-secondary); }
.foot nav { display: flex; gap: 20px; flex-wrap: wrap; }
.foot a { color: var(--text-secondary); text-decoration: none; }
.foot a:hover { color: var(--text); text-decoration: underline; }

@media (max-width: 860px) {
  .hero { grid-template-columns: minmax(0, 1fr); gap: 48px; }
  .h1 { font-size: 36px; }
  .lead { font-size: 18px; }
  .steps, .feats { grid-template-columns: minmax(0, 1fr); }
  .honest { grid-template-columns: minmax(0, 1fr); padding: 32px; }
  .honest h2 { font-size: 24px; }
  .h2 { font-size: 27px; }
  .pagetitle { font-size: 30px; }
  .head { padding-bottom: 80px; }
}
