:root {
  --text: #111111;
  --muted: #6f6f6f;
  --line: #e6e6e6;
  --line-strong: #d8d8d8;
  --page: #ffffff;
  --soft: #f6f5f2;
  --soft-2: #fafafa;
  --yellow: #ffd426;
  --yellow-hover: #ffcc00;
  --green: #20a56b;
  --blue: #4b76ff;
  --coral: #ff765f;
  --max: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--page);
  font-family: Arial, Helvetica, sans-serif;
  letter-spacing: 0;
}

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

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

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 28px;
  min-height: 64px;
  padding: 0 calc((100vw - var(--max)) / 2 + 24px);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
}

.logo-link {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}

.logo-link img,
.footer img {
  display: block;
  width: 136px;
  height: auto;
}

.topnav {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-left: auto;
  color: #3d3d3d;
  font-size: 15px;
}

.topnav a,
.top-action,
.footer a {
  border-bottom: 1px solid transparent;
}

.topnav a:hover,
.top-action:hover,
.footer a:hover {
  border-bottom-color: currentColor;
}

.top-action {
  font-weight: 700;
}

.hero-support {
  background: linear-gradient(180deg, #ffffff 0%, #ffffff 68%, var(--soft) 68%, var(--soft) 100%);
  border-bottom: 1px solid var(--line);
}

.hero-inner {
  max-width: 900px;
  margin: 0 auto;
  padding: 72px 24px 78px;
  text-align: center;
}

.service-label {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.4;
}

h1 {
  max-width: 780px;
  margin: 16px auto 0;
  font-size: clamp(52px, 7vw, 92px);
  line-height: 0.96;
  font-weight: 700;
  letter-spacing: 0;
}

.hero-text {
  max-width: 680px;
  margin: 24px auto 0;
  color: #333333;
  font-size: 22px;
  line-height: 1.35;
}

.search-box {
  display: grid;
  grid-template-columns: 1fr auto;
  max-width: 760px;
  min-height: 60px;
  margin: 34px auto 0;
  padding: 6px;
  border: 2px solid #111111;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}

.search-box input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: none;
  padding: 0 18px;
  color: var(--text);
  font: inherit;
  font-size: 18px;
  background: transparent;
}

.search-box button,
.final-action,
.price-card a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border: 0;
  border-radius: 6px;
  background: var(--yellow);
  color: #111111;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.search-box button:hover,
.final-action:hover,
.price-card a:hover {
  background: var(--yellow-hover);
}

.quick-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 18px;
}

.quick-links a {
  padding: 9px 13px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: #ffffff;
  color: #3a3a3a;
  font-size: 14px;
}

.quick-links a:hover {
  border-color: #111111;
}

.page-section {
  max-width: var(--max);
  margin: 0 auto;
  padding: 72px 24px;
}

.intro-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.95fr 0.95fr;
  gap: 16px;
}

.intro-card,
.help-card,
.price-card,
.service-list article,
.roadmap-list article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
}

.intro-card {
  display: flex;
  flex-direction: column;
  min-height: 245px;
  padding: 24px;
}

.intro-card.wide {
  justify-content: space-between;
  background: var(--soft);
}

.intro-card h2 {
  margin-top: 18px;
  font-size: 28px;
  line-height: 1.08;
}

.intro-card p,
.help-card p,
.section-title p,
.soft-band p,
.price-note,
.pricing-footnote,
.service-list p,
.product-strip p,
.roadmap-list p,
.faq p,
.final-box p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.48;
}

.intro-card p {
  margin-top: 12px;
}

.intro-card a {
  margin-top: auto;
  padding-top: 24px;
  color: #0645ad;
  font-weight: 700;
}

.card-icon,
.help-icon {
  display: inline-block;
  width: 42px;
  height: 42px;
  border: 2px solid #111111;
  border-radius: 8px;
  background: var(--yellow);
}

.card-icon.note,
.help-icon.music {
  border-radius: 50%;
  box-shadow: inset 0 0 0 10px #ffffff;
}

