:root {
  --bg: #f5f8fa;
  --panel: #ffffff;
  --soft: #e8f4f7;
  --text: #101923;
  --muted: #52616d;
  --teal: #087889;
  --teal-dark: #075d6d;
  --yellow: #ffc43b;
  --line: #cddde5;
  --shadow: 0 16px 34px rgba(16, 24, 32, 0.10);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.55;
  overflow-x: hidden;
  word-break: normal;
  overflow-wrap: normal;
  hyphens: none;
}

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

a {
  color: var(--teal-dark);
  text-underline-offset: 3px;
}

.site {
  max-width: 1180px;
  margin: 0 auto;
  background: #f7fafb;
}

.topline {
  padding: 22px 22px 14px;
  text-align: right;
}

.topline strong {
  display: block;
  font-size: 24px;
  line-height: 1.25;
  font-weight: 700;
}

.topline nav {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 22px;
  text-transform: uppercase;
  font-size: 16px;
}

.hero-image {
  margin: 0 22px;
  background: #eaf3f6;
  border-radius: 0;
  overflow: hidden;
}

.hero-image img {
  width: 100%;
  max-height: 520px;
  object-fit: cover;
  object-position: center;
}

.label {
  display: inline-block;
  margin: 0 0 26px 22px;
  padding: 2px 6px;
  background: var(--yellow);
  color: #101923;
  font-size: 15px;
}

.shell {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 18px;
}

.brandbar {
  background: var(--panel);
  padding: 24px;
  margin-bottom: 0;
  border-bottom: 1px solid var(--line);
}

.brandnav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.brand {
  font-size: 24px;
  font-weight: 900;
  color: var(--teal-dark);
  text-decoration: none;
}

.brand small {
  display: inline;
  margin-left: 6px;
  font-size: 12px;
  font-weight: 800;
  color: var(--teal-dark);
}

.mainnav {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.mainnav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 7px 14px;
  border: 1px solid #a9c4cf;
  border-radius: 999px;
  background: #f5fbfd;
  color: var(--teal-dark);
  font-weight: 900;
  text-decoration: none;
  line-height: 1.15;
}

.mainnav a:hover,
.mainnav a[aria-current="page"] {
  background: var(--teal);
  color: #fff;
  border-color: var(--teal);
}

.hero {
  background: var(--soft);
}

.hero .shell {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(300px, 0.75fr);
  gap: 34px;
  align-items: center;
  padding-top: 54px;
  padding-bottom: 54px;
}

.hero h1,
.page-hero h1 {
  margin: 0 0 20px;
  font-size: clamp(38px, 5.5vw, 62px);
  line-height: 1.04;
  letter-spacing: 0;
}

.lead {
  max-width: 720px;
  margin: 0 0 22px;
  font-size: 21px;
  color: #203341;
}

.actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 24px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 13px 18px;
  border: 2px solid var(--teal);
  border-radius: 7px;
  background: var(--teal);
  color: #fff;
  font-weight: 900;
  text-align: center;
  text-decoration: none;
  line-height: 1.2;
}

.btn:hover {
  background: var(--teal-dark);
  border-color: var(--teal-dark);
}

.btn.light {
  background: #fff;
  color: var(--teal-dark);
}

.btn.yellow {
  background: var(--yellow);
  border-color: #101923;
  color: #101923;
  box-shadow: 0 3px 0 #d49d00;
}

.device-card {
  padding: 20px;
  border: 8px solid #17212b;
  border-radius: 24px;
  background: #fff;
  box-shadow: var(--shadow);
}

.status-pill {
  margin-bottom: 12px;
  padding: 16px;
  border-radius: 7px;
  color: #fff;
  text-align: center;
  font-size: 27px;
  font-weight: 900;
}

.status-pill.ok {
  background: var(--teal);
}

.status-pill.warn {
  background: #ba3a31;
}

.fact {
  margin-top: 10px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
}

.section {
  padding: 50px 0;
}

.section.white {
  background: #fff;
}

.section.soft {
  background: #eef6f8;
}

.section h2 {
  margin: 0 0 18px;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.12;
}

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

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

