/* hypi.shop landing page — Material 3 (Material You) tokens and components.
   Seed colours come from the app's brand: purple carries actions, the brand
   yellow is the tertiary container. Roboto is self-hosted in /assets/fonts. */

/* Roboto, self-hosted: Material 3 type, no third-party requests. */
@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fonts/roboto-400-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fonts/roboto-400-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fonts/roboto-400-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/assets/fonts/roboto-500-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/assets/fonts/roboto-500-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/assets/fonts/roboto-500-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/assets/fonts/roboto-700-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/assets/fonts/roboto-700-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/assets/fonts/roboto-700-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url(/assets/fonts/roboto-900-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url(/assets/fonts/roboto-900-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url(/assets/fonts/roboto-900-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  color-scheme: light dark;

  /* Material 3 colour roles, purple seed with the HyPi yellow as tertiary */
  --primary: #7B2FBE;
  --on-primary: #FFFFFF;
  --primary-container: #EFDBFF;
  --on-primary-container: #2B0053;
  --secondary: #63587B;
  --secondary-container: #E9DEF8;
  --on-secondary-container: #1F182B;
  --tertiary: #7A5900;
  --tertiary-container: #FEE707;
  --on-tertiary-container: #241A00;
  --surface: #FEF7FF;
  --surface-container-lowest: #FFFFFF;
  --surface-container-low: #F8F2FA;
  --surface-container: #F3EDF7;
  --surface-container-high: #ECE6F0;
  --surface-container-highest: #E6E0E9;
  --on-surface: #1D1B20;
  --on-surface-variant: #49454F;
  --outline: #79747E;
  --outline-variant: #CAC4D0;
  --inverse-surface: #322F35;
  --inverse-on-surface: #F5EFF7;
  --scrim: rgb(0 0 0 / 0.32);
  --state: 30 27 32;
  --check-svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%237B2FBE'%3E%3Cpath d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E");

  /* Shape scale */
  --r-xs: 4px;
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 16px;
  --r-xl: 28px;
  --r-xxl: 44px;
  --r-full: 999px;

  /* Elevation */
  --e1: 0 1px 2px rgb(0 0 0 / 0.16), 0 1px 3px 1px rgb(0 0 0 / 0.08);
  --e2: 0 1px 2px rgb(0 0 0 / 0.16), 0 2px 6px 2px rgb(0 0 0 / 0.08);
  --e3: 0 4px 8px 3px rgb(0 0 0 / 0.1), 0 1px 3px rgb(0 0 0 / 0.16);

  /* Motion */
  --ease-emphasized: cubic-bezier(0.2, 0, 0, 1);
  --ease-standard: cubic-bezier(0.2, 0, 0, 1);

  --gutter: clamp(1rem, 0.4rem + 2.6vw, 2.5rem);
  --max: 78rem;
  --font: 'Roboto', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    --primary: #D9B9FF;
    --on-primary: #451A75;
    --primary-container: #5E30A0;
    --on-primary-container: #EFDBFF;
    --secondary: #CFC2DC;
    --secondary-container: #4A4458;
    --on-secondary-container: #EBDDFF;
    --tertiary: #F2D74F;
    --tertiary-container: #FEE707;
    --on-tertiary-container: #241A00;
    --surface: #141218;
    --surface-container-lowest: #0F0D13;
    --surface-container-low: #1D1B20;
    --surface-container: #211F26;
    --surface-container-high: #2B2930;
    --surface-container-highest: #36343B;
    --on-surface: #E6E0E9;
    --on-surface-variant: #CAC4D0;
    --outline: #938F99;
    --outline-variant: #49454F;
    --inverse-surface: #E6E0E9;
    --inverse-on-surface: #322F35;
    --state: 230 224 233;
    --check-svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23EFDBFF'%3E%3Cpath d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E");
    --e1: 0 1px 2px rgb(0 0 0 / 0.5), 0 1px 3px 1px rgb(0 0 0 / 0.3);
    --e2: 0 1px 2px rgb(0 0 0 / 0.5), 0 2px 6px 2px rgb(0 0 0 / 0.3);
    --e3: 0 4px 8px 3px rgb(0 0 0 / 0.35), 0 1px 3px rgb(0 0 0 / 0.5);
  }
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: 5.5rem;
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

body {
  margin: 0;
  background: var(--surface);
  color: var(--on-surface);
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.55;
  overflow-x: hidden;
}

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

a {
  color: var(--primary);
  text-underline-offset: 0.18em;
}

:focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: 3px;
  border-radius: var(--r-xs);
}

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

.skip-link {
  position: absolute;
  top: -10rem;
  left: var(--gutter);
  z-index: 20;
  padding: 0.75rem 1.25rem;
  border-radius: var(--r-full);
  background: var(--tertiary-container);
  color: var(--on-tertiary-container);
  font-weight: 700;
  text-decoration: none;
}

.skip-link:focus {
  top: 0.75rem;
}

/* Type scale */

.display {
  margin: 0;
  font-size: clamp(2.5rem, 1.4rem + 4.6vw, 4.5rem);
  line-height: 1.24;
  letter-spacing: -0.03em;
  font-weight: 900;
  text-wrap: balance;
}

.headline {
  margin: 0;
  font-size: clamp(1.75rem, 1.3rem + 2vw, 2.75rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
  font-weight: 800;
  text-wrap: balance;
}

.title {
  margin: 0;
  font-size: clamp(1.125rem, 1.05rem + 0.4vw, 1.375rem);
  line-height: 1.3;
  font-weight: 700;
}

.body-lg {
  margin: 0;
  font-size: clamp(1rem, 0.96rem + 0.25vw, 1.1875rem);
  line-height: 1.6;
  color: var(--on-surface-variant);
  text-wrap: pretty;
}

.label {
  font-size: 0.875rem;
  line-height: 1.3;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 0 1rem;
  padding: 0.375rem 0.875rem;
  border-radius: var(--r-full);
  background: var(--secondary-container);
  color: var(--on-secondary-container);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* Buttons */

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 3.25rem;
  padding: 0 1.75rem;
  border: none;
  border-radius: var(--r-full);
  background: var(--primary);
  color: var(--on-primary);
  font-family: inherit;
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  overflow: hidden;
  transition: border-radius 250ms var(--ease-emphasized), box-shadow 200ms var(--ease-standard), transform 200ms var(--ease-emphasized);
}

.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  background: currentColor;
  opacity: 0;
  transition: opacity 150ms var(--ease-standard);
}

.btn:hover::after {
  opacity: 0.1;
}

.btn:hover {
  border-radius: var(--r-md);
  box-shadow: var(--e1);
}

.btn:active {
  transform: scale(0.97);
}

.btn-tonal {
  background: var(--secondary-container);
  color: var(--on-secondary-container);
}

.btn-brand {
  background: var(--tertiary-container);
  color: var(--on-tertiary-container);
}

.btn-outlined {
  background: transparent;
  color: var(--primary);
  border: 1px solid var(--outline);
}

.btn-sm {
  min-height: 2.5rem;
  padding: 0 1.125rem;
  font-size: 0.875rem;
}

/* Top app bar */

.app-bar {
  position: sticky;
  top: 0;
  z-index: 10;
  background: color-mix(in srgb, var(--surface) 88%, transparent);
  backdrop-filter: blur(16px);
  transition: background-color 200ms var(--ease-standard), box-shadow 200ms var(--ease-standard);
}

.app-bar.scrolled {
  background: color-mix(in srgb, var(--surface-container) 94%, transparent);
  box-shadow: var(--e1);
}

.app-bar-inner {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: 4.5rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  margin-right: auto;
  text-decoration: none;
  color: inherit;
  font-weight: 900;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
}

.brand img {
  height: 2.5rem;
  width: auto;
}

.nav {
  display: none;
  gap: 0.25rem;
}

.nav a {
  padding: 0.625rem 1rem;
  border-radius: var(--r-full);
  color: var(--on-surface-variant);
  font-weight: 500;
  text-decoration: none;
  transition: background-color 150ms var(--ease-standard), color 150ms var(--ease-standard);
}

.nav a:hover {
  background: var(--surface-container-high);
  color: var(--on-surface);
}

@media (min-width: 60rem) {
  .nav {
    display: flex;
  }
}

/* Phones get the same destinations behind a menu button. */
.menu-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  padding: 0;
  border: none;
  border-radius: var(--r-full);
  background: transparent;
  color: var(--on-surface);
  cursor: pointer;
}

