:root {
  color-scheme: light;
  --bg: #f5f7fb;
  --panel: #ffffff;
  --ink: #162033;
  --muted: #607086;
  --line: #d9e0ea;
  --accent: #0f766e;
  --accent-dark: #134e4a;
  --warm: #f2b84b;
  --blue: #3b82f6;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px max(24px, calc((100vw - 1120px) / 2));
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(12px);
  position: sticky;
  top: 0;
  z-index: 5;
}

.brand,
.nav,
.phone {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-weight: 800;
}

.brand__mark {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--accent);
  color: #fff;
}

.nav {
  gap: 18px;
  color: var(--muted);
  font-size: 14px;
}

.phone {
  font-weight: 700;
  color: var(--accent-dark);
}

.hero,
.section,
.info,
footer {
  width: min(1120px, calc(100vw - 32px));
  margin: 0 auto;
}

.hero {
  min-height: 620px;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
  align-items: center;
  gap: 56px;
  padding: 56px 0 64px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 720px;
  margin-bottom: 20px;
  font-size: 56px;
  line-height: 1.02;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 0;
  font-size: 34px;
  line-height: 1.12;
}

h3 {
  margin-bottom: 10px;
  font-size: 19px;
}

.hero__copy > p:not(.eyebrow),
.info > p,
.card p {
  color: var(--muted);
  line-height: 1.65;
}

.hero__copy > p:not(.eyebrow) {
  max-width: 620px;
  font-size: 18px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 8px;
  background: var(--accent);
  color: #fff;
  font-weight: 800;
}

.button--ghost {
  background: transparent;
  color: var(--accent-dark);
  border: 1px solid var(--line);
}

.hero__panel {
  min-height: 460px;
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(15, 118, 110, 0.16), transparent 36%),
    linear-gradient(315deg, rgba(59, 130, 246, 0.18), transparent 40%),
    #ffffff;
  border: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}

.device {
  position: absolute;
  background: #f8fafc;
  border: 1px solid #cdd7e3;
  box-shadow: 0 22px 50px rgba(22, 32, 51, 0.12);
}

.device--router {
  left: 58px;
  right: 58px;
  bottom: 86px;
  height: 112px;
  border-radius: 28px 28px 18px 18px;
}

.device--router::before,
.device--router::after {
  content: "";
  position: absolute;
  top: 42px;
  width: 72px;
  height: 6px;
  border-radius: 999px;
  background: var(--accent);
}

.device--router::before {
  left: 46px;
}

.device--router::after {
  right: 46px;
}

.device--charger {
  width: 132px;
  height: 176px;
  top: 70px;
  left: 74px;
  border-radius: 24px;
  background: #172033;
}

.device--charger::before {
  content: "65W";
  position: absolute;
  top: 28px;
  left: 28px;
  color: #fff;
  font-weight: 900;
}

.device--buds {
  width: 184px;
  height: 132px;
  top: 118px;
  right: 58px;
  border-radius: 34px;
  background: #ffffff;
}

.device--buds::before,
.device--buds::after {
  content: "";
  position: absolute;
  top: 34px;
  width: 44px;
  height: 58px;
  border-radius: 24px;
  background: var(--blue);
}

.device--buds::before {
  left: 42px;
}

.device--buds::after {
  right: 42px;
}

.section {
  padding: 20px 0 76px;
}

.section__head {
  margin-bottom: 24px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.card {
  min-height: 230px;
  padding: 20px;
  border-radius: 8px;
  background: var(--panel);
  border: 1px solid var(--line);
}

.badge {
  display: inline-flex;
  margin-bottom: 28px;
  padding: 6px 9px;
  border-radius: 999px;
  background: rgba(242, 184, 75, 0.22);
  color: #7c4a03;
  font-size: 12px;
  font-weight: 900;
}

.card strong {
  display: block;
  margin-top: 18px;
  font-size: 22px;
}

.info {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 36px;
  padding: 34px;
  border-radius: 8px;
  background: #172033;
  color: #fff;
}

.info .eyebrow,
.info p {
  color: #b7e4df;
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 34px 0 48px;
  color: var(--muted);
}

@media (max-width: 860px) {
  .topbar {
    flex-wrap: wrap;
  }

  .nav {
    order: 3;
    width: 100%;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    gap: 28px;
  }

  h1 {
    font-size: 40px;
  }

  .hero__panel {
    min-height: 340px;
  }

  .grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .info,
  footer {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .phone {
    width: 100%;
  }

  .grid {
    grid-template-columns: 1fr;
  }

  .hero__panel {
    display: none;
  }

  h1 {
    font-size: 34px;
  }
}
