:root {
  color-scheme: light;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", sans-serif;
  --page: #f5f6f7;
  --surface: #ffffff;
  --subtle: #f0f1f3;
  --text: #202124;
  --muted: #70747c;
  --stroke: #e1e3e7;
  --accent: #f06455;
  --accent-soft: #fff0ed;
  --success: #218b68;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body { margin: 0; background: var(--surface); color: var(--text); }
body, button, a { letter-spacing: 0; }
a { color: inherit; }
img { max-width: 100%; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid color-mix(in srgb, var(--stroke) 75%, transparent);
  background: color-mix(in srgb, #ffffff 92%, transparent);
  backdrop-filter: blur(18px) saturate(1.1);
  -webkit-backdrop-filter: blur(18px) saturate(1.1);
}

.nav,
.section,
.footer-inner {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.nav {
  min-height: 70px;
  display: flex;
  align-items: center;
  gap: 34px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-size: 18px;
  font-weight: 780;
  text-decoration: none;
  white-space: nowrap;
}

.brand img { width: 34px; height: 34px; border-radius: 8px; }
.nav-links { display: flex; align-items: center; gap: 28px; margin-left: 18px; }
.nav-links a { color: #45484e; font-size: 14px; font-weight: 620; text-decoration: none; }
.nav-links a:hover, .footer-links a:hover { color: var(--accent); }
.nav-action { margin-left: auto; }

.button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid var(--stroke);
  border-radius: 8px;
  padding: 0 18px;
  background: var(--surface);
  color: var(--text);
  font-size: 14px;
  font-weight: 720;
  text-decoration: none;
}

.button.primary { border-color: var(--accent); background: var(--accent); color: #fff; }
.button:hover { transform: translateY(-1px); }
.button:focus-visible, a:focus-visible, summary:focus-visible { outline: 3px solid color-mix(in srgb, var(--accent) 32%, transparent); outline-offset: 2px; }

.hero { padding: 76px 0 56px; }
.hero h1 {
  max-width: 900px;
  margin: 0;
  font-size: clamp(44px, 6vw, 76px);
  line-height: 1.02;
  font-weight: 790;
}
.hero-copy { max-width: 720px; margin: 24px 0 0; color: var(--muted); font-size: 20px; line-height: 1.55; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

.product-frame {
  margin-top: 42px;
  display: grid;
  grid-template-columns: 180px 330px minmax(0, 1fr);
  min-height: 480px;
  overflow: hidden;
  border: 1px solid var(--stroke);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 22px 70px rgba(18, 24, 33, 0.11);
}
.mock-sidebar, .mock-list, .mock-editor { min-width: 0; padding: 18px; }
.mock-sidebar, .mock-list { border-right: 1px solid var(--stroke); }
.mock-sidebar { display: flex; flex-direction: column; gap: 8px; background: #fafafa; }
.mock-brand { display: flex; align-items: center; gap: 8px; margin-bottom: 16px; font-weight: 760; }
.mock-brand img { width: 28px; height: 28px; border-radius: 7px; }
.mock-nav { padding: 11px 12px; border-radius: 8px; color: var(--muted); font-size: 14px; }
.mock-nav.active { background: var(--accent-soft); color: var(--accent); font-weight: 700; }
.mock-settings { margin-top: auto; }
.mock-search { height: 40px; display: flex; align-items: center; border: 1px solid var(--stroke); border-radius: 8px; padding: 0 12px; color: #9a9ea6; font-size: 13px; }
.mock-list h2 { margin: 18px 0 8px; font-size: 18px; }
.prompt-row { display: grid; gap: 5px; border-bottom: 1px solid var(--stroke); padding: 13px 2px; }
.prompt-row strong { font-size: 14px; }
.prompt-row span { color: var(--muted); font-size: 12px; }
.mock-editor header { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-bottom: 16px; border-bottom: 1px solid var(--stroke); }
.mock-editor h2 { margin: 0; font-size: 18px; }
.mock-editor .save { border: 0; border-radius: 8px; padding: 10px 14px; background: var(--accent); color: #fff; font-weight: 700; }
.mock-tabs { display: flex; gap: 24px; margin: 18px 0; border-bottom: 1px solid var(--stroke); }
.mock-tabs span { padding: 0 2px 11px; color: var(--muted); font-size: 13px; }
.mock-tabs .active { border-bottom: 2px solid var(--accent); color: var(--accent); }
.mock-field { margin-top: 16px; }
.mock-field label { display: block; margin-bottom: 8px; color: #45484e; font-size: 13px; font-weight: 650; }
.mock-textarea { min-height: 132px; border: 1px solid var(--stroke); border-radius: 8px; padding: 14px; color: #45484e; font-size: 14px; line-height: 1.55; }

.band { background: var(--page); }
.section { padding: 84px 0; }
.section.compact { padding: 60px 0; }
.section h1, .section h2 { max-width: 800px; margin: 0; font-size: clamp(34px, 4vw, 50px); line-height: 1.08; }
.section .product-frame .mock-list h2 { margin: 18px 0 8px; font-size: 18px; line-height: 1.2; }
.section .product-frame .mock-editor h2 { margin: 0; font-size: 18px; line-height: 1.2; }
.section-intro { max-width: 720px; margin: 18px 0 0; color: var(--muted); font-size: 18px; line-height: 1.6; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px; margin-top: 48px; }
.feature { min-width: 0; }
.feature-index { color: var(--accent); font-size: 13px; font-weight: 780; }
.feature h3 { margin: 12px 0 8px; font-size: 21px; }
.feature p, .content p, .content li { color: var(--muted); line-height: 1.65; }
.feature-visual { min-height: 190px; margin-top: 22px; border: 1px solid var(--stroke); border-radius: 8px; padding: 16px; background: var(--surface); }
.tag { display: inline-block; margin: 4px 5px 4px 0; border: 1px solid var(--stroke); border-radius: 6px; padding: 6px 9px; font-size: 12px; }
.mini-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; border-bottom: 1px solid var(--stroke); padding: 12px 0; font-size: 13px; }
.mini-row:last-child { border-bottom: 0; }
.language-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.language-columns div { min-height: 125px; border: 1px solid var(--stroke); border-radius: 8px; padding: 12px; font-size: 13px; line-height: 1.45; }

.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 42px; border-top: 1px solid var(--stroke); border-bottom: 1px solid var(--stroke); }
.trust-grid article { padding: 24px 24px 24px 0; }
.trust-grid article + article { border-left: 1px solid var(--stroke); padding-left: 24px; }
.trust-grid h3 { margin: 0 0 8px; font-size: 16px; }
.trust-grid p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.55; }

.pricing-table { width: 100%; margin-top: 42px; border-collapse: collapse; border: 1px solid var(--stroke); background: var(--surface); }
.pricing-table th, .pricing-table td { border: 1px solid var(--stroke); padding: 16px; text-align: center; }
.pricing-table th:first-child, .pricing-table td:first-child { text-align: left; }
.pricing-table th { font-size: 16px; }
.pricing-table th span { display: block; margin-top: 5px; font-size: 14px; font-weight: 520; }
.pricing-table .recommended { border-left: 2px solid var(--accent); border-right: 2px solid var(--accent); }

.faq-list { display: grid; margin-top: 38px; border-top: 1px solid var(--stroke); }
details { border-bottom: 1px solid var(--stroke); }
summary { cursor: pointer; list-style: none; padding: 22px 4px; font-size: 17px; font-weight: 700; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; float: right; color: var(--accent); font-size: 22px; font-weight: 400; }
details[open] summary::after { content: "−"; }
details p { max-width: 800px; margin: -4px 0 22px; color: var(--muted); line-height: 1.65; }

.content { max-width: 840px; }
.content h2 { margin-top: 44px; font-size: 26px; }
.content ul { padding-left: 20px; }
.cta-strip { display: flex; align-items: center; justify-content: space-between; gap: 24px; border-top: 1px solid var(--stroke); padding-top: 34px; }
.cta-strip h2 { font-size: 30px; }

.site-footer { border-top: 1px solid var(--stroke); background: var(--surface); }
.footer-inner { display: flex; align-items: flex-start; justify-content: space-between; gap: 32px; padding: 34px 0 42px; }
.footer-copy { max-width: 520px; color: var(--muted); font-size: 13px; line-height: 1.6; }
.footer-copy p { margin: 10px 0 0; }
.footer-links { display: flex; flex-wrap: wrap; gap: 18px; }
.footer-links a { color: var(--muted); font-size: 13px; font-weight: 650; text-decoration: none; }

@media (max-width: 900px) {
  .nav-links { display: none; }
  .hero { padding-top: 54px; }
  .product-frame { grid-template-columns: 74px minmax(240px, 0.8fr) minmax(360px, 1.2fr); overflow-x: auto; }
  .mock-sidebar { padding: 14px 10px; }
  .mock-brand span, .mock-nav { font-size: 0; }
  .mock-nav { min-height: 42px; }
  .feature-grid { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: 1fr 1fr; }
  .trust-grid article:nth-child(3) { border-left: 0; }
  .trust-grid article:nth-child(n + 3) { border-top: 1px solid var(--stroke); }
  .pricing-scroll { overflow-x: auto; }
  .pricing-table { min-width: 760px; }
}

@media (max-width: 600px) {
  .nav, .section, .footer-inner { width: min(100% - 28px, 1180px); }
  .nav { min-height: 62px; }
  .nav-action { padding-inline: 13px; }
  .hero { padding: 42px 0; }
  .hero h1 { font-size: 42px; }
  .hero-copy { font-size: 17px; }
  .hero-actions .button { width: 100%; }
  .product-frame { grid-template-columns: 58px 250px 390px; min-height: 430px; margin-top: 32px; }
  .section { padding: 60px 0; }
  .trust-grid { grid-template-columns: 1fr; }
  .trust-grid article, .trust-grid article + article { border-left: 0; border-top: 1px solid var(--stroke); padding: 20px 0; }
  .trust-grid article:first-child { border-top: 0; }
  .footer-inner, .cta-strip { align-items: stretch; flex-direction: column; }
}
