/* ivypass.com — one stylesheet for both pages. System fonts only; nothing loaded from elsewhere. */

:root {
  --paper: #ffffff;
  --panel: #f3f3ef;
  --ink: #161616;
  --muted: #5a5a57;
  --rule: #dcdcd6;
  --ivy: #1f5d3f;
  --gutter: 20px;
  --max: 1240px;
  --sans: "Helvetica Neue", Helvetica, Arial, system-ui, sans-serif;
  color-scheme: light;
}

*,
*::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(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.125rem;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--ivy); text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--ivy); outline-offset: 3px; border-radius: 2px; }

h1, h2, h3 { margin: 0; font-weight: 800; letter-spacing: -0.03em; line-height: 1.02; }
p { margin: 0; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

.skip { position: absolute; left: -9999px; top: 0; }
.skip:focus { left: var(--gutter); top: 12px; background: var(--paper); padding: 8px 12px; z-index: 10; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}

/* Header */
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; padding-top: 18px; padding-bottom: 18px; }
.site-head .logo { display: block; margin-left: -10px; }
.site-head .logo img { width: 76px; height: auto; }
.site-head nav a { color: var(--ink); font-weight: 600; text-decoration: none; font-size: 1rem; }
.site-head nav a:hover { text-decoration: underline; }
.site-head nav a[aria-current="page"] { text-decoration: underline; text-decoration-thickness: 2px; }

/* Hero */
.hero { padding-top: 28px; }
.hero h1 {
  font-size: clamp(3.4rem, 18.5vw, 11.75rem);
  line-height: 0.88;
  letter-spacing: -0.05em;
  text-transform: none;
}
.hero h1 .line { display: block; }
.hero h1.word { font-size: clamp(3rem, 13.5vw, 10rem); line-height: 1; }
.hero h1 .tm { font-size: 0.2em; line-height: 1; vertical-align: top; position: relative; top: 0.75em; letter-spacing: 0; font-weight: 600; margin-left: 0.1em; }
.hero .lead { margin-top: 28px; max-width: 34ch; font-size: clamp(1.35rem, 4.2vw, 2rem); line-height: 1.25; font-weight: 600; letter-spacing: -0.012em; }
.hero .second { margin-top: 18px; max-width: 52ch; color: var(--muted); }
.hero-image { margin: 40px 0 0; }
.hero-image img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 46% 50%; }

/* Sections */
.section { padding: 72px 0; }
.section + .section { border-top: 1px solid var(--rule); }
.section > .wrap > h2 { font-size: clamp(2.1rem, 7vw, 3.75rem); margin-bottom: 36px; }

/* Launched with */
.launches { list-style: none; margin: 0; padding: 0; }
.launch { display: grid; gap: 28px; padding: 40px 0; border-top: 1px solid var(--rule); }
.launch:first-child { border-top: 0; padding-top: 0; }
.launch h3 { font-size: clamp(1.6rem, 5vw, 2.4rem); }
.launch .line { margin-top: 12px; max-width: 46ch; }
.launch .figure {
  margin-top: 20px; max-width: 24ch;
  color: var(--ivy); font-weight: 800;
  font-size: clamp(1.55rem, 5.2vw, 2.5rem); line-height: 1.1; letter-spacing: -0.025em;
}
.launch .when { margin-top: 14px; color: var(--muted); }
.launch .render img { width: 100%; }

/* Phone frame drawn in CSS: the capture is the first screen, cropped at 390 x 844 */
.phone {
  width: min(250px, 66vw);
  aspect-ratio: 390 / 844;
  padding: 8px;
  border-radius: 40px;
  background: var(--ink);
}
.phone img { width: 100%; height: 100%; object-fit: cover; object-position: top center; border-radius: 32px; }

/* How it works */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 36px; counter-reset: step; }
.steps li { counter-increment: step; max-width: 40ch; }
.steps li::before {
  content: counter(step);
  display: block; margin-bottom: 10px;
  font-size: 3.5rem; font-weight: 800; line-height: 1; letter-spacing: -0.04em; color: var(--ivy);
}
.steps strong { display: block; font-size: 1.5rem; letter-spacing: -0.02em; margin-bottom: 6px; }

