:root {
  color-scheme: light;
  --ink: #123238;
  --ink-soft: #4d666b;
  --teal-950: #073f46;
  --teal-800: #075d66;
  --teal-700: #0b747d;
  --teal-500: #20a3a9;
  --teal-200: #b9e4e3;
  --teal-100: #ddf3f1;
  --teal-50: #effaf8;
  --cream: #fffdf8;
  --gold: #f4c15d;
  --gold-soft: #fff0c9;
  --line: #d9e8e6;
  --white: #ffffff;
  --shadow: 0 24px 70px rgba(6, 77, 85, 0.14);
  --shadow-phone: 0 36px 80px rgba(3, 42, 47, 0.24), 0 10px 28px rgba(3, 42, 47, 0.16);
  --radius-lg: 32px;
  --radius-md: 22px;
  --page: min(1180px, calc(100% - 40px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 112px;
  overflow-x: clip;
}

body {
  margin: 0;
  overflow-x: clip;
  background: var(--cream);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--teal-800);
  text-underline-offset: 0.18em;
  text-decoration-thickness: 0.08em;
}

a:hover {
  color: var(--teal-950);
}

a:focus-visible,
button:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  min-height: 44px;
  padding: 10px 16px;
  border-radius: 12px;
  background: var(--teal-950);
  color: var(--white);
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  z-index: 20;
  top: 0;
  border-bottom: 1px solid rgba(7, 93, 102, 0.1);
  background: rgba(255, 253, 248, 0.92);
  backdrop-filter: blur(18px);
}

.header-inner {
  width: var(--page);
  min-height: 82px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
}