.menu-btn:hover {
  background: var(--surface-container-high);
}

.menu-btn svg {
  width: 1.5rem;
  height: 1.5rem;
  fill: currentColor;
}

.menu-panel {
  display: none;
  padding: 0.5rem var(--gutter) 1rem;
  background: var(--surface-container);
  box-shadow: var(--e1);
}

.menu-panel.open {
  display: block;
}

.menu-panel a {
  display: block;
  padding: 0.875rem 1rem;
  border-radius: var(--r-md);
  color: var(--on-surface);
  font-weight: 500;
  text-decoration: none;
}

.menu-panel a:hover {
  background: var(--surface-container-high);
}

@media (min-width: 60rem) {
  .menu-btn,
  .menu-panel.open {
    display: none;
  }
}

/* Sections */

.section {
  padding-block: clamp(3.5rem, 8vw, 7rem);
}

.section-head {
  max-width: 46rem;
  margin-bottom: clamp(2rem, 4vw, 3.5rem);
}

.section-head .body-lg {
  margin-top: 1rem;
}

.tonal {
  background: var(--surface-container-low);
}

/* Hero */

.hero {
  position: relative;
  padding-block: clamp(2.5rem, 6vw, 5.5rem) clamp(3rem, 7vw, 6rem);
  overflow: hidden;
}

