/* Ideally public website — production tokens from ideally/src/design */

@font-face {
  font-family: Manrope;
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/manrope-latin-400-normal.woff2") format("woff2");
}

@font-face {
  font-family: Manrope;
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/fonts/manrope-latin-500-normal.woff2") format("woff2");
}

@font-face {
  font-family: Manrope;
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/fonts/manrope-latin-600-normal.woff2") format("woff2");
}

@font-face {
  font-family: Manrope;
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/fonts/manrope-latin-700-normal.woff2") format("woff2");
}

:root {
  --canvas: #faf8f5;
  --surface: #ffffff;
  --soft: #f3f0eb;
  --stone: #e8e3dc;
  --ink: #191817;
  --graphite: #57534f;
  --muted: #8c8781;
  --coral: #f4513f;
  --coral-deep: #d93f30;
  --coral-wash: #fff0ec;
  --radius-s: 8px;
  --radius-m: 14px;
  --radius-l: 22px;
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-8: 32px;
  --space-10: 40px;
  --space-12: 48px;
  --space-16: 64px;
  --page-pad: 24px;
  --max: 1080px;
  --focus: 0 0 0 2px var(--canvas), 0 0 0 4px var(--coral);
}

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

html {
  color-scheme: light;
}

html,
body {
  margin: 0;
  padding: 0;
  background: var(--canvas);
  color: var(--ink);
  font-family: Manrope, system-ui, sans-serif;
  font-weight: 400;
  font-size: 15px;
  line-height: 22px;
  -webkit-font-smoothing: antialiased;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100dvh;
}

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

a {
  color: var(--coral);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--coral-deep);
}

a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: none;
  box-shadow: var(--focus);
  border-radius: 4px;
}

.skip {
  position: absolute;
  left: 12px;
  top: -48px;
  z-index: 20;
  padding: 10px 14px;
  background: var(--ink);
  color: var(--canvas);
  font-weight: 600;
  border-radius: var(--radius-s);
}

.skip:focus {
  top: 12px;
  color: var(--canvas);
  box-shadow: none;
}

.wrap {
  width: min(var(--max), 100%);
  margin-inline: auto;
  padding-inline: var(--page-pad);
}

header.site {
  padding-block: 20px 8px;
}

.header-row {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.brand-home {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: inherit;
  text-decoration: none;
}

.brand-home:hover {
  color: inherit;
}

.header-icon {
  width: 44px;
  height: 44px;
  max-width: 44px;
  object-fit: contain;
  background: transparent;
}

nav.primary {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 8px;
  max-width: 100%;
}

nav.primary a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 8px 10px;
  color: var(--graphite);
  font-size: 14px;
  line-height: 20px;
  font-weight: 500;
  text-decoration: none;
}

nav.primary a:hover,
nav.primary a[aria-current="page"] {
  color: var(--ink);
}

nav.primary a.accent {
  color: var(--coral);
}

.menu {
  display: none;
}

.menu summary {
  list-style: none;
  cursor: pointer;
  min-height: 44px;
  min-width: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  font-family: inherit;
  font-size: 14px;
  line-height: 20px;
  font-weight: 500;
  color: var(--graphite);
}

.menu summary::-webkit-details-marker {
  display: none;
}

.menu[open] summary {
  color: var(--ink);
}

.menu .panel {
  position: absolute;
  left: auto;
  right: 0;
  top: 100%;
  z-index: 16;
  width: min(232px, 100%);
  margin-top: var(--space-2);
  padding: var(--space-2);
  background: var(--surface);
  border: 1px solid var(--stone);
  border-radius: var(--radius-m);
}

.menu .panel a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 8px 12px;
  color: var(--graphite);
  font-size: 14px;
  line-height: 20px;
  font-weight: 500;
  text-decoration: none;
}

.menu .panel a:hover,
.menu .panel a[aria-current="page"] {
  color: var(--ink);
}

.menu .panel a.accent {
  color: var(--coral);
}

main {
  display: block;
  flex-grow: 1;
}

.hero {
  padding-block: 40px 56px;
}

.hero-wordmark {
  width: min(224px, 100%);
  max-width: 100%;
  height: auto;
  margin-bottom: 32px;
}

