:root {
  color-scheme: light;
  --bg: #f6fbf9;
  --ink: #0d1b23;
  --muted: #52636d;
  --line: rgba(16, 34, 43, 0.1);
  --surface: rgba(255, 255, 255, 0.78);
  --accent: #0e9f8a;
  --accent-ink: #073f39;
  --soft: #e9f8f5;
  --sky: #dff2f3;
  --shadow: 0 28px 90px rgba(9, 29, 40, 0.13);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  background: var(--bg);
  color: var(--ink);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 82% 8%, rgba(14, 159, 138, 0.14), transparent 30%),
    linear-gradient(180deg, #eef8f7 0%, #f7fbfa 46%, #ffffff 100%),
    var(--bg);
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  width: min(1180px, calc(100vw - 40px));
  margin: 0 auto;
  padding: 16px 0;
  backdrop-filter: blur(18px) saturate(1.1);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 800;
}

.brand-logo {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  box-shadow: 0 8px 18px rgba(16, 34, 43, 0.12);
}

.nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 24px;
  padding: 0 18px;
  min-height: 38px;
  border: 1px solid rgba(16, 34, 43, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.5);
}

.nav a {
  color: #53646f;
  text-decoration: none;
  font-size: 13px;
  font-weight: 720;
}

.header-actions {
  display: inline-flex;
  align-items: center;
  justify-content: end;
  gap: 10px;
}

.locale-toggle {
  display: grid;
  grid-template-columns: 1fr 1fr;
  width: 78px;
  height: 32px;
  padding: 3px;
  gap: 2px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
}

.locale-option {
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #61717b;
  cursor: pointer;
  font: 800 11px/1 ui-sans-serif, system-ui, sans-serif;
}

.locale-option.active {
  background: #10222b;
  color: #ffffff;
}

main {
  overflow: hidden;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(440px, 1.18fr);
  align-items: center;
  gap: 64px;
  width: min(1180px, calc(100vw - 40px));
  min-height: min(560px, calc(100vh - 230px));
  margin: 0 auto;
  padding: 24px 0 42px;
}

.hero-copy h1 {
  margin: 0 0 18px;
  max-width: 620px;
  color: #0b1921;
  font-size: clamp(56px, 8.2vw, 98px);
  line-height: 0.9;
  letter-spacing: 0;
}

.hero-copy p {
  margin: 0;
  max-width: 590px;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.7;
}

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

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.hero-proof span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  padding: 0 13px;
  border: 1px solid rgba(16, 34, 43, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.62);
  color: #40515c;
  font-size: 12px;
  font-weight: 780;
}

.hero-proof span::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 0 5px rgba(14, 159, 138, 0.12);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 148px;
  height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 820;
}

.button.compact {
  min-width: 132px;
  height: 36px;
  padding: 0 16px;
  background: #10222b;
  color: #ffffff;
  font-size: 12px;
  box-shadow: 0 12px 26px rgba(16, 34, 43, 0.13);
}

.button[aria-disabled="true"] {
  cursor: default;
}

.button.primary {
  background: linear-gradient(180deg, #112b35 0%, #0b1c24 100%);
  color: #ffffff;
  box-shadow: 0 18px 42px rgba(16, 34, 43, 0.22);
}

.button.quiet {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.78);
  color: #13242d;
}

.product-frame {
  position: relative;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(16, 34, 43, 0.12);
  border-radius: 34px;
  background: #ffffff;
  box-shadow: var(--shadow);
}

.product-frame::before {
  content: "";
  position: absolute;
  inset: 12px;
  z-index: -1;
  border-radius: 30px;
  background: linear-gradient(135deg, rgba(14, 159, 138, 0.2), rgba(61, 132, 176, 0.16));
  filter: blur(30px);
}

.product-frame img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: top center;
}

.workflow,
.layers,
.feature-band,
.video-section,
.install,
.feedback,
.footer {
  width: min(1180px, calc(100vw - 40px));
  margin: 0 auto;
}

.workflow {
  padding: 80px 0 72px;
}

.section-copy {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(280px, 0.52fr);
  gap: 52px;
  align-items: end;
  margin-bottom: 34px;
}

h2 {
  margin: 0;
  color: #10222b;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.02;
  letter-spacing: 0;
}

.section-copy p,
.layer-copy p,
.install p {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.65;
}

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