.hero-grid {
  display: grid;
  gap: clamp(2.5rem, 5vw, 4rem);
  align-items: center;
}

@media (min-width: 62rem) {
  .hero-grid {
    grid-template-columns: 1.05fr 0.95fr;
  }
}

.hero p.body-lg {
  margin-top: 1.25rem;
  max-width: 34rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

.hero-note {
  margin-top: 1.25rem;
  color: var(--on-surface-variant);
  font-size: 0.9375rem;
}

.blob {
  position: absolute;
  z-index: -1;
  filter: blur(0.5px);
  opacity: 0.85;
}

.blob-1 {
  width: min(38rem, 80vw);
  aspect-ratio: 1;
  top: -14rem;
  right: -10rem;
  background: var(--primary-container);
  border-radius: 58% 42% 47% 53% / 52% 48% 52% 48%;
}

.blob-2 {
  width: min(20rem, 50vw);
  aspect-ratio: 1;
  bottom: -8rem;
  left: -6rem;
  background: var(--tertiary-container);
  border-radius: 46% 54% 60% 40% / 47% 56% 44% 53%;
  opacity: 0.55;
}

/* Phone mockups */

.phones {
  position: relative;
  display: flex;
  justify-content: center;
  gap: clamp(0.75rem, 2vw, 1.5rem);
}

.phone {
  position: relative;
  width: min(15rem, 46vw);
  padding: 0.5rem;
  border-radius: var(--r-xxl);
  background: var(--surface-container-highest);
  box-shadow: var(--e3);
  transition: transform 400ms var(--ease-emphasized);
}

.phone img {
  width: 100%;
  border-radius: calc(var(--r-xxl) - 0.5rem);
}

.phone-tilt-left {
  transform: rotate(-3deg) translateY(0.75rem);
}

.phone-tilt-right {
  transform: rotate(3deg) translateY(-0.75rem);
}

.phones:hover .phone-tilt-left {
  transform: rotate(-1.5deg) translateY(0.25rem);
}

.phones:hover .phone-tilt-right {
  transform: rotate(1.5deg) translateY(-1.25rem);
}

.float-chip {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 1rem;
  border-radius: var(--r-full);
  background: var(--surface-container-lowest);
  color: var(--on-surface);
  box-shadow: var(--e2);
  font-size: 0.875rem;
  font-weight: 700;
  white-space: nowrap;
}

.float-chip-a {
  top: 16%;
  left: -1rem;
}

.float-chip-b {
  bottom: 10%;
  right: -1rem;
}

@media (max-width: 30rem) {
  .float-chip {
    font-size: 0.8125rem;
    padding: 0.5rem 0.75rem;
  }

  .float-chip-a {
    left: -0.25rem;
  }

  .float-chip-b {
    right: -0.25rem;
  }
}

/* Cards */

.grid {
  display: grid;
  gap: clamp(1rem, 2vw, 1.5rem);
}

.grid-3 {
  grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr));
}

.grid-2 {
  grid-template-columns: repeat(auto-fit, minmax(22rem, 1fr));
}

.card {
  padding: clamp(1.5rem, 3vw, 2rem);
  border-radius: var(--r-xl);
  background: var(--surface-container);
  transition: transform 300ms var(--ease-emphasized), box-shadow 300ms var(--ease-standard);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--e2);
}

.card .title {
  margin-bottom: 0.5rem;
}

.card p {
  margin: 0;
  color: var(--on-surface-variant);
}

.card-brand {
  background: var(--tertiary-container);
  color: var(--on-tertiary-container);
}

.card-brand p {
  color: color-mix(in srgb, var(--on-tertiary-container) 82%, transparent);
}

.card-primary {
  background: var(--primary-container);
  color: var(--on-primary-container);
}

.card-primary p {
  color: color-mix(in srgb, var(--on-primary-container) 82%, transparent);
}

/* Steps */

