/* Antisocial website. Colours and type follow the app's theme (lib/core/theme). */

@font-face {
  font-family: "Manrope";
  src: url("fonts/manrope.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Newsreader";
  src: url("fonts/newsreader.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Newsreader";
  src: url("fonts/newsreader-italic.woff2") format("woff2");
  font-weight: 200 800;
  font-style: italic;
  font-display: swap;
}

:root {
  color-scheme: dark;

  /* From AppColors */
  --ground: #181512;
  --surface: #231F1B;
  --deep: #0B0908;
  --text: #F5EFE9;
  --text-soft: #E3D9CF;
  --text-2: #BDB2A7;
  --text-3: #948A80;
  --accent: #E86F33;
  --tag: #F0A272;
  --link: #F0894F;
  --link-hover: #F7C6A6;
  --line: rgba(255, 236, 220, 0.12);
  --line-faint: rgba(255, 236, 220, 0.06);
  --line-strong: rgba(255, 236, 220, 0.16);

  --serif: "Newsreader", Georgia, "Times New Roman", serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;

  --wide: 1160px;
  --narrow: 720px;
  --gutter: 24px;
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--ground);
  color: var(--text);
  font-family: var(--sans);
  font-size: 18px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--link); text-underline-offset: 0.18em; }
a:hover { color: var(--link-hover); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.skip {
  position: absolute; left: 16px; top: -60px; z-index: 10;
  padding: 10px 16px; border-radius: 999px;
  background: var(--accent); color: #2A160B; font-weight: 700; text-decoration: none;
}
.skip:focus { top: 16px; }

.wrap { max-width: var(--wide); margin: 0 auto; }
.narrow { max-width: var(--narrow); margin: 0 auto; }

/* Type */
.eyebrow {
  margin: 0 0 20px;
  color: var(--tag);
  font-size: 15px; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
}
h1, h2, h3 { margin: 0; font-weight: 400; }
.display, h1 {
  font-family: var(--serif);
  font-size: clamp(48px, 7vw, 92px);
  line-height: 1.0;
  letter-spacing: -0.025em;
}
.h2 {
  font-family: var(--serif);
  font-size: clamp(36px, 4.6vw, 60px);
  line-height: 1.1;
  letter-spacing: -0.02em;
}
.h3 {
  font-family: var(--serif);
  font-size: clamp(28px, 3.2vw, 40px);
  line-height: 1.15;
  letter-spacing: -0.015em;
}
em.warm { font-style: italic; color: var(--accent); }
.lead { color: var(--text-soft); font-size: 20px; line-height: 1.65; }
.body { color: var(--text-soft); font-size: 19px; line-height: 1.7; }
.quiet { color: var(--text-3); font-size: 15px; }

/* Header */
.site-header { padding: 0 var(--gutter); }
.glow {
  background: radial-gradient(ellipse 70% 55% at 62% 0%,
    rgba(232, 111, 51, 0.22) 0%, rgba(232, 111, 51, 0.06) 45%, rgba(24, 21, 18, 0) 75%);
}
.glow-soft {
  background: radial-gradient(ellipse 60% 100% at 50% 0%,
    rgba(232, 111, 51, 0.14) 0%, rgba(24, 21, 18, 0) 75%);
}
.nav {
  max-width: var(--wide); margin: 0 auto; padding: 28px 0;
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
}
.brand { display: flex; align-items: center; gap: 12px; color: var(--text); text-decoration: none; }
.brand:hover { color: var(--text); }
.brand img { width: 40px; height: 40px; border-radius: 10px; }
.brand span { font-family: var(--serif); font-size: 26px; font-weight: 500; letter-spacing: -0.01em; }
.nav-links { display: flex; align-items: center; gap: 24px; }
.nav-links a { color: var(--text-2); text-decoration: none; font-size: 16px; font-weight: 500; }
.nav-links a:hover { color: var(--text); }
.pill {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 20px;
  border-radius: 999px; border: 1px solid var(--line-strong);
  color: var(--text) !important; font-weight: 600 !important;
}
.pill:hover { background: rgba(255, 236, 220, 0.06); }

/* Hero */
.hero {
  max-width: var(--wide); margin: 0 auto; padding: 72px 0 120px;
  display: flex; flex-wrap: wrap; align-items: center; gap: 64px;
}
.hero-text { flex: 1 1 480px; min-width: 0; }
.hero-text .lead { margin: 32px 0 0; max-width: 520px; }
.hero-phone { flex: 0 1 340px; min-width: 260px; margin: 0 auto; }

.get { margin-top: 36px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.badge { display: inline-block; line-height: 0; border-radius: 12px; }
.badge img { height: 80px; width: auto; }
.hero .badge { margin-left: -13px; }
.get-note { margin: 20px 0 0; }

/* Phone frame */
.phone {
  border-radius: 46px; padding: 10px; background: var(--deep);
  border: 1px solid var(--line);
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.5), 0 0 120px rgba(232, 111, 51, 0.12);
}
.phone img { width: 100%; border-radius: 37px; }
.phone.small { border-radius: 42px; padding: 9px; box-shadow: 0 32px 64px rgba(0, 0, 0, 0.45); }
.phone.small img { border-radius: 34px; }

/* Sections */
.section { padding: 120px var(--gutter); }
.rule-top { border-top: 1px solid var(--line-faint); }
.shift .body { margin: 24px 0 0; }
.shift .body:first-of-type { margin-top: 40px; }

.moments { padding: 40px var(--gutter) 140px; }
.moments > .wrap > .h2 { margin: 0 auto 96px; max-width: var(--narrow); text-align: center; }
.moment {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 56px 96px;
}
.moment + .moment { margin-top: 120px; }
.moment.flip { flex-wrap: wrap-reverse; }
.moment-phone { flex: 0 1 300px; min-width: 240px; }
.moment-text { flex: 1 1 380px; max-width: 460px; min-width: 0; }
.moment-text .body { margin: 20px 0 0; }

.promise {
  background: var(--deep);
  border-top: 1px solid var(--line-faint); border-bottom: 1px solid var(--line-faint);
}
.promise .intro { max-width: var(--narrow); }
.promise .intro p { margin: 28px 0 0; color: var(--text-2); font-size: 20px; line-height: 1.7; }
.points {
  margin: 72px 0 0; padding: 0; list-style: none;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 48px 40px;
}
@media (max-width: 1000px) { .points { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .points { grid-template-columns: minmax(0, 1fr); } }
.points li { border-top: 1px solid var(--line-strong); padding-top: 28px; }
.points h3 { font-family: var(--sans); font-size: 19px; font-weight: 700; color: var(--text); }
.points p { margin: 12px 0 0; color: var(--text-2); font-size: 17px; line-height: 1.65; }
.promise .more { margin: 64px 0 0; font-size: 17px; font-weight: 600; }

.close {
  padding: 160px var(--gutter); text-align: center;
  background: radial-gradient(ellipse 50% 60% at 50% 100%, rgba(232, 111, 51, 0.16) 0%, rgba(24, 21, 18, 0) 70%);
}
.close .icon { width: 72px; height: 72px; border-radius: 18px; margin: 0 auto 40px; }
.close .h2 { font-size: clamp(42px, 5.4vw, 72px); line-height: 1.05; letter-spacing: -0.025em; }
.close .get { flex-direction: column; justify-content: center; gap: 10px; margin-top: 40px; }

/* Footer */
.site-footer { padding: 40px var(--gutter) 56px; border-top: 1px solid var(--line-faint); }
.footer-row {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px;
}
.footer-brand { display: flex; align-items: center; gap: 10px; color: var(--text-3); font-size: 15px; }
.footer-brand img { width: 24px; height: 24px; border-radius: 6px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 4px 28px; font-size: 15px; }
.footer-links a {
  color: var(--text-2); text-decoration: none; min-height: 44px; display: inline-flex; align-items: center;
}
.footer-links a:hover { color: var(--text); }
.trademark { margin: 20px 0 0; color: var(--text-3); font-size: 13px; }

/* Legal pages */
.legal-head { padding: 72px 0 56px; }
.legal-head .quiet { margin: 24px 0 0; }
.legal-head h1 { font-size: clamp(42px, 5.4vw, 68px); line-height: 1.05; }
.legal { padding: 0 var(--gutter) 120px; line-height: 1.7; }
.legal p, .legal li { color: var(--text-soft); }
.legal p { margin: 16px 0 0; }
.legal h2 {
  margin: 64px 0 0;
  font-family: var(--serif); font-size: 34px; line-height: 1.2; letter-spacing: -0.01em;
}
.legal h2 + p, .legal h2 + ul { margin-top: 20px; }
.legal ul { margin: 16px 0 0; padding-left: 22px; display: flex; flex-direction: column; gap: 8px; }
.legal strong { color: var(--text); }
.summary {
  background: var(--surface); border: 1px solid rgba(255, 236, 220, 0.08);
  border-radius: 24px; padding: 36px 36px 32px;
}
.legal .summary h2 { margin: 0; font-size: 30px; }
.summary ul { margin-top: 20px; gap: 10px; }
.items { margin-top: 32px; }
.item { border-top: 1px solid var(--line); padding: 28px 0; }
.item:last-child { border-bottom: 1px solid var(--line); }
.item h3 { font-family: var(--sans); font-size: 19px; font-weight: 700; }
.item p { margin: 10px 0 0; color: var(--text-2); }

@media (max-width: 640px) {
  body { font-size: 17px; }
  .hero { padding: 40px 0 88px; gap: 56px; }
  .section { padding: 88px var(--gutter); }
  .moments { padding-bottom: 96px; }
  .moments > .wrap > .h2 { margin-bottom: 64px; }
  .moment + .moment { margin-top: 88px; }
  .points { margin-top: 48px; gap: 36px; }
  .close { padding: 112px var(--gutter); }
  .nav { flex-wrap: nowrap; padding: 20px 0; }
  .nav-links a:not(.pill) { display: none; }
  .brand span { font-size: 23px; }
  .hero-phone { max-width: 300px; }
  .summary { padding: 28px 24px 24px; }
  .legal h2 { font-size: 28px; margin-top: 52px; }
}