.flow-grid article,
.feature-band article {
  position: relative;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.8);
  box-shadow: 0 18px 50px rgba(9, 29, 40, 0.06);
}

.flow-grid span {
  color: var(--accent);
  font-size: 13px;
  font-weight: 860;
}

h3 {
  margin: 18px 0 10px;
  color: #13242d;
  font-size: 21px;
  line-height: 1.2;
}

.flow-grid p,
.feature-band p,
.layer-row p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.58;
}

.layers {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(420px, 1fr);
  align-items: center;
  gap: 58px;
  padding: 76px 0;
}

.layer-copy h2 {
  margin-bottom: 20px;
}

.layer-panel {
  padding: 18px;
  border: 1px solid rgba(16, 34, 43, 0.12);
  border-radius: 30px;
  background: #ffffff;
  box-shadow: var(--shadow);
}

.tabs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  margin-bottom: 12px;
  padding: 4px;
  border-radius: 999px;
  background: #eef5f3;
}

.tabs button {
  min-height: 34px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #53646f;
  font: 800 12px/1.1 ui-sans-serif, system-ui, sans-serif;
}

.tabs button.active {
  background: #10222b;
  color: #ffffff;
}

.layer-row {
  display: grid;
  gap: 6px;
  padding: 18px;
  border: 1px solid rgba(16, 34, 43, 0.08);
  border-radius: 18px;
  background: #f9fcfb;
}

.layer-row + .layer-row {
  margin-top: 10px;
}

.layer-row strong {
  color: #10222b;
  font-size: 15px;
}

.feature-band {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  padding: 72px 0;
}

.feature-heading {
  grid-column: 1 / -1;
  max-width: 760px;
  margin-bottom: 4px;
}

.feature-band article {
  background: linear-gradient(180deg, rgba(233, 248, 245, 0.92), rgba(255, 255, 255, 0.74));
}

.video-section {
  display: grid;
  grid-template-columns: minmax(0, 0.74fr) minmax(360px, 1fr);
  align-items: center;
  gap: 44px;
  padding: 70px 0;
}

.video-copy h2 {
  margin-bottom: 18px;
}

.video-copy p {
  max-width: 570px;
  margin: 0 0 26px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.65;
}

.video-card {
  position: relative;
  display: grid;
  min-height: 320px;
  align-content: end;
  gap: 8px;
  overflow: hidden;
  padding: 28px;
  border: 1px solid rgba(16, 34, 43, 0.12);
  border-radius: 34px;
  background:
    linear-gradient(180deg, transparent 0%, rgba(12, 29, 38, 0.88) 100%),
    url("assets/product-panel.png"),
    #dfeeed;
  background-size: cover;
  background-position: center;
  color: #ffffff;
  text-decoration: none;
  box-shadow: var(--shadow);
}

.video-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(6, 23, 30, 0.12);
}

.video-card strong,
.video-card small,
.play-mark {
  position: relative;
  z-index: 1;
}

.video-card strong {
  font-size: 24px;
  line-height: 1.15;
}

.video-card small {
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
  line-height: 1.45;
}

.play-mark {
  display: grid;
  width: 62px;
  height: 62px;
  place-items: center;
  margin-bottom: 88px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.2);
}

.play-mark::after {
  content: "";
  width: 0;
  height: 0;
  margin-left: 4px;
  border-top: 11px solid transparent;
  border-bottom: 11px solid transparent;
  border-left: 16px solid #10222b;
}

