:root {
  color-scheme: light;
  --ink: #16191f;
  --muted: #5d6675;
  --soft: #f4f7fb;
  --line: #dfe5ee;
  --blue: #1769e0;
  --blue-deep: #0f4fb0;
  --green: #177a52;
  --yellow: #f4b63d;
  --rose: #d75270;
  --white: #ffffff;
  --shadow: 0 22px 70px rgba(31, 45, 61, 0.14);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
}

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

p {
  color: var(--muted);
  line-height: 1.65;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 28px;
  justify-content: space-between;
  min-height: 72px;
  padding: 0 48px;
  border-bottom: 1px solid rgba(223, 229, 238, 0.8);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 7px;
  background: var(--ink);
  color: var(--white);
  font-size: 13px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

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

.site-nav a:hover,
.mobile-nav a:hover,
.site-footer a:hover {
  color: var(--blue);
}

.nav-cta,
.nav-link-button,
.button,
.menu-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border: 1px solid transparent;
  border-radius: 7px;
  padding: 0 18px;
  font-weight: 800;
  font-size: 14px;
  cursor: pointer;
}

.nav-cta,
.button.primary {
  background: var(--blue);
  color: var(--white);
}

.nav-link-button {
  border-color: var(--line);
  background: var(--white);
  color: var(--ink);
}

.nav-cta:hover,
.button.primary:hover {
  background: var(--blue-deep);
}

.nav-link-button:hover {
  border-color: #c4cfdd;
  background: #f8fafc;
}

.button.secondary,
.menu-button {
  border-color: var(--line);
  background: var(--white);
  color: var(--ink);
}

.button.secondary:hover,
.menu-button:hover {
  border-color: #c4cfdd;
  background: #f8fafc;
}

.menu-button {
  display: none;
}

.mobile-nav {
  display: grid;
  gap: 2px;
  padding: 12px 22px 22px;
  border-bottom: 1px solid var(--line);
  background: var(--white);
}

.mobile-nav[hidden] {
  display: none;
}

.mobile-nav a {
  padding: 12px 0;
  color: var(--muted);
  font-weight: 800;
}

.hero,
.process-section,
.feature-band,
.use-cases,
.privacy-callout,
.pricing-preview,
.faq-preview,
.page-hero,
.content-section {
  width: min(1160px, calc(100% - 48px));
  margin: 0 auto;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(500px, 1.08fr);
  align-items: center;
  gap: 48px;
  padding: 54px 0 42px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  letter-spacing: 0;
}

h1 {
  max-width: 720px;
  font-size: clamp(42px, 6vw, 64px);
  line-height: 1.02;
}

h2 {
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.08;
}

h3 {
  font-size: 20px;
  line-height: 1.25;
}

.hero-text {
  max-width: 620px;
  margin: 24px 0 0;
  font-size: 19px;
}

.hero-actions,
.center-action {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.trust-note {
  margin: 18px 0 0;
  color: var(--green);
  font-size: 14px;
  font-weight: 800;
}

.product-scene {
  min-width: 0;
}

.browser-shell {
  overflow: hidden;
  border: 1px solid #ccd6e4;
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

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

.browser-bar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--rose);
}

.browser-bar span:nth-child(2) {
  background: var(--yellow);
}

.browser-bar span:nth-child(3) {
  background: var(--green);
}

.address {
  min-width: 0;
  margin-left: 10px;
  padding: 7px 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.page-preview {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 270px;
  gap: 24px;
  min-height: 0;
  height: 360px;
  padding: 32px;
  background:
    linear-gradient(90deg, rgba(23, 105, 224, 0.08), transparent 36%),
    #ffffff;
}

.article-block {
  padding: 12px 0;
}

.article-block h2 {
  max-width: 460px;
  font-size: 30px;
}

.article-block p {
  max-width: 430px;
  margin-top: 18px;
}

.selection-box {
  position: relative;
  max-width: 430px;
  margin-top: 22px;
  padding: 18px;
  border: 2px solid var(--blue);
  border-radius: 7px;
  background: rgba(23, 105, 224, 0.07);
  box-shadow: 0 0 0 999px rgba(13, 21, 33, 0.1);
}

.selection-box span {
  display: inline-flex;
  margin-bottom: 12px;
  padding: 5px 9px;
  border-radius: 5px;
  background: var(--blue);
  color: var(--white);
  font-size: 12px;
  font-weight: 800;
}

.selection-box strong {
  display: block;
  font-size: 21px;
  line-height: 1.22;
}

.translation-panel {
  align-self: start;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 18px 42px rgba(31, 45, 61, 0.16);
}

.panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
  color: var(--ink);
  font-weight: 900;
}

.panel-head small {
  color: var(--green);
  font-size: 12px;
}

.translation-panel p {
  margin: 0;
  color: var(--ink);
  font-weight: 700;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 34px;
}

.process-section,
.feature-band,
.use-cases,
.privacy-callout,
.pricing-preview,
.faq-preview,
.content-section {
  padding: 70px 0;
}

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

.steps article,
.feature-grid article,
.price-card,
.legal-card,
.support-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.steps article,
.feature-grid article,
.price-card,
.legal-card,
.support-card {
  padding: 26px;
}

.step-number {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-bottom: 20px;
  border-radius: 50%;
  background: #e8f0ff;
  color: var(--blue);
  font-weight: 900;
}

.feature-band,
.pricing-preview {
  width: 100%;
  padding-right: max(24px, calc((100% - 1160px) / 2));
  padding-left: max(24px, calc((100% - 1160px) / 2));
  background: var(--soft);
}

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