.card-icon.display,
.help-icon.screen {
  background: linear-gradient(180deg, var(--blue) 0 68%, #111111 69% 100%);
}

.card-icon.voice,
.help-icon.ai {
  background:
    radial-gradient(circle at 50% 50%, #ffffff 0 18%, transparent 19%),
    linear-gradient(90deg, var(--yellow), var(--coral));
  border-radius: 50%;
}

.section-title {
  max-width: 760px;
  margin-bottom: 28px;
}

.section-title.compact {
  margin-bottom: 0;
}

.section-title h2,
.soft-band h2,
.product-strip h2,
.final-box h2 {
  margin-top: 10px;
  font-size: clamp(36px, 4.6vw, 62px);
  line-height: 1;
  letter-spacing: 0;
}

.section-title p:last-child {
  margin-top: 18px;
}

.help-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.help-card {
  display: grid;
  grid-template-columns: 48px 1fr;
  column-gap: 16px;
  min-height: 176px;
  padding: 22px;
}

.help-card:hover {
  border-color: #111111;
}

.help-card strong {
  align-self: center;
  font-size: 23px;
  line-height: 1.1;
}

.help-card p {
  grid-column: 2;
  margin-top: 6px;
}

.help-icon.docs {
  background:
    linear-gradient(#ffffff 0 0) 10px 12px / 18px 3px no-repeat,
    linear-gradient(#ffffff 0 0) 10px 21px / 22px 3px no-repeat,
    var(--green);
}

.help-icon.devices {
  background:
    radial-gradient(circle at 50% 50%, #111111 0 9%, transparent 10%),
    #ffffff;
}

.help-icon.api {
  background:
    linear-gradient(90deg, transparent 0 28%, #ffffff 29% 35%, transparent 36% 64%, #ffffff 65% 71%, transparent 72% 100%),
    var(--yellow);
}

.soft-band {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 44px;
  align-items: center;
  max-width: var(--max);
  margin: 0 auto;
  padding: 56px 24px;
  border-radius: 8px;
  background: var(--soft);
}

.band-copy p:last-child {
  max-width: 560px;
  margin-top: 18px;
}

.free-list {
  display: grid;
  gap: 12px;
}

.free-list article {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 18px;
  padding: 18px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: #ffffff;
}

.free-list strong {
  font-size: 22px;
  line-height: 1.05;
}

.free-list span {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.4;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.price-card {
  display: flex;
  flex-direction: column;
  min-height: 410px;
  padding: 24px;
}

.price-card.featured {
  border: 2px solid #111111;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.08);
}

.plan {
  color: var(--muted);
  font-weight: 700;
}

.price-card h3 {
  margin-top: 14px;
  font-size: 44px;
  line-height: 1;
}

.price-note {
  margin-top: 8px;
}

.price-card ul {
  display: grid;
  gap: 12px;
  margin-top: 28px;
  color: #333333;
  font-size: 16px;
  line-height: 1.35;
}

.price-card li {
  position: relative;
  padding-left: 20px;
}

.price-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
}

.price-card a {
  margin-top: auto;
}

.pricing-footnote {
  max-width: 780px;
  margin-top: 20px;
}

.two-column,
.product-strip {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 44px;
  align-items: start;
}

.service-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.service-list article {
  min-height: 205px;
  padding: 22px;
}

.service-list h3,
.roadmap-list h3 {
  margin-bottom: 12px;
  font-size: 24px;
  line-height: 1.12;
}

.service-list strong {
  display: block;
  margin-top: 18px;
}

.product-strip {
  align-items: center;
}

.screen-preview {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft-2);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.08);
}

.preview-head {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 16px;
  border-bottom: 1px solid var(--line);
  background: #ffffff;
}

.preview-head span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--line-strong);
}

.preview-head span:nth-child(1) {
  background: var(--yellow);
}

.preview-head span:nth-child(2) {
  background: var(--green);
}

.preview-head span:nth-child(3) {
  background: var(--blue);
}

.preview-head strong {
  margin-left: auto;
  color: var(--muted);
  font-size: 14px;
}

.preview-body {
  display: grid;
  grid-template-columns: 72px 1fr;
  min-height: 320px;
}

.preview-sidebar {
  display: grid;
  align-content: start;
  gap: 14px;
  padding: 18px;
  border-right: 1px solid var(--line);
  background: #ffffff;
}

.preview-sidebar span {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: #eeeeee;
}

.preview-sidebar .active {
  background: var(--yellow);
}

.preview-main {
  display: grid;
  align-content: start;
  gap: 12px;
  padding: 18px;
}

.preview-row,
.preview-card-mini {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
}

.preview-row strong,
.preview-card-mini strong {
  font-size: 16px;
}

.preview-row em {
  color: var(--green);
  font-style: normal;
  font-weight: 700;
  font-size: 14px;
}

.preview-card-mini {
  justify-content: flex-start;
  padding: 18px;
}

.disc {
  width: 58px;
  height: 58px;
  flex: 0 0 auto;
  border: 10px solid #111111;
  border-radius: 50%;
  background: var(--yellow);
  box-shadow: inset 0 0 0 8px #ffffff;
}

.preview-card-mini p {
  margin-top: 4px;
  font-size: 14px;
}

.preview-bars {
  display: grid;
  gap: 10px;
  margin-top: 8px;
}

.preview-bars span {
  height: 12px;
  border-radius: 99px;
  background: #e4e8ff;
}

.preview-bars span:nth-child(1) {
  width: 84%;
}

.preview-bars span:nth-child(2) {
  width: 58%;
}

.preview-bars span:nth-child(3) {
  width: 72%;
}

.product-strip div:last-child p:last-child {
  margin-top: 18px;
}

.roadmap-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.roadmap-list article {
  min-height: 190px;
  padding: 22px;
}

.faq {
  padding-top: 54px;
}

details {
  border-top: 1px solid var(--line);
}

details:last-child {
  border-bottom: 1px solid var(--line);
}

summary {
  cursor: pointer;
  padding: 24px 0;
  font-size: 23px;
  font-weight: 700;
  line-height: 1.2;
  list-style: none;
}

summary::-webkit-details-marker {
  display: none;
}

summary::after {
  content: "+";
  float: right;
  color: var(--muted);
}

details[open] summary::after {
  content: "-";
}

details p {
  max-width: 760px;
  padding: 0 0 24px;
}

.final-box {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
  max-width: var(--max);
  margin: 0 auto 48px;
  padding: 36px 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
}

.final-box p:last-child {
  max-width: 690px;
  margin-top: 14px;
}

.final-action {
  flex: 0 0 auto;
}

.footer {
  display: flex;
  align-items: center;
  gap: 24px;
  max-width: var(--max);
  min-height: 90px;
  margin: 0 auto;
  padding: 0 24px 24px;
  color: var(--muted);
  font-size: 15px;
}

.footer span {
  margin-left: auto;
}

@media (max-width: 1000px) {
  .topbar {
    padding-right: 24px;
    padding-left: 24px;
  }

  .topnav {
    display: none;
  }

  .top-action {
    margin-left: auto;
  }

  .intro-grid,
  .help-grid,
  .pricing-grid,
  .roadmap-list {
    grid-template-columns: repeat(2, 1fr);
  }

  .intro-card.wide {
    grid-column: 1 / -1;
  }

  .soft-band,
  .two-column,
  .product-strip {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .topbar {
    min-height: 60px;
    gap: 16px;
    padding-right: 16px;
    padding-left: 16px;
  }

  .logo-link img,
  .footer img {
    width: 118px;
  }

  .hero-inner {
    padding: 48px 16px 58px;
    text-align: left;
  }

  h1 {
    font-size: 46px;
  }

  .hero-text {
    font-size: 20px;
  }

  .search-box {
    grid-template-columns: 1fr;
    gap: 6px;
    padding: 6px;
  }

  .search-box input {
    min-height: 48px;
    padding: 0 12px;
    font-size: 16px;
  }

  .quick-links {
    justify-content: flex-start;
  }

  .page-section,
  .soft-band,
  .final-box {
    padding-right: 16px;
    padding-left: 16px;
  }

  .intro-grid,
  .help-grid,
  .pricing-grid,
  .service-list,
  .roadmap-list {
    grid-template-columns: 1fr;
  }

  .help-card {
    grid-template-columns: 42px 1fr;
    padding: 18px;
  }

  .help-card p {
    grid-column: 1 / -1;
  }

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

  .price-card {
    min-height: auto;
  }

  .screen-preview {
    margin-right: -8px;
    margin-left: -8px;
  }

  .preview-body {
    grid-template-columns: 52px 1fr;
  }

  .preview-sidebar {
    padding: 14px 10px;
  }

  .preview-sidebar span {
    width: 30px;
    height: 30px;
  }

  .preview-main {
    padding: 14px 10px;
  }

  .final-box,
  .footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer {
    padding-right: 16px;
    padding-left: 16px;
  }

  .footer span {
    margin-left: 0;
  }

  summary {
    font-size: 20px;
  }
}