.steps {
  counter-reset: step;
  display: grid;
  gap: clamp(1rem, 2vw, 1.5rem);
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
}

.step {
  position: relative;
  padding: clamp(1.5rem, 3vw, 2rem);
  border-radius: var(--r-xl);
  background: var(--surface-container-lowest);
  border: 1px solid var(--outline-variant);
}

.step::before {
  counter-increment: step;
  content: counter(step);
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  margin-bottom: 1rem;
  border-radius: var(--r-full);
  background: var(--primary);
  color: var(--on-primary);
  font-weight: 900;
  font-size: 1.125rem;
}

.step h3 {
  margin: 0 0 0.375rem;
  font-size: 1.0625rem;
  font-weight: 700;
}

.step p {
  margin: 0;
  color: var(--on-surface-variant);
  font-size: 0.9375rem;
}

/* Split feature */

.split {
  display: grid;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

/* Text leads on phones; on wide screens the same item sits in the right column. */
.split.reverse > :first-child {
  order: 2;
}

@media (min-width: 62rem) {
  .display {
    line-height: 1.12;
  }
}

@media (min-width: 62rem) {
  .split {
    grid-template-columns: 1fr 1fr;
  }

}

.checklist {
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.875rem;
}

.checklist li {
  display: grid;
  grid-template-columns: 1.75rem 1fr;
  gap: 0.75rem;
  align-items: start;
  color: var(--on-surface-variant);
}

.checklist li::before {
  content: "";
  width: 1.75rem;
  height: 1.75rem;
  border-radius: var(--r-full);
  background: var(--primary-container) var(--check-svg) center / 1rem no-repeat;
}

.checklist strong {
  color: var(--on-surface);
}

/* A single mockup next to text can be larger than the pair in the hero. */
.split .phone {
  width: min(19rem, 62vw);
}

/* Chips row */

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.625rem;
  margin-top: 1.5rem;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 2.5rem;
  padding: 0 1rem;
  border-radius: var(--r-sm);
  border: 1px solid var(--outline-variant);
  background: var(--surface-container-lowest);
  color: var(--on-surface);
  font-size: 0.9375rem;
  font-weight: 500;
}

/* FAQ */

.faq {
  display: grid;
  gap: 0.75rem;
  max-width: 52rem;
}

.faq details {
  border-radius: var(--r-lg);
  background: var(--surface-container);
  overflow: hidden;
  transition: background-color 200ms var(--ease-standard);
}

.faq details[open] {
  background: var(--surface-container-high);
}

.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.125rem 1.5rem;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}

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

.faq summary::after {
  content: "";
  flex: none;
  width: 0.625rem;
  height: 0.625rem;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-0.2rem) rotate(45deg);
  transition: transform 250ms var(--ease-emphasized);
}

.faq details[open] summary::after {
  transform: translateY(0.1rem) rotate(-135deg);
}

.faq p {
  margin: 0;
  padding: 0 1.5rem 1.375rem;
  color: var(--on-surface-variant);
}

/* Contact */

.contact-card {
  display: grid;
  gap: clamp(1.5rem, 4vw, 3rem);
  padding: clamp(1.75rem, 4vw, 3rem);
  border-radius: var(--r-xl);
  background: var(--surface-container-highest);
}

@media (min-width: 52rem) {
  .contact-card {
    grid-template-columns: 1.2fr 1fr;
    align-items: center;
  }
}

.company dl {
  margin: 1.25rem 0 0;
  display: grid;
  gap: 0.5rem;
}

.company dt {
  font-size: 0.8125rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--on-surface-variant);
}

.company dd {
  margin: 0 0 0.75rem;
  font-weight: 500;
}

/* Footer */

.site-footer {
  padding-block: clamp(2.5rem, 5vw, 4rem) 2.5rem;
  background: var(--surface-container-low);
  color: var(--on-surface-variant);
  font-size: 0.9375rem;
}

.footer-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr));
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--outline-variant);
}

.footer-grid h3 {
  margin: 0 0 0.75rem;
  font-size: 0.8125rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--on-surface);
}

.footer-grid ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.5rem;
}

.footer-grid a {
  color: var(--on-surface-variant);
  text-decoration: none;
}

.footer-grid a:hover {
  color: var(--primary);
  text-decoration: underline;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  justify-content: space-between;
  padding-top: 1.75rem;
}

.footer-bottom p {
  margin: 0;
}

/* Scroll reveal */

@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(1.5rem);
    transition: opacity 600ms var(--ease-emphasized), transform 600ms var(--ease-emphasized);
  }

  .reveal.in {
    opacity: 1;
    transform: none;
  }
}
