:root {
  color-scheme: light;
  font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", sans-serif;
  color: #142725;
  background: #f8faf9;
  --ink: #142725;
  --accent: #076b60;
  --light: #e4f1ed;
  --muted: #455c58;
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; line-height: 1.5; }
a { color: inherit; }
button { font: inherit; }
a:focus-visible, button:focus-visible { outline: 3px solid #0b8877; outline-offset: 4px; }
.wrap { width: min(1100px, 100% - 3rem); margin-inline: auto; }
.navigation, .footer, .purchase-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.navigation { min-height: 4.75rem; }
.brand { display: flex; align-items: center; gap: .65rem; font-weight: 720; text-decoration: none; }
nav { display: flex; gap: clamp(.75rem, 3vw, 1.65rem); flex-wrap: wrap; }
nav a, nav button { color: var(--muted); font-size: .91rem; text-decoration: none; }
nav button { background: transparent; border: 0; padding: 0; cursor: pointer; }
nav a:hover, nav button:hover { color: var(--ink); text-decoration: underline; }
.hero { padding: clamp(3rem, 6vw, 5.25rem) 0 2rem; text-align: center; background: linear-gradient(160deg, #dcefe9 0%, #edf7f2 66%, #f8faf9 100%); }
h1, h2, h3, p, figure { margin: 0; }
h1 { font-size: clamp(2.9rem, 7.5vw, 5.5rem); line-height: 1.02; letter-spacing: -.048em; font-weight: 800; }
h2 { font-size: clamp(2rem, 4vw, 3rem); line-height: 1.12; letter-spacing: -.045em; }
h3 { letter-spacing: -.017em; font-size: 1.2rem; }
p { color: var(--muted); }
.hero h1 + p { max-width: 35rem; margin: 1.6rem auto 0; font-size: clamp(1.12rem, 2vw, 1.34rem); text-wrap: pretty; }
.download-actions, .dialog-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: .65rem; margin-top: 1.75rem; }
.button { display: inline-flex; min-height: 2.9rem; align-items: center; justify-content: center; padding: .6rem 1.15rem; font-weight: 670; border-radius: .55rem; border: 1px solid transparent; text-decoration: none; cursor: pointer; }
.button-primary { background: var(--accent); color: white; }
.button-primary:hover { background: #07574e; }
.button-light { background: #f8faf9; color: #185349; border-color: #cfdfd9; }
.button-light:hover { background: white; }
.fine { margin-top: .8rem; font-size: .91rem; }
figure img { width: 100%; height: auto; display: block; border-radius: 1.1rem; box-shadow: 0 18px 55px #294b473b; }
.hero-image {
  --phone-width: clamp(136px, 23vw, 280px);
  position: relative;
  isolation: isolate;
  margin-top: clamp(2rem, 4vw, 3rem);
  padding: 0 0 calc(var(--phone-width) * .37) calc(var(--phone-width) * .37);
}
.hero-connection {
  position: absolute;
  bottom: calc(var(--phone-width) * -.09);
  left: calc(var(--phone-width) * -.17);
  width: var(--phone-width);
}
.hero-connection img { border-radius: 0; box-shadow: none; }
/* Match the stem of the photographed plug with one continuous cable stroke. */
.hero-connection::before {
  --cable-diameter: calc(var(--phone-width) * .022);
  content: "";
  position: absolute;
  left: calc(50% - var(--cable-diameter) / 2);
  bottom: 7%;
  z-index: -1;
  width: 58%;
  height: 34%;
  border: var(--cable-diameter) solid #cac6bc;
  border-top: 0;
  border-radius: 0 0 48% 42% / 0 0 67% 28%;
  filter: drop-shadow(0 1px 0 #615d565e);
}
.hero-phone { clip-path: inset(0 0 16.5%); }
.hero-image > img { position: relative; z-index: -1; }
.hero-phone-display {
  position: absolute;
  inset: 9.45% 27.1% 26.6% 27.1%;
  overflow: hidden;
  border-radius: 15% / 7%;
  background: #0d1011;
}
.hero-phone-display img { height: 100%; }
.hero-phone-display::after {
  content: "";
  position: absolute;
  inset: 1.1% 35% auto;
  height: 4.3%;
  border-radius: 100vw;
  background: #060606;
}
.features { padding-block: clamp(3rem, 7vw, 6rem); }
.feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, 4vw, 2.6rem); margin-top: 1.8rem; }
.feature-grid h3 + p, .install h3 + p, .install h2 + p { margin-top: .55rem; }
.secondary-image { margin-top: 3rem; }
figcaption { text-align: center; color: var(--muted); margin-top: .8rem; font-size: .91rem; }
.install { display: grid; grid-template-columns: 1fr 1fr; align-items: start; gap: 2.4rem; padding: 0 0 4rem; }
.purchase { background: var(--light); padding: 3.25rem 0; }
.purchase h2 + p { margin-top: .5rem; }
.price span { font-weight: 750; font-size: 2rem; letter-spacing: -.04em; }
.price p { font-size: .87rem; }
.footer { flex-wrap: wrap; padding-block: 2rem; color: var(--muted); font-size: .91rem; }
dialog { max-width: min(28rem, 100% - 2rem); border: 1px solid #cfdfd9; border-radius: 1rem; padding: 1.65rem; box-shadow: 0 24px 90px #12292530; }
dialog::backdrop { background: #14272570; }
dialog h2 { margin-bottom: 1rem; font-size: 1.7rem; }
.legal { width: min(720px, 100% - 3rem); margin: 3rem auto 5rem; }
.legal h1 { font-size: clamp(3rem, 7vw, 4.5rem); margin-bottom: 2rem; }
.legal h2 { font-size: 1.65rem; margin: 1.75rem 0 .5rem; }
@media (max-width: 710px) {
  .feature-grid, .install { grid-template-columns: 1fr; }
  .purchase-inner { align-items: flex-start; flex-direction: column; }
}
@media (max-width: 400px) {
  .navigation { gap: .65rem; min-height: 4rem; }
  .wrap { width: calc(100% - 2rem); }
}
