/* Drift's website: the app's own look. Off-white page, navy writing, serif titles, hairline edges, no shadows. */

@font-face {
  font-family: 'Cormorant';
  src: url('fonts/CormorantGaramond_700Bold.ttf') format('truetype');
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: 'DM Sans';
  src: url('fonts/DMSans_400Regular.ttf') format('truetype');
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: 'DM Sans';
  src: url('fonts/DMSans_500Medium.ttf') format('truetype');
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: 'DM Sans';
  src: url('fonts/DMSans_600SemiBold.ttf') format('truetype');
  font-weight: 600;
  font-display: swap;
}

strong, b { font-weight: 600; }

:root {
  --page: #fffefc;
  --ink: #182a46;
  --soft: #5d738e;
  --line: rgba(24, 42, 70, 0.12);
  --wash: #f0f7fb;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font-family: 'DM Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--ink); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }

.wrap { max-width: 680px; margin: 0 auto; padding: 0 24px; }

/* Top bar */
.top { display: flex; align-items: center; justify-content: space-between; padding: 28px 0; }
.mark { font-family: 'Cormorant', Georgia, serif; font-weight: 700; font-size: 28px; letter-spacing: 0.01em; text-decoration: none; }
.top nav { display: flex; gap: 20px; font-size: 15px; }
.top nav a { color: var(--soft); text-decoration: none; }
.top nav a:hover, .top nav a[aria-current='page'] { color: var(--ink); }

/* Landing */
.hero { text-align: center; padding: 40px 0 8px; }
.hero img { width: 150px; height: auto; display: block; margin: 0 auto 28px; }
h1, h2, h3 { font-family: 'Cormorant', Georgia, serif; font-weight: 700; line-height: 1.15; margin: 0; text-wrap: balance; }
.hero h1 { font-size: clamp(40px, 7vw, 58px); }
.lead { color: var(--soft); font-size: 19px; max-width: 520px; margin: 18px auto 0; text-wrap: pretty; }

.soon {
  display: block;
  margin-top: 28px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--soft);
}

.steps { display: grid; gap: 14px; margin: 64px 0 0; padding: 0; list-style: none; }
.steps li { border: 1px solid var(--line); border-radius: 18px; padding: 22px 24px; }
.steps h2 { font-size: 26px; }
.steps p { margin: 6px 0 0; color: var(--soft); }

.real { text-align: center; padding: 64px 0 24px; }
.real h2 { font-size: 34px; }
.real p { color: var(--soft); margin: 12px auto 0; max-width: 480px; }


/* Legal pages */
.doc { padding: 24px 0 40px; }
.doc h1 { font-size: clamp(38px, 6vw, 50px); }
.doc .updated { color: var(--soft); font-size: 15px; margin: 10px 0 32px; }
.doc h2 { font-size: 27px; margin: 40px 0 10px; }
.doc p, .doc li { text-wrap: pretty; }
.doc ul { padding-left: 22px; }
.doc li { margin: 6px 0; }

/* Foot */
.foot { border-top: 1px solid var(--line); margin-top: 48px; padding: 28px 0 48px; display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 14px; color: var(--soft); }
.foot a { color: var(--soft); }
.foot .grow { flex: 1; }

@media (max-width: 520px) {
  body { font-size: 16px; }
  .top { padding: 20px 0; }
  .hero { padding-top: 24px; }
  .hero img { width: 120px; }
  .foot { flex-direction: column; gap: 4px; }
  .foot a { padding: 8px 0; }
}