.feature-grid p,
.steps p,
.price-card p {
  margin-bottom: 0;
}

.case-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.case-list span {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  color: var(--muted);
  font-weight: 800;
}

.privacy-callout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 38px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fefbf2;
}

.privacy-callout div {
  max-width: 780px;
}

.privacy-callout p:last-child {
  margin-bottom: 0;
}

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

.price-card {
  display: flex;
  flex-direction: column;
  min-height: 230px;
}

.price-card.featured {
  border-color: rgba(23, 105, 224, 0.35);
  box-shadow: 0 20px 50px rgba(23, 105, 224, 0.13);
}

.price {
  margin: 16px 0 8px;
  color: var(--ink);
  font-size: 34px;
  font-weight: 900;
  line-height: 1;
}

.price-card ul,
.legal-card ul {
  display: grid;
  gap: 10px;
  margin: 18px 0 0;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.55;
}

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

details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

summary {
  min-height: 58px;
  padding: 18px 22px;
  color: var(--ink);
  font-weight: 900;
  cursor: pointer;
}

details p {
  margin: 0;
  padding: 0 22px 20px;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 32px;
  padding: 42px 48px;
  border-top: 1px solid var(--line);
  background: #101820;
  color: var(--white);
}

.site-footer p {
  margin: 12px 0 0;
  color: #b8c4d5;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 16px;
  color: #d8e1ee;
  font-size: 14px;
  font-weight: 800;
}

.footer-brand .brand-mark {
  background: var(--white);
  color: var(--ink);
}

.page-hero {
  padding: 74px 0 44px;
}

.page-hero h1 {
  max-width: 840px;
  font-size: clamp(40px, 6vw, 64px);
}

.page-hero p {
  max-width: 780px;
  font-size: 18px;
}

.content-section {
  padding-top: 20px;
}

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(300px, 0.25fr);
  gap: 28px;
  align-items: start;
}

.legal-content,
.plain-content {
  display: grid;
  gap: 20px;
}

.legal-card h2,
.plain-content h2 {
  font-size: 26px;
}

.legal-card p,
.plain-content p {
  margin-bottom: 0;
}

.support-card {
  position: sticky;
  top: 96px;
}

.support-card h2 {
  font-size: 22px;
}

.support-card a {
  color: var(--blue);
  font-weight: 900;
  overflow-wrap: anywhere;
}

.notice {
  padding: 18px;
  border: 1px solid #f0cf86;
  border-radius: 8px;
  background: #fff8e6;
}

.notice p {
  margin: 0;
  color: #785800;
}

.login-shell {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 0.55fr);
  gap: 34px;
  align-items: start;
}

.login-card {
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 18px 48px rgba(31, 45, 61, 0.1);
}

.google-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--white);
  color: var(--ink);
  font-size: 15px;
  font-weight: 900;
}

.google-mark {
  display: inline-grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 1px solid var(--line);
  color: var(--blue);
  font-weight: 900;
}

.login-meta {
  display: grid;
  gap: 12px;
  margin-top: 24px;
}

.login-meta p {
  margin: 0;
}

.account-preview {
  display: grid;
  gap: 14px;
  margin-top: 24px;
}

.account-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--soft);
}

.account-row strong {
  font-size: 18px;
}

@media (max-width: 980px) {
  .site-header {
    padding: 0 24px;
  }

  .site-nav,
  .header-actions {
    display: none;
  }

  .menu-button {
    display: inline-flex;
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 36px;
  }

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

  .translation-panel {
    max-width: 420px;
  }

  .feature-grid,
  .steps,
  .pricing-grid,
  .pricing-grid.compact,
  .two-column,
  .login-shell {
    grid-template-columns: 1fr 1fr;
  }

  .support-card {
    position: static;
  }
}

@media (max-width: 680px) {
  .hero,
  .process-section,
  .feature-band,
  .use-cases,
  .privacy-callout,
  .pricing-preview,
  .faq-preview,
  .page-hero,
  .content-section {
    width: min(100% - 32px, 1160px);
  }

  .hero {
    padding: 34px 0 28px;
  }

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

  .hero-actions .button {
    width: 100%;
  }

  .product-scene {
    max-height: 250px;
    overflow: hidden;
    border-radius: 8px;
  }

  h1 {
    font-size: 44px;
  }

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

  .browser-bar {
    padding: 0 12px;
  }

  .address {
    font-size: 11px;
  }

  .page-preview {
    height: 270px;
    padding: 16px;
  }

  .article-block h2 {
    font-size: 22px;
  }

  .article-block p {
    margin: 12px 0 0;
    font-size: 14px;
  }

  .selection-box {
    margin-top: 18px;
    padding: 16px;
  }

  .selection-box strong {
    font-size: 17px;
  }

  .translation-panel {
    padding: 16px;
  }

  .process-section,
  .feature-band,
  .use-cases,
  .privacy-callout,
  .pricing-preview,
  .faq-preview,
  .content-section {
    padding: 50px 0;
  }

  .feature-grid,
  .steps,
  .pricing-grid,
  .pricing-grid.compact,
  .two-column,
  .login-shell {
    grid-template-columns: 1fr;
  }

  .privacy-callout {
    flex-direction: column;
    align-items: flex-start;
    padding: 24px;
  }

  .site-footer {
    flex-direction: column;
    padding: 34px 24px;
  }

  .site-footer nav {
    justify-content: flex-start;
  }
}