@media (min-width: 960px) {
  .hero-wordmark {
    width: 256px;
  }
}

.eyebrow {
  margin: 0 0 12px;
  font-size: 12px;
  line-height: 16px;
  letter-spacing: 0.2px;
  font-weight: 500;
  color: var(--coral);
}

h1 {
  margin: 0 0 16px;
  font-size: 32px;
  line-height: 38px;
  letter-spacing: -0.5px;
  font-weight: 600;
  max-width: 16ch;
}

@media (min-width: 960px) {
  h1 {
    font-size: 48px;
    line-height: 54px;
    letter-spacing: -0.6px;
  }
}

@media (max-width: 359px) {
  h1 {
    font-size: 28px;
    line-height: 34px;
  }
}

.lede {
  margin: 0 0 28px;
  max-width: 42rem;
  font-size: 17px;
  line-height: 26px;
  color: var(--graphite);
}

.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 12px 22px;
  background: var(--coral);
  color: #fff;
  font-weight: 600;
  font-size: 15px;
  line-height: 18px;
  text-decoration: none;
  border-radius: var(--radius-l);
}

.cta:hover {
  background: var(--coral-deep);
  color: #fff;
}

.cta:focus-visible {
  box-shadow: var(--focus);
}

section.band {
  padding-block: 48px;
}

section.band.soft {
  background: var(--soft);
}

h2 {
  margin: 0 0 16px;
  font-size: 26px;
  line-height: 32px;
  letter-spacing: -0.35px;
  font-weight: 600;
}

@media (min-width: 960px) {
  h2 {
    font-size: 32px;
    line-height: 38px;
  }
}

.section-body {
  margin: 0;
  max-width: 40rem;
  font-size: 17px;
  line-height: 26px;
  color: var(--graphite);
}

#how-it-works h2 {
  margin-bottom: 0;
}

.steps {
  display: grid;
  gap: 32px;
  margin: 40px 0 0;
  padding: 0;
  list-style: none;
}

@media (min-width: 800px) {
  .steps {
    grid-template-columns: 1fr 1fr;
    gap: 40px 48px;
    margin-top: 48px;
  }
}

.step h3 {
  margin: 0 0 8px;
  font-size: 18px;
  line-height: 24px;
  letter-spacing: -0.15px;
  font-weight: 600;
}

.step p {
  margin: 0;
  color: var(--graphite);
  font-size: 15px;
  line-height: 22px;
}

.split {
  display: grid;
  gap: 24px;
  margin-top: 32px;
}

@media (min-width: 720px) {
  .split {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

.card {
  background: var(--surface);
  border: 1px solid var(--stone);
  border-radius: var(--radius-l);
  padding: 24px;
}

.card h3 {
  margin: 0 0 10px;
  font-size: 16px;
  line-height: 22px;
  font-weight: 600;
}

.card p {
  margin: 0;
  color: var(--graphite);
}

.quiet {
  margin: 28px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 20px;
}

.contact {
  margin: 20px 0 0;
  color: var(--graphite);
}

.page-hero {
  padding-block: 40px 64px;
}

.page-hero h1 {
  max-width: none;
}

footer.site {
  flex-shrink: 0;
  background: var(--soft);
  padding-block: 32px 40px;
  margin-top: 24px;
}

.footer-brand {
  width: 120px;
  margin-bottom: 16px;
}

.footer-meta {
  margin: 0 0 8px;
  color: var(--graphite);
  font-size: 14px;
  line-height: 20px;
}

.footer-meta a {
  color: var(--coral);
}

.copyright {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 18px;
}

@media (max-width: 719px) {
  header.site {
    position: relative;
    z-index: 8;
    padding-block: var(--space-3);
  }

  .header-row {
    flex-wrap: nowrap;
  }

  nav.primary {
    display: none;
  }

  .menu {
    display: block;
    flex-shrink: 0;
    margin-inline-start: auto;
  }

  .hero {
    padding-block: var(--space-6) var(--space-10);
  }

  section.band {
    padding-block: var(--space-8);
  }

  .steps {
    gap: var(--space-6);
    margin-top: var(--space-6);
  }

  .page-hero {
    padding-block: var(--space-6) var(--space-10);
  }

  footer.site {
    margin-top: 0;
    padding-block: var(--space-8);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