.install {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px;
  margin-bottom: 58px;
  padding: 38px;
  border: 1px solid rgba(16, 34, 43, 0.1);
  border-radius: 34px;
  background:
    radial-gradient(circle at 84% 18%, rgba(14, 159, 138, 0.28), transparent 32%),
    linear-gradient(135deg, #10222b 0%, #0a1a22 100%);
  color: #ffffff;
}

.install h2 {
  color: #ffffff;
}

.install p {
  max-width: 650px;
  margin-top: 14px;
  color: rgba(255, 255, 255, 0.72);
}

.install .button.primary {
  background: #ffffff;
  color: #10222b;
  box-shadow: none;
}

.feedback {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(360px, 0.72fr);
  gap: 34px;
  align-items: start;
  padding: 30px 0 70px;
}

.feedback-copy {
  padding-top: 12px;
}

.section-kicker {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  margin-bottom: 18px;
  padding: 0 12px;
  border: 1px solid rgba(14, 159, 138, 0.16);
  border-radius: 999px;
  background: rgba(233, 248, 245, 0.78);
  color: var(--accent-ink);
  font-size: 12px;
  font-weight: 840;
}

.feedback-copy p {
  max-width: 640px;
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.65;
}

.feedback-form {
  display: grid;
  gap: 16px;
  padding: 22px;
  border: 1px solid rgba(16, 34, 43, 0.12);
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: var(--shadow);
}

.rating-group,
.feedback-field {
  display: grid;
  gap: 9px;
  color: #20313b;
  font-size: 13px;
  font-weight: 820;
}

.star-rating {
  display: grid;
  grid-template-columns: repeat(5, 44px);
  gap: 6px;
}

.star-rating button {
  width: 44px;
  height: 44px;
  border: 1px solid rgba(16, 34, 43, 0.1);
  border-radius: 14px;
  background: #f5faf8;
  color: #b7c3c1;
  cursor: pointer;
  font-size: 22px;
  line-height: 1;
}

.star-rating button.active {
  border-color: rgba(14, 159, 138, 0.3);
  background: #e5f8f4;
  color: #0e9f8a;
}

.feedback-field textarea,
.feedback-field input {
  width: 100%;
  border: 1px solid rgba(16, 34, 43, 0.1);
  border-radius: 18px;
  background: #f9fcfb;
  color: #10222b;
  font: 500 14px/1.5 ui-sans-serif, system-ui, sans-serif;
}

.feedback-field textarea {
  min-height: 132px;
  resize: vertical;
  padding: 14px;
}

.feedback-field input {
  height: 44px;
  padding: 0 14px;
}

.feedback-message {
  min-height: 18px;
  margin: -2px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.4;
}

.feedback-message.ok {
  color: var(--accent-ink);
}

.feedback-message.error {
  color: #9f1d34;
}

.footer {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 26px 0 34px;
  border-top: 1px solid var(--line);
  color: #61717b;
  font-size: 13px;
}

.footer-links {
  display: inline-flex;
  justify-content: center;
  gap: 18px;
}

.footer-links a {
  color: #344752;
  font-weight: 740;
  text-decoration: none;
}

.footer span:last-child {
  text-align: right;
}

.policy-page {
  width: min(880px, calc(100vw - 40px));
  margin: 0 auto;
  padding: 72px 0 96px;
}

.policy-doc {
  padding: 42px;
  border: 1px solid var(--line);
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.8);
  box-shadow: var(--shadow);
}

.policy-date {
  margin: 0 0 16px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 820;
}

.policy-doc h1 {
  margin: 0 0 22px;
  color: #10222b;
  font-size: clamp(42px, 7vw, 72px);
  line-height: 0.96;
  letter-spacing: 0;
}

.policy-doc h2 {
  margin-top: 34px;
  font-size: 26px;
}

.policy-doc p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.72;
}

@media (max-width: 900px) {
  .site-header {
    grid-template-columns: auto auto;
  }

  .nav {
    display: none;
  }

  .hero,
  .section-copy,
  .layers,
  .install,
  .feedback,
  .video-section {
    grid-template-columns: 1fr;
  }

  .hero {
    gap: 34px;
    min-height: auto;
    padding-top: 34px;
  }

  .hero-copy h1 {
    font-size: 52px;
  }

  .flow-grid,
  .feature-band {
    grid-template-columns: 1fr;
  }

  .install {
    align-items: start;
  }
}

@media (max-width: 560px) {
  .site-header,
  .hero,
  .workflow,
  .layers,
  .feature-band,
  .video-section,
  .install,
  .feedback,
  .footer,
  .policy-page {
    width: min(100% - 28px, 520px);
  }

  .brand span:last-child {
    display: none;
  }

  .header-actions .button.compact {
    display: none;
  }

  .hero-copy h1 {
    font-size: 43px;
  }

  .hero-copy p,
  .section-copy p,
  .layer-copy p,
  .install p {
    font-size: 15px;
  }

  .tabs {
    grid-template-columns: repeat(2, 1fr);
    border-radius: 18px;
  }

  .tabs button {
    border-radius: 14px;
  }

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

  .footer-links {
    justify-content: start;
  }

  .footer span:last-child {
    text-align: left;
  }

  .star-rating {
    grid-template-columns: repeat(5, 1fr);
  }

  .star-rating button {
    width: 100%;
  }

  .policy-doc {
    padding: 26px;
  }
}