.brand {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  font-size: 18px;
  font-weight: 760;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.brand img {
  border-radius: 13px;
  box-shadow: 0 8px 20px rgba(7, 93, 102, 0.2);
}

.primary-nav {
  min-width: 0;
  justify-self: center;
  display: flex;
  align-items: center;
  gap: 4px;
}

.primary-nav a,
.language-link {
  min-height: 44px;
  padding: 10px 14px;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.primary-nav a:hover,
.primary-nav a[aria-current="page"] {
  background: var(--teal-100);
  color: var(--teal-950);
}

.language-link {
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--teal-800);
}

.page-hero {
  position: relative;
  width: var(--page);
  min-height: 470px;
  margin: 32px auto 0;
  padding: clamp(44px, 7vw, 88px);
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(280px, 0.7fr);
  align-items: center;
  gap: 42px;
  border: 1px solid rgba(11, 116, 125, 0.14);
  border-radius: 44px;
  background:
    radial-gradient(circle at 84% 16%, rgba(244, 193, 93, 0.3), transparent 24%),
    linear-gradient(135deg, #f8ffff 0%, #e8f8f5 62%, #fff8e9 100%);
  box-shadow: var(--shadow);
}

.home-hero {
  min-height: 780px;
  grid-template-columns: minmax(0, 1.08fr) minmax(330px, 0.72fr);
  padding-block: clamp(52px, 6vw, 78px);
  background:
    radial-gradient(circle at 86% 18%, rgba(244, 193, 93, 0.34), transparent 28%),
    radial-gradient(circle at 4% 84%, rgba(32, 163, 169, 0.17), transparent 31%),
    linear-gradient(135deg, #f9ffff 0%, #e7f7f4 58%, #fff7e5 100%);
}

.hero-glow {
  position: absolute;
  width: 380px;
  height: 380px;
  right: -140px;
  bottom: -210px;
  border-radius: 50%;
  background: rgba(32, 163, 169, 0.15);
  filter: blur(12px);
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.eyebrow,
.section-label,
.updated {
  margin: 0 0 14px;
  color: var(--teal-700);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.11em;
  line-height: 1.3;
  text-transform: uppercase;
}

.page-hero h1 {
  max-width: 820px;
  margin: 0;
  color: var(--teal-950);
  font-size: clamp(42px, 6.2vw, 78px);
  font-weight: 790;
  letter-spacing: -0.055em;
  line-height: 0.99;
}

.hero-description {
  max-width: 680px;
  margin: 28px 0 0;
  color: var(--ink-soft);
  font-size: clamp(18px, 2.2vw, 23px);
  line-height: 1.5;
}

.updated {
  margin-top: 28px;
  color: var(--ink-soft);
  letter-spacing: 0.04em;
}

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

.button {
  min-height: 52px;
  padding: 13px 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  font-size: 15px;
  font-weight: 780;
  text-decoration: none;
}

.button-primary {
  background: var(--teal-800);
  color: var(--white);
  box-shadow: 0 12px 26px rgba(7, 93, 102, 0.22);
}

.button-primary:hover {
  background: var(--teal-950);
  color: var(--white);
}

.button-secondary {
  border: 1px solid rgba(7, 93, 102, 0.18);
  background: rgba(255, 255, 255, 0.76);
  color: var(--teal-950);
}

.hero-fact {
  max-width: 650px;
  margin: 24px 0 0;
  padding-left: 20px;
  border-left: 4px solid var(--gold);
  color: var(--ink-soft);
  font-size: 15px;
}

.product-media {
  position: relative;
  width: min(100%, 390px);
  margin: 0 auto;
  display: grid;
  justify-items: center;
}

.device-shell {
  position: relative;
  width: 100%;
  padding: 9px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.62);
  border-radius: 52px;
  background: #071f23;
  box-shadow: var(--shadow-phone);
}

.device-speaker {
  display: none;
}

.device-shell img {
  width: 100%;
  height: auto;
  border-radius: 43px;
  background: #eef5f6;
}

.product-media figcaption {
  max-width: 360px;
  margin-top: 18px;
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.45;
  text-align: center;
}

.media-badge {
  position: absolute;
  z-index: 3;
  top: 26px;
  left: -18px;
  min-height: 42px;
  padding: 10px 15px;
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 999px;
  background: rgba(7, 63, 70, 0.92);
  color: var(--white);
  font-size: 12px;
  font-weight: 820;
  letter-spacing: 0.03em;
  box-shadow: 0 12px 28px rgba(3, 42, 47, 0.2);
  backdrop-filter: blur(12px);
}

.product-media-hero {
  width: min(100%, 350px);
  align-self: center;
}

.product-media-hero .device-shell {
  transform: rotate(1.5deg);
}

.hero-art {
  position: relative;
  z-index: 2;
  min-height: 310px;
  display: grid;
  place-items: center;
}

.score-orbit {
  width: 236px;
  height: 236px;
  display: grid;
  place-content: center;
  border: 18px solid rgba(255, 255, 255, 0.84);
  border-right-color: var(--gold);
  border-bottom-color: var(--teal-500);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.86);
  color: var(--teal-950);
  text-align: center;
  box-shadow: 0 28px 60px rgba(7, 93, 102, 0.17);
  transform: rotate(-7deg);
}

.score-orbit span,
.score-orbit small {
  transform: rotate(7deg);
}

.score-orbit span {
  font-size: 72px;
  font-weight: 800;
  letter-spacing: -0.07em;
  line-height: 0.9;
}

.score-orbit small {
  margin-top: 12px;
  color: var(--teal-700);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.15em;
}

.trend-line {
  position: absolute;
  right: 0;
  bottom: 20px;
  width: 220px;
  height: 70px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  border-bottom: 2px solid rgba(7, 93, 102, 0.16);
}

.trend-line::before {
  content: "";
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 22px;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(95deg, var(--teal-500), var(--gold));
  transform: rotate(-12deg);
  transform-origin: left center;
}

.trend-line i {
  position: relative;
  z-index: 1;
  width: 14px;
  height: 14px;
  margin-bottom: 8px;
  border: 3px solid var(--white);
  border-radius: 50%;
  background: var(--teal-700);
  box-shadow: 0 4px 10px rgba(7, 93, 102, 0.2);
}

.trend-line i:nth-child(2) {
  margin-bottom: 18px;
}

.trend-line i:nth-child(3) {
  margin-bottom: 28px;
}

.trend-line i:nth-child(4) {
  margin-bottom: 46px;
  background: var(--gold);
}

.content-wrap {
  width: var(--page);
  margin: 34px auto 0;
}

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

.spotlight-card {
  min-height: 250px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--white);
  box-shadow: 0 14px 40px rgba(7, 93, 102, 0.07);
}

.spotlight-icon {
  width: 48px;
  height: 48px;
  display: inline-grid;
  place-items: center;
  border-radius: 15px;
  background: var(--teal-100);
  color: var(--teal-800);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.08em;
}

.spotlight-card:nth-child(2) .spotlight-icon {
  background: var(--gold-soft);
  color: #7a5513;
}

.spotlight-card h2 {
  margin: 22px 0 8px;
  color: var(--teal-950);
  font-size: 22px;
  line-height: 1.2;
}

.spotlight-card p {
  margin: 0;
  color: var(--ink-soft);
}

.article-layout {
  margin-top: 38px;
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  align-items: start;
  gap: clamp(38px, 6vw, 82px);
}

.article-layout-home {
  grid-template-columns: minmax(0, 1fr);
}

.article-layout-home .article-content {
  display: grid;
  gap: 28px;
}

.product-section {
  min-height: 760px;
  padding: clamp(42px, 6vw, 74px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.78fr);
  align-items: center;
  gap: clamp(48px, 8vw, 112px);
  overflow: hidden;
  border: 1px solid rgba(11, 116, 125, 0.12);
  border-radius: 40px;
  background:
    radial-gradient(circle at 90% 12%, rgba(244, 193, 93, 0.18), transparent 25%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(239, 250, 248, 0.9));
  box-shadow: 0 20px 60px rgba(7, 93, 102, 0.08);
}

.product-section-media-first {
  grid-template-columns: minmax(300px, 0.78fr) minmax(0, 1fr);
  background:
    radial-gradient(circle at 8% 88%, rgba(32, 163, 169, 0.14), transparent 26%),
    linear-gradient(145deg, #fff9ec, rgba(255, 255, 255, 0.98));
}

.product-section-media-first .product-copy {
  order: 2;
}

.product-section-media-first .product-media {
  order: 1;
}

.product-copy {
  max-width: 590px;
}

.product-copy h2 {
  margin: 0 0 24px;
  color: var(--teal-950);
  font-size: clamp(34px, 4.5vw, 56px);
  font-weight: 790;
  letter-spacing: -0.048em;
  line-height: 1.02;
}

.product-copy p:not(.section-label):not(.section-action) {
  margin: 0 0 20px;
  color: var(--ink-soft);
  font-size: clamp(17px, 1.75vw, 20px);
  line-height: 1.58;
}

.product-copy p:last-child {
  margin-bottom: 0;
}

.page-index {
  position: sticky;
  top: 112px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.72);
}

.page-index > p {
  margin: 0 0 10px;
  color: var(--teal-700);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.page-index ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

.page-index a {
  min-height: 44px;
  padding: 8px 0;
  display: grid;
  grid-template-columns: 27px 1fr;
  align-items: start;
  gap: 8px;
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 650;
  line-height: 1.35;
  text-decoration: none;
}

.page-index a:hover {
  color: var(--teal-800);
}

.page-index a span {
  color: var(--teal-500);
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 0.08em;
}

.article-content {
  min-width: 0;
}

.content-section {
  padding: 56px 0;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: minmax(220px, 0.74fr) minmax(0, 1.26fr);
  gap: clamp(32px, 6vw, 78px);
}

.content-section-first {
  border-top: 0;
}

.section-heading {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  align-items: start;
  gap: 14px;
}

.section-index {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  background: var(--teal-100);
  color: var(--teal-700);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.08em;
}

.section-label {
  margin-top: 2px;
  margin-bottom: 7px;
  font-size: 11px;
}

.content-section h2 {
  margin: 0;
  color: var(--teal-950);
  font-size: clamp(24px, 3.3vw, 36px);
  letter-spacing: -0.035em;
  line-height: 1.13;
}

.section-copy {
  color: var(--ink-soft);
  font-size: 17px;
}

.section-copy p {
  margin: 0 0 20px;
}

.section-copy p:last-child {
  margin-bottom: 0;
}

.section-copy a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  vertical-align: middle;
}

.section-action a {
  min-height: 48px;
  padding: 11px 18px;
  display: inline-flex;
  align-items: center;
  border-radius: 14px;
  background: var(--teal-100);
  color: var(--teal-950);
  font-weight: 780;
  text-decoration: none;
}

.steps {
  margin: 30px 0 0;
  padding: 0;
  display: grid;
  gap: 12px;
  list-style: none;
}

.steps li {
  padding: 22px;
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 14px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--white);
}

