/* corporatejargon.fun landing page. Values mirror the game's Fluent 2 /
   Win11 light tokens (src/styles/tokens.css); light only, like the game. */

@font-face {
  font-family: 'Inter';
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/inter-latin-400-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-weight: 600;
  font-display: swap;
  src: url('/fonts/inter-latin-600-normal.woff2') format('woff2');
}

:root {
  color-scheme: light;
  --accent: #0f6cbd;
  --accent-hover: #115ea3;
  --accent-pressed: #0c3b5e;
  --text: #1a1a1a;
  --text-2: #5c5c5c;
  --surface: #ffffff;
  --surface-alt: #f5f5f5;
  --stroke: #e0e0e0;
  --ok: #0e7a0d;
  --error: #c42b1c;
  --radius: 8px;
  --radius-lg: 12px;
  --shadow: 0 32px 64px rgba(0, 0, 0, 0.28), 0 2px 21px rgba(0, 0, 0, 0.22);
  --font: 'Segoe UI Variable', 'Segoe UI', 'Inter', system-ui, -apple-system, sans-serif;
}

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

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--surface-alt);
  line-height: 1.5;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* ---------- hero: the wallpaper, a sign-in-style card, the desktop shot ---------- */

.hero {
  background: #1b3a6b url('/bliss.svg') center / cover no-repeat;
  padding: 64px 16px 72px;
}

.hero-inner {
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  gap: 48px;
  justify-items: center;
}

.card {
  width: 100%;
  max-width: 440px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(30px) saturate(1.4);
  -webkit-backdrop-filter: blur(30px) saturate(1.4);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 32px 28px 24px;
  scroll-margin-top: 24px;
}

.eyebrow {
  display: inline-block;
  margin: 0 0 12px;
  padding: 2px 10px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--accent);
  background: #ebf3fc;
  border-radius: 999px;
}

h1 {
  margin: 0 0 8px;
  font-size: clamp(30px, 6vw, 40px);
  line-height: 1.15;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.lede {
  margin: 0 0 24px;
  font-size: 17px;
  color: var(--text-2);
}

form {
  display: grid;
  gap: 12px;
}

input[type='email'] {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  font: inherit;
  font-size: 16px; /* 16px stops iOS zooming on focus */
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--stroke);
  border-bottom: 2px solid #8a8a8a;
  border-radius: var(--radius);
  outline: none;
}

input[type='email']:focus {
  border-bottom-color: var(--accent);
}

button {
  min-height: 44px;
  padding: 10px 16px;
  font: inherit;
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  background: var(--accent);
  border: 0;
  border-radius: var(--radius);
  cursor: pointer;
}

button:hover {
  background: var(--accent-hover);
}

button:active {
  background: var(--accent-pressed);
}

button:disabled {
  opacity: 0.6;
  cursor: progress;
}

button:focus-visible,
input:focus-visible {
  outline: 2px solid var(--text);
  outline-offset: 2px;
}

.cf-turnstile {
  min-height: 65px;
}

.status {
  margin: 0;
  min-height: 1.5em;
  font-size: 14px;
  font-weight: 600;
}

.status[data-state='ok'] {
  color: var(--ok);
}

.status[data-state='error'] {
  color: var(--error);
}

.fine {
  margin: 8px 0 0;
  font-size: 13px;
  color: var(--text-2);
}

.shot {
  margin: 0;
  width: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid rgba(255, 255, 255, 0.35);
}

.shot img {
  display: block;
  width: 100%;
  height: auto;
}

/* ---------- how it works ---------- */

main {
  max-width: 1120px;
  margin: 0 auto;
  padding: 64px 16px 48px;
}

.section-title {
  margin: 0 0 24px;
  font-size: 28px;
  font-weight: 600;
  text-align: center;
}

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}

.steps li {
  background: var(--surface);
  border: 1px solid var(--stroke);
  border-radius: var(--radius-lg);
  padding: 24px;
}

.num {
  display: inline-grid;
  place-items: center;
  width: 32px;
  height: 32px;
  margin-bottom: 12px;
  font-weight: 600;
  color: #fff;
  background: var(--accent);
  border-radius: 50%;
}

.steps h3 {
  margin: 0 0 6px;
  font-size: 18px;
  font-weight: 600;
}

.steps p {
  margin: 0;
  color: var(--text-2);
}

footer {
  padding: 24px 16px 40px;
  text-align: center;
  font-size: 13px;
  color: var(--text-2);
}

footer p {
  margin: 0;
}

@media (max-width: 520px) {
  .hero {
    padding: 32px 16px 48px;
  }
  .card {
    padding: 24px 20px 20px;
  }
  .hero-inner {
    gap: 32px;
  }
}