.card {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.card h3 {
  margin: 0 0 10px;
  font-size: 22px;
  line-height: 1.2;
}

.note {
  border-left: 5px solid var(--yellow);
  padding: 16px 18px;
  background: #fff8df;
}

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

.screen {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  overflow: hidden;
}

.screen img {
  width: 100%;
}

.screen figcaption {
  padding: 10px;
  font-size: 14px;
  font-weight: 800;
}

.review-badge {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-areas:
    "label label"
    "google stars"
    "sub sub";
  align-items: center;
  column-gap: 18px;
  row-gap: 4px;
  width: 100%;
  min-height: 126px;
  padding: 18px 22px;
  border: 2px solid #8fa0aa;
  border-radius: 16px;
  background: linear-gradient(180deg, #fff, #eef2f4);
  box-shadow: 0 8px 18px rgba(16, 24, 32, 0.12);
  text-align: left;
  text-decoration: none;
  box-sizing: border-box;
}

.review-badge > span {
  display: block;
}

.review-label {
  grid-area: label;
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.google-word {
  grid-area: google;
  font-size: 52px;
  font-weight: 900;
  line-height: 1;
  white-space: nowrap;
}

.google-word span {
  display: inline;
}

.g-blue { color: #4285f4; }
.g-red { color: #ea4335; }
.g-yellow { color: #fbbc05; }
.g-green { color: #34a853; }
.stars {
  grid-area: stars;
  color: var(--yellow);
  font-size: 30px;
  letter-spacing: 1px;
  white-space: nowrap;
  text-align: right;
}

.review-badge > span:last-child {
  grid-area: sub;
  color: var(--teal);
  font-weight: 800;
}

.page-hero {
  background: var(--soft);
  padding: 54px 0;
}

.footer {
  background: #17212b;
  color: #e7eef2;
  padding: 32px 0;
}

.footer a {
  color: #e7eef2;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

@media (max-width: 900px) {
  .topline {
    text-align: center;
  }

  .topline nav {
    justify-content: center;
  }

  .hero .shell,
  .grid,
  .grid.two,
  .footer-grid {
    grid-template-columns: 1fr;
  }

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

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

  .topline {
    padding: 16px 14px 10px;
  }

  .topline strong {
    font-size: 19px;
  }

  .topline nav {
    gap: 6px;
    font-size: 13px;
  }

  .hero-image {
    margin: 0;
  }

  .hero-image img {
    max-height: 210px;
  }

  .label {
    margin: 0 0 14px 10px;
    font-size: 13px;
  }

  .shell {
    width: 100%;
    padding: 0 14px;
  }

  .brandbar {
    padding: 18px 14px;
  }

  .brandnav {
    display: block;
    text-align: center;
  }

  .brand {
    display: block;
    margin-bottom: 12px;
    font-size: 22px;
  }

  .brand small {
    display: block;
    margin: 3px 0 0;
    font-size: 12px;
  }

  .mainnav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .mainnav a {
    min-height: 42px;
    border-radius: 8px;
    padding: 8px 5px;
    font-size: 14px;
    white-space: normal;
  }

  .hero .shell,
  .page-hero {
    padding-top: 32px;
    padding-bottom: 34px;
  }

  .hero h1,
  .page-hero h1 {
    font-size: 34px;
    line-height: 1.08;
  }

  .lead {
    font-size: 18px;
    line-height: 1.45;
  }

  .actions,
  .btn {
    width: 100%;
  }

  .btn {
    min-height: 48px;
    padding: 12px 10px;
  }

  .device-card {
    display: none;
  }

  .section {
    padding: 38px 0;
  }

  .section h2 {
    font-size: 29px;
  }

  .card {
    padding: 18px;
  }

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

.review-image-link {
  display: block;
  width: 100%;
  margin: 0 0 22px;
  overflow: hidden;
  border-radius: 12px;
  background: #eef6f8;
  text-decoration: none;
}

.review-image {
  display: block;
  width: 100%;
  height: clamp(126px, 18vw, 190px);
  object-fit: cover;
  object-position: center;
  border-radius: 12px;
}

@media (max-width: 700px) {
  .review-image {
    height: 120px;
  }
}
