.hero {
  display: grid;
  grid-template-columns: 1.06fr 1fr;
  align-items: center;
  gap: clamp(2rem, 6vw, 6rem);
  padding-block: clamp(3.5rem, 8vw, 7.5rem);
}

.hero-icon { margin-bottom: 1.5rem; }
.hero h1 { font-size: clamp(3rem, 5.7vw, 5.7rem); line-height: .99; }
.hero h1 em { display: inline-block; margin-top: .07em; }
.intro, .section-lede { max-width: 35rem; color: var(--muted); font-size: 1.15rem; }
.intro { margin-block: 1.45rem 1.65rem; }

.button {
  display: inline-block;
  background: var(--cue);
  border: 1px solid #e3ad05;
  border-radius: 100px;
  font-weight: 750;
  text-decoration: none;
  padding: .68rem 1.15rem;
  margin-inline-end: 1rem;
}
.button:hover { background: #ffda59; }

.device-example { min-width: 0; }
.device-window {
  background: var(--night);
  color: #fff8e6;
  border-radius: 1.65rem;
  border: 1px solid #3f3521;
  box-shadow: 0 1.7rem 3rem -1.8rem #4131186b;
  padding: clamp(1.2rem, 3.6vw, 2.3rem);
}
.window-brand { display: flex; align-items: center; gap: .55rem; font: 800 .95rem/1.25 var(--heading); letter-spacing: -.025em; }
.window-heading { margin-block: 1.55rem 1.2rem; display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: .4rem; }
.window-title { font: 800 clamp(1.85rem, 3.5vw, 3.05rem)/1 var(--heading); letter-spacing: -.05em; }
.window-title em { color: #ffd78a; }
.window-tag, .device-row small { font-size: .85rem; color: #d7cbb5; }
.device-list { display: grid; gap: .55rem; margin: 0; padding: 0; list-style: none; }

.device-row {
  display: grid;
  grid-template-columns: 2rem minmax(0, 1fr) auto;
  gap: .8rem;
  align-items: center;
  background: #2d2820;
  padding: .75rem .8rem;
  border-radius: .75rem;
}
.device-row.low { background: #4a262d; }
.device-row.charging { background: #263023; }
.device-row strong, .device-row small { display: block; }
.device-row strong { line-height: 1.2; }
.device-row small { margin-top: .2rem; line-height: 1.35; }
.reading { text-align: right; min-width: 2.75rem; line-height: 1.2; }
.low .reading { color: #ffc2c8; }
.charging .reading { color: #c9efa9; }

.device-icon {
  display: block;
  color: #e4d8c0;
  border: 1.5px solid currentColor;
  border-radius: 3px;
  margin-inline: auto;
}
.tablet { width: 1.32rem; height: 1.65rem; }
.phone { width: .88rem; height: 1.5rem; }
.laptop { position: relative; width: 1.6rem; height: 1rem; }
.laptop::after { content: ""; position: absolute; inset: auto -.2rem -.25rem; border-bottom: 1.5px solid currentColor; }

.battery {
  display: inline-flex;
  vertical-align: .05em;
  position: relative;
  padding: 1.4px;
  width: 1.65rem;
  height: .65rem;
  margin-right: .15rem;
  border: 1px solid currentColor;
  border-radius: 3px;
}
.battery::after { content: ""; width: 2px; height: 4px; border-radius: 0 2px 2px 0; background: currentColor; position: absolute; left: calc(100% + 2px); top: 2px; }
.battery i { display: block; width: var(--level); background: currentColor; border-radius: 1px; }
figcaption { color: var(--muted); margin-top: .65rem; font-size: .83rem; text-align: right; }

.platform-bar { border-block: 1px solid var(--line); }
.platform-inner { display: flex; justify-content: center; flex-wrap: wrap; gap: .65rem 3rem; padding-block: 1.05rem; }
.platform-inner p { display: flex; align-items: baseline; gap: .5rem; }
.platform-inner span { color: var(--muted); font-size: .9rem; }

.features { padding-block: clamp(3.25rem, 7vw, 6.5rem); }
.section-lede { margin-block: .65rem 1.6rem; }
.feature-grid { display: grid; grid-template-columns: 1.13fr 1fr; gap: .85rem; }
.feature-card { display: flex; flex-direction: column; justify-content: space-between; gap: 1.75rem; border-radius: 1.35rem; padding: clamp(1.3rem, 3vw, 2rem); }
.feature-card p { max-width: 36ch; margin-top: .55rem; }
.widgets { background: #f2deef; }
.menu { background: #fbebbb; }
.history { background: #e6e0f2; }
.watch { background: #e5ebd3; }

.widget-example, .menu-example, .watch-example {
  padding: .85rem 1rem;
  width: fit-content;
  max-width: 100%;
  border-radius: 1rem;
  background: var(--white);
  color: var(--ink);
}
.widget-example { width: min(100%, 25rem); }
.widget-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .4rem; margin-top: .55rem; }
.widget-tiles span { overflow-wrap: anywhere; background: #f6ecf5; border-radius: .65rem; padding: .4rem .55rem; line-height: 1.25; font-size: .81rem; }
.widget-tiles b { display: block; font: 800 clamp(1rem, 2.5vw, 1.55rem)/1.15 var(--heading); }
.menu-example, .watch-example { color: #fff8e6; background: var(--ink); }
.menu-example { display: flex; flex-wrap: wrap; gap: .35rem 1.15rem; font-size: .95rem; }
.menu-example > span:first-child { color: #ffadb3; }
.chart-example { display: block; color: #625189; width: min(100%, 24rem); height: auto; }
.watch-example { width: min(100%, 16rem); }
.watch-example div:first-child { display: flex; flex-wrap: wrap; gap: .25rem .6rem; align-items: baseline; }
.watch-example strong { color: #d1ea9b; font: 800 1.45rem/1.1 var(--heading); }
.watch-example span { font-size: .85rem; }
.watch-track { height: .35rem; border-radius: 100px; margin-top: .55rem; background: #454a34; }
.watch-track i { display: block; width: 80%; border-radius: inherit; height: 100%; background: #d1ea9b; }

.split-section { display: grid; grid-template-columns: 1.1fr 1fr; align-items: center; gap: clamp(1.6rem, 6vw, 5rem); padding-block: clamp(3rem, 6vw, 5rem); }
.split-section p { max-width: 45ch; margin-top: 1rem; }
.signal-band { background: var(--night); color: #fff8e6; }
.signal-band h2 em { color: #ffd78a; }
.signal-band p { color: #e4d8c0; }
.alert-example { background: #2b241a; border: 1px solid #57452f; border-radius: 1.25rem; display: grid; gap: .45rem; padding: 1.35rem; }
.alert-example > strong { font-size: 1.25rem; }
.alert-example > small { color: #d7cbb5; margin-top: .3rem; font-size: .83rem; }

.sharing .quiet-link { display: inline-block; margin-top: 1rem; }
.sharing-example { background: #fff9e9; border: 1px solid var(--line); padding-inline: 1.15rem; border-radius: 1.25rem; }
.sharing-example div { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .15rem .8rem; padding-block: .75rem; }
.sharing-example div + div { border-top: 1px solid var(--line); }
.sharing-example span { color: var(--muted); }

.setup { background: #efeae0; }
.setup .split-section { align-items: start; }
.setup-steps { padding-inline-start: 1.25rem; }
.setup-steps li + li { margin-top: .7rem; }
.questions h3 { margin-bottom: .6rem; }
.questions details { border-bottom: 1px solid #c9bdac; padding-block: .68rem; }
.questions summary { cursor: pointer; font-weight: 700; }
.questions p { margin-top: .45rem; color: var(--muted); }

@media (max-width: 54rem) {
  .hero { gap: 2rem; }
  .hero h1 { font-size: clamp(2.9rem, 6.5vw, 3.8rem); }
  .device-row { gap: .45rem; }
}

@media (max-width: 43rem) {
  .hero, .split-section, .feature-grid { grid-template-columns: minmax(0, 1fr); }
  .hero { padding-block: 2.8rem; }
  .hero h1 { font-size: clamp(3.1rem, 9vw, 4.5rem); }
  .hero-icon { width: 60px; height: 60px; margin-bottom: 1rem; }
  .platform-inner { gap: .4rem 1rem; }
  .feature-card { gap: 1.1rem; }
}

@media (max-width: 22rem) {
  .hero h1 { font-size: 2.7rem; }
  .button { margin-bottom: .5rem; }
  .widget-tiles span { padding-inline: .35rem; }
}
