@font-face {
  font-family: Inter;
  src: url("/assets/fonts/inter.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
}
@font-face {
  font-family: "Space Grotesk";
  src: url("/assets/fonts/spacegrotesk.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Mono";
  src: url("/assets/fonts/ibmplexmono.woff2") format("woff2");
  font-weight: 500;
  font-display: swap;
}

:root {
  color-scheme: light;
  --paper: #f6f6ef;
  --dark: #0a2421;
  --teal: #c4f4c8;
  --ink: #151c1b;
  --muted: #45534e;
  --line: #c8cec5;
  --gutter: clamp(1.25rem, 4.4vw, 3.25rem);
  --display: "Space Grotesk", Inter, sans-serif;
  --mono: "IBM Plex Mono", monospace;
  font: 100%/1.52 Inter, system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
}

* { box-sizing: border-box; }
body { margin: 0; }
img { display: block; max-width: 100%; }
a { color: inherit; text-underline-offset: .23em; }
a:hover { text-decoration-thickness: .12em; }
a:focus-visible { outline: 3px solid #459c68; outline-offset: 4px; }
p { margin: 0 0 1rem; }
h1, h2, h3 { line-height: 1.12; margin: 0 0 .65em; letter-spacing: -.03em; }
h1, h2 { font-family: var(--display); font-weight: 500; }
h1 { font-size: clamp(2.4rem, 5.6vw, 4.9rem); }
h2 { font-size: clamp(1.75rem, 3.3vw, 2.5rem); }
h3 { font-size: 1.4rem; font-weight: 600; }

.skip {
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 2;
  background: var(--paper);
  padding: .6rem;
  transform: translateY(-170%);
}
.skip:focus { transform: none; }

.bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem 1.75rem;
  max-width: 75rem;
  min-height: 4.5rem;
  padding: .9rem var(--gutter);
  margin: auto;
}
.bar nav { display: flex; gap: .55rem clamp(1rem, 3.2vw, 2.65rem); flex-wrap: wrap; }
.bar a { font-size: .94rem; font-weight: 500; text-decoration: none; }
.bar a:hover, .bar [aria-current] { text-decoration: underline; }
.bar .brand {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  font-size: 1.28rem;
  font-weight: 600;
  letter-spacing: -.045em;
  white-space: nowrap;
}
.brand img { border-radius: .5rem; }

.hero { background: var(--dark); color: white; overflow: hidden; }
.hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(0, .94fr);
  align-items: center;
  min-height: 35.5rem;
  max-width: 75rem;
  padding: 3.5rem var(--gutter);
  margin: auto;
  gap: 1.6rem;
}
.hero-copy { position: relative; z-index: 1; }
.eyebrow {
  margin: 0 0 2.5rem;
  font: 500 .78rem/1.25 var(--mono);
  letter-spacing: .045em;
  text-transform: uppercase;
}
.hero .eyebrow { color: var(--teal); }
.hero h1 { line-height: 1.02; letter-spacing: -.056em; margin-bottom: 2.3rem; }
.intro { max-width: 34rem; font-size: clamp(1rem, 1.75vw, 1.25rem); margin-bottom: 2rem; }
.button {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  padding: .8rem 1.3rem;
  border-radius: 2rem;
  color: var(--ink);
  background: var(--teal);
  font-size: .95rem;
  font-weight: 650;
  text-decoration: none;
}
.button:hover { background: #aee9b4; }

.hero-image {
  position: relative;
  isolation: isolate;
  margin: 0;
  padding: .4rem 0 0;
  align-self: center;
}
.contours {
  position: absolute;
  z-index: -1;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.contours img { max-width: none; }
.popover {
  width: min(100%, 22.375rem);
  height: auto;
  margin-inline: auto;
  padding: .45rem;
  border-radius: 1.3rem;
  background: #fbfcfb;
  box-shadow: 0 1rem 2.5rem #03110dc9;
}
figcaption {
  width: min(100%, 22.375rem);
  margin: 1.25rem auto 0;
  padding-inline: .7rem;
  color: var(--teal);
  font: 500 .7rem/1.4 var(--mono);
  letter-spacing: .035em;
  text-transform: uppercase;
}

.features { max-width: 75rem; margin: auto; padding: 2.35rem var(--gutter) 3rem; }
.features h2 { margin-bottom: 2.2rem; }
.columns { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.9rem; }
.columns div { padding-top: 1.3rem; border-top: 1px solid var(--line); }
.columns p { color: var(--muted); margin: 0; max-width: 21rem; }

.compatibility { background: var(--teal); color: var(--dark); }
.compatibility-layout {
  display: grid;
  grid-template-columns: 1fr 1.08fr;
  max-width: 75rem;
  padding: 2.5rem var(--gutter);
  margin: auto;
  gap: 2rem;
}
.compatibility .eyebrow { margin-bottom: 1.6rem; }
.compatibility h2 { font-size: clamp(2.1rem, 4.65vw, 3.45rem); line-height: 1; }
.requirements dl { margin: 0 0 .7rem; }
.requirements dl div {
  display: grid;
  grid-template-columns: minmax(5rem, .7fr) minmax(0, 1.3fr);
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid #6fa17c;
}
.requirements dl div:first-child { padding-top: .25rem; }
.requirements dt { font-size: 1.14rem; font-weight: 600; }
.requirements dd { margin: 0; }
.requirements > a { font-weight: 650; }

article { max-width: 48rem; margin: auto; padding: 3rem var(--gutter) 4rem; overflow-wrap: anywhere; }
article h1 { font-size: clamp(2.25rem, 5vw, 3.8rem); }
article h2 { margin-top: 1.5em; }
article li + li { margin-top: .3em; }
.lede { font-size: 1.23rem; }
.muted { color: var(--muted); }
.press { max-width: 63rem; }
.press-facts {
  display: grid;
  grid-template-columns: minmax(7rem, auto) minmax(0, 1fr);
  gap: .65rem 1.25rem;
}
.press-facts dt { font-weight: 650; }
.press-facts dd { margin: 0; }
.press-gallery {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.2rem;
}
.press-gallery img {
  width: 100%;
  height: auto;
  border: 1px solid var(--line);
  border-radius: .7rem;
}
.press-gallery p { margin-top: .6rem; font-size: .9rem; }

.footer { min-height: 8.5rem; align-items: flex-start; padding-block: 1.8rem; font-size: .92rem; }
.footer .footer-name { font-size: 1.35rem; font-weight: 650; letter-spacing: -.045em; }
.footer p { margin: .28rem 0 .5rem; color: var(--muted); }
.footer nav { gap: .6rem 1.1rem; }

@media (max-width: 45rem) {
  .bar { min-height: 4.1rem; }
  .bar .brand { font-size: 1.15rem; }
  .bar .desktop-link { display: none; }
  .hero-layout {
    grid-template-columns: minmax(0, 1fr);
    padding-block: 1.9rem 1.45rem;
    gap: 1.8rem;
  }
  .hero h1 { font-size: clamp(2.5rem, 12.2vw, 3.4rem); margin-bottom: 1.55rem; }
  .hero .eyebrow { margin-bottom: 1.55rem; }
  .intro { margin-bottom: 1.2rem; }
  .hero-image { padding-top: .45rem; }
  .contours img { width: 24.375rem; height: 22.125rem; }
  .popover { width: min(100%, 15.5rem); border-radius: .95rem; }
  figcaption { width: min(100%, 15.5rem); margin-top: .8rem; }
  .features { padding-block: 2rem; }
  .features h2 { margin-bottom: 1.4rem; }
  .columns, .compatibility-layout, .press-gallery { grid-template-columns: 1fr; gap: 1.3rem; }
  .columns div { padding-top: .9rem; }
  .compatibility h2 br { display: none; }
  .compatibility .eyebrow { margin-bottom: .9rem; }
  .footer { flex-direction: column; }
}

/* The Contour layout shares the selected appearance across all language routes. */
:root[data-theme="dark"] {
  color-scheme: dark;
  --paper: #101b19;
  --dark: #071916;
  --teal: #ade3b5;
  --ink: #ecf6ed;
  --muted: #b1c4b8;
  --line: #3a564d;
}
:root[data-theme="light"] { color-scheme: light; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) {
    color-scheme: dark;
    --paper: #101b19;
    --dark: #071916;
    --teal: #ade3b5;
    --ink: #ecf6ed;
    --muted: #b1c4b8;
    --line: #3a564d;
  }
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
[hidden] { display: none !important; }

.masthead { column-gap: 1rem; }
.masthead nav { margin-inline-start: auto; column-gap: clamp(.75rem, 2.3vw, 1.8rem); }
.site-controls { display: flex; align-items: center; gap: .45rem; z-index: 3; }
.site-controls select,
.site-controls summary,
.temperature-control select {
  color: inherit;
  background: transparent;
  border: 1px solid currentColor;
  border-radius: .45rem;
  padding: .35rem .5rem;
  font: inherit;
  font-size: .86rem;
}
select option { color: var(--ink); background: var(--paper); }
.site-controls summary { cursor: pointer; white-space: nowrap; }
.languages { position: relative; }
.languages ul {
  position: absolute;
  inset-inline-end: 0;
  min-width: min(15rem, 80vw);
  max-height: 55vh;
  overflow: auto;
  list-style: none;
  margin: .4rem 0 0;
  padding: .5rem;
  border: 1px solid var(--line);
  border-radius: .75rem;
  background: var(--paper);
  box-shadow: 0 .5rem 2rem #0a242136;
}
.languages li { margin: 0; }
.languages a { display: block; padding: .5rem; border-radius: .3rem; }
.languages a:hover, .languages a[aria-current] { background: var(--line); }

.button { color: #10221a; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .7rem; }
.store-button {
  display: inline-flex;
  align-items: center;
  padding: .62rem 1rem;
  border: 1px solid currentColor;
  border-radius: 2rem;
  font-weight: 600;
  font-size: .95rem;
  text-decoration: none;
  white-space: nowrap;
}
.store-button:hover { text-decoration: underline; }
figcaption { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; }
.temperature-control select { color: var(--teal); }
[dir="rtl"] .hero-actions img { transform: scaleX(-1); }
[dir="rtl"] .hero h1, [dir="rtl"] h2, [dir="rtl"] h3 { letter-spacing: normal; }

@media (max-width: 45rem) {
  .site-controls { flex-basis: 100%; }
  .languages ul { inset-inline: 0 auto; }
  .hero h1 { overflow-wrap: anywhere; }
}