/* Text sections */
.prose p { max-width: 54ch; }
.prose p + p { margin-top: 18px; }
.talk { font-size: 1.35rem; }
.people { list-style: none; margin: 0 0 22px; padding: 0; font-size: clamp(1.35rem, 4.2vw, 1.9rem); line-height: 1.3; letter-spacing: -0.015em; }
.people strong { font-weight: 800; }

/* The form */
.yours { background: var(--panel); }
.section.yours + .site-foot { border-top: 0; }
.yours .intro { max-width: 40ch; font-size: clamp(1.25rem, 3.8vw, 1.6rem); line-height: 1.3; font-weight: 600; letter-spacing: -0.01em; }
.yours form { margin-top: 32px; display: grid; gap: 18px; max-width: 640px; }
.field label { display: block; font-weight: 600; font-size: 1rem; margin-bottom: 6px; }
.field input {
  width: 100%; font: inherit; color: var(--ink);
  padding: 12px 14px; border: 1px solid #8a8a85; border-radius: 6px; background: var(--paper);
}
.field input:focus-visible { outline: 3px solid var(--ivy); outline-offset: 1px; }
.yours button {
  justify-self: start; font: inherit; font-weight: 700; cursor: pointer;
  padding: 13px 28px; border: 0; border-radius: 999px; background: var(--ink); color: var(--paper);
}
.yours button:hover { background: var(--ivy); }
.yours button[disabled] { opacity: 0.6; cursor: default; }
.yours .use { margin-top: 18px; color: var(--muted); font-size: 1rem; }
.yours .state { margin-top: 24px; font-size: 1.35rem; font-weight: 700; max-width: 40ch; }
.yours .state.error { color: #8a1f11; font-size: 1.1rem; }
.hp { display: none; }

/* Explorations */
.concepts { list-style: none; margin: 0; padding: 0; }
.concept { display: grid; gap: 28px; padding: 48px 0; border-top: 1px solid var(--rule); }
.concept:first-child { border-top: 0; padding-top: 8px; }
.concept h2 { font-size: clamp(1.9rem, 6vw, 3rem); }
.concept .for { margin-top: 10px; font-style: italic; color: var(--muted); }
.concept .line { margin-top: 14px; max-width: 46ch; }
.concept .actions { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 12px 28px; font-weight: 700; }
.closing { margin-top: 8px; font-size: clamp(1.25rem, 3.8vw, 1.6rem); font-weight: 600; letter-spacing: -0.01em; }
.explore-hero img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 50%; background: #000; }

/* Footer */
.site-foot { border-top: 1px solid var(--rule); padding: 40px 0 56px; font-size: 1rem; color: var(--muted); }
.site-foot .wrap { display: grid; gap: 8px; }
.site-foot a { color: var(--ink); }

/* Wider screens */
@media (min-width: 760px) {
  :root { --gutter: 40px; }
  .hero { padding-top: 48px; }
  .hero-image img, .explore-hero img { aspect-ratio: 16 / 9; }
  .steps { grid-template-columns: repeat(3, 1fr); gap: 40px; }
}

@media (min-width: 960px) {
  .section { padding: 112px 0; }
  .section > .wrap > h2 { margin-bottom: 56px; }
  .launch, .concept { grid-template-columns: minmax(0, 1fr) 280px; column-gap: 72px; align-items: center; padding: 64px 0; }
  .launch.wide { grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); }
  .launch .media, .concept .media { justify-self: end; }
  .launch.wide .media { justify-self: stretch; }
  .phone { width: 280px; }
  .launch .line, .concept .line { font-size: 1.25rem; }
  .hero-image img { aspect-ratio: 1400 / 801; }
  .explore-hero img { aspect-ratio: 1400 / 1000; }
  .site-foot .wrap { grid-template-columns: 1fr auto auto auto; gap: 32px; align-items: baseline; }
}