.step-number {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--gold-soft);
  color: #76520e;
  font-size: 11px;
  font-weight: 850;
}

.steps h3 {
  margin: 1px 0 4px;
  color: var(--teal-950);
  font-size: 17px;
  line-height: 1.3;
}

.steps p {
  margin: 0;
  font-size: 15px;
}

.site-footer {
  margin-top: 72px;
  border-top: 1px solid rgba(185, 228, 227, 0.3);
  background: var(--teal-950);
  color: rgba(255, 255, 255, 0.76);
}

.footer-inner {
  width: var(--page);
  min-height: 300px;
  margin: 0 auto;
  padding: 56px 0 32px;
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(220px, 0.7fr);
  gap: 42px;
}

.footer-brand {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.footer-brand img {
  border-radius: 12px;
}

.footer-brand strong {
  color: var(--white);
  font-size: 18px;
}

.footer-brand p {
  max-width: 460px;
  margin: 6px 0 0;
  font-size: 14px;
}

.site-footer nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-content: start;
  gap: 4px 12px;
}

.site-footer nav a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  color: var(--white);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.footer-meta {
  grid-column: 1 / -1;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  display: flex;
  justify-content: space-between;
  gap: 20px;
  font-size: 12px;
}

.not-found-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  background: linear-gradient(150deg, var(--teal-50), var(--cream));
}

.not-found {
  width: min(620px, calc(100% - 40px));
  padding: 56px;
  border: 1px solid var(--line);
  border-radius: 32px;
  background: var(--white);
  box-shadow: var(--shadow);
  text-align: center;
}

.not-found img {
  margin: 0 auto 24px;
  border-radius: 20px;
}

.not-found h1 {
  margin: 0;
  color: var(--teal-950);
  font-size: clamp(36px, 7vw, 56px);
  letter-spacing: -0.05em;
  line-height: 1;
}

.not-found p:not(.eyebrow) {
  margin: 22px auto;
  color: var(--ink-soft);
}

@media (max-width: 960px) {
  .header-inner {
    grid-template-columns: 1fr auto;
    padding: 12px 0;
    gap: 8px 16px;
  }

  .primary-nav {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-self: start;
    max-width: 100%;
    overflow-x: auto;
  }

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

  .home-hero {
    grid-template-columns: minmax(0, 1fr) minmax(290px, 0.72fr);
  }

  .product-section,
  .product-section-media-first {
    grid-template-columns: minmax(0, 1fr) minmax(280px, 0.72fr);
    gap: 38px;
  }

  .hero-art {
    min-height: 260px;
  }

  .score-orbit {
    width: 200px;
    height: 200px;
  }

  .trend-line {
    right: calc(50% - 160px);
  }

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

  .page-index {
    position: static;
  }

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

@media (max-width: 720px) {
  :root {
    --page: min(100% - 24px, 1180px);
  }

  html {
    scroll-padding-top: 150px;
  }

  .site-header {
    position: relative;
  }

  .brand span {
    font-size: 16px;
  }

  .primary-nav {
    width: 100%;
  }

  .primary-nav a {
    padding-inline: 12px;
    white-space: nowrap;
  }

  .page-hero {
    min-height: auto;
    margin-top: 16px;
    padding: 38px 24px 30px;
    border-radius: 28px;
  }

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

  .page-hero h1 {
    font-size: clamp(39px, 12.5vw, 58px);
  }

  .hero-description {
    font-size: 18px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .hero-art {
    min-height: 220px;
  }

  .score-orbit {
    width: 176px;
    height: 176px;
    border-width: 14px;
  }

  .score-orbit span {
    font-size: 58px;
  }

  .trend-line {
    width: 180px;
    right: calc(50% - 128px);
  }

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

  .spotlight-card {
    min-height: 0;
  }

  .article-layout-home .article-content {
    gap: 18px;
  }

  .product-section,
  .product-section-media-first {
    min-height: auto;
    padding: 38px 22px 34px;
    grid-template-columns: 1fr;
    gap: 36px;
    border-radius: 28px;
  }

  .product-section-media-first .product-copy,
  .product-section-media-first .product-media {
    order: initial;
  }

  .product-copy h2 {
    font-size: clamp(34px, 10.8vw, 48px);
  }

  .product-media,
  .product-media-hero {
    width: min(100%, 330px);
  }

  .device-shell {
    padding: 7px;
    border-radius: 45px;
  }

  .device-shell img {
    border-radius: 38px;
  }

  .media-badge {
    left: -2px;
  }

  .page-index ol {
    grid-template-columns: 1fr;
  }

  .content-section {
    padding: 42px 0;
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .section-heading {
    grid-template-columns: 38px 1fr;
    gap: 12px;
  }

  .section-index {
    width: 38px;
    height: 38px;
  }

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

  .site-footer nav {
    grid-template-columns: 1fr;
  }

  .footer-meta {
    grid-column: auto;
    flex-direction: column;
  }

  .not-found {
    padding: 40px 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms;
  }
}

@media (prefers-contrast: more) {
  :root {
    --ink-soft: #263f44;
    --line: #91aaa8;
  }

  .page-hero,
  .spotlight-card,
  .page-index,
  .steps li {
    border-width: 2px;
  }
}

@media print {
  .site-header,
  .hero-art,
  .product-media,
  .page-index,
  .site-footer,
  .hero-actions {
    display: none;
  }

  body {
    background: #ffffff;
    color: #000000;
    font-size: 11pt;
  }

  .page-hero {
    min-height: auto;
    margin: 0;
    padding: 0 0 24px;
    display: block;
    border: 0;
    box-shadow: none;
  }

  .content-wrap {
    width: 100%;
  }

  .content-section {
    break-inside: avoid;
  }
}
