@font-face {
  font-family: "WPTL Noto Sans JP Hero";
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url("/assets/fonts/wptl-hero-noto-sans-jp-900.woff2") format("woff2");
}

:root {
  --color-primary: #0b5ed7;
  --color-primary-dark: #084fc1;
  --color-primary-light: #eaf3ff;
  --color-text: #101828;
  --color-text-secondary: #475467;
  --color-text-muted: #667085;
  --color-background: #ffffff;
  --color-background-soft: #f7faff;
  --color-background-blue: #eef5ff;
  --color-border: #dfe7f2;
  --color-border-strong: #cbd7e6;
  --color-success: #15803d;
  --color-success-bg: #edf9f0;
  --color-code-bg: #121b2a;
  --color-code-text: #e5eefb;
  --shadow-sm: 0 2px 8px rgba(16, 24, 40, .06);
  --shadow-md: 0 12px 32px rgba(16, 24, 40, .09);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --container-width: 1200px;
}

[hidden] {
  display: none !important;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  overflow-x: hidden;
  background: var(--color-background);
  color: var(--color-text);
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body, button { font-family: inherit; }
img { display: block; max-width: 100%; }
a, button { -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible {
  outline: 3px solid rgba(11, 94, 215, .3);
  outline-offset: 3px;
}
h1, h2, h3, p, ul, pre { margin-top: 0; }
h1, h2, h3 { color: var(--color-text); letter-spacing: -.025em; }
.site-container { width: min(calc(100% - 64px), var(--container-width)); margin-inline: auto; }
.skip-link {
  position: fixed;
  z-index: 1000;
  left: 16px;
  top: -80px;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  background: var(--color-text);
  color: #fff;
  text-decoration: none;
}
.skip-link:focus { top: 12px; }

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  border-bottom: 1px solid var(--color-border);
  background: rgba(255, 255, 255, .96);
  backdrop-filter: blur(12px);
}
.site-header__inner {
  min-height: 72px;
  display: grid;
  grid-template-columns: 178px 1fr auto;
  align-items: center;
  gap: 28px;
}
.brand { display: block; width: 178px; }
.brand img { width: 100%; height: auto; }
.global-nav { display: flex; align-items: stretch; justify-content: flex-end; gap: 22px; }
.global-nav a {
  position: relative;
  min-height: 72px;
  display: inline-flex;
  align-items: center;
  color: #24324a;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}
.global-nav a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 3px;
  background: var(--color-primary);
  transform: scaleX(0);
  transition: transform .18s ease;
}
.global-nav a:hover::after, .global-nav a.is-current::after { transform: scaleX(1); }
.header-cta {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 18px;
  border-radius: 9px;
  background: var(--color-primary);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
  transition: background .18s ease, transform .18s ease;
}
.header-cta:hover { background: var(--color-primary-dark); transform: translateY(-1px); }
.menu-button { display: none; }

.hero {
  min-height: 590px;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(430px, .75fr);
  align-items: center;
  gap: clamp(34px, 3.4vw, 48px);
  padding-block: 72px 82px;
}
.hero__content { min-width: 0; max-width: 720px; }
.hero__eyebrow, .section-kicker {
  display: inline-flex;
  margin-bottom: 14px;
  padding: 5px 10px;
  border-radius: 6px;
  background: var(--color-primary-light);
  color: var(--color-primary);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .03em;
}
.hero h1 {
  margin-bottom: 22px;
  font-family: "WPTL Noto Sans JP Hero", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  font-size: clamp(38px, 2.9vw, 42px);
  font-weight: 900;
  line-height: 1.26;
  letter-spacing: -.045em;
}
.hero-title-line {
  display: block;
  white-space: nowrap;
  word-break: keep-all;
  overflow-wrap: normal;
}
.hero-title-line > span,
.hero-title-line > strong { white-space: nowrap; }
.hero h1 strong { color: var(--color-primary); font-weight: inherit; }
.hero__lead {
  max-width: 650px;
  margin-bottom: 26px;
  color: var(--color-text-secondary);
  font-size: clamp(16px, 1.3vw, 18px);
  font-weight: 500;
  line-height: 1.9;
}
.hero-features {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 0 0 30px;
  padding: 0;
  list-style: none;
}
.hero-features li {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  color: #25334a;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.45;
  overflow-wrap: anywhere;
}
.hero-features img { width: 38px; height: 38px; flex: 0 0 38px; object-fit: contain; }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 22px;
  border: 1.5px solid transparent;
  border-radius: 9px;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.3;
  text-decoration: none;
  transition: background .18s ease, border-color .18s ease, color .18s ease, transform .18s ease, box-shadow .18s ease;
}
.button:hover { transform: translateY(-1px); }
.button--primary { background: var(--color-primary); color: #fff; box-shadow: 0 7px 16px rgba(11, 94, 215, .16); }
.button--primary:hover { background: var(--color-primary-dark); }
.button--secondary { border-color: #8fb4e8; background: #fff; color: var(--color-primary); }
.button--secondary:hover { border-color: var(--color-primary); background: var(--color-primary-light); }
.button--light { min-width: 250px; background: #fff; color: var(--color-primary); }
.button--light:hover { background: #f4f8ff; }
.text-link { color: var(--color-primary); font-weight: 800; text-decoration: none; }
.text-link:hover { text-decoration: underline; }
.text-link--play { display: inline-flex; align-items: center; gap: 7px; padding: 10px 2px; font-size: 13px; }

.builder-preview {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: 16px;
  padding: 20px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: #f9fbfe;
  box-shadow: var(--shadow-md);
}
.preview-heading { margin-bottom: 12px; color: var(--color-text); font-size: 13px; font-weight: 800; }
.preview-settings { min-width: 0; }
.preview-field { margin-bottom: 10px; }
.preview-field span { display: block; margin-bottom: 3px; color: var(--color-text-muted); font-size: 10px; font-weight: 700; }
.preview-field strong {
  min-height: 34px;
  display: flex;
  align-items: center;
  padding: 7px 10px;
  overflow: hidden;
  border: 1px solid var(--color-border);
  border-radius: 5px;
  background: #fff;
  color: #23324c;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 11px;
  font-weight: 600;
  white-space: nowrap;
}
.preview-result { min-width: 0; }
.preview-result pre, .example-code pre {
  max-width: 100%;
  margin: 0;
  overflow-x: auto;
  border-radius: 7px;
  background: var(--color-code-bg);
  color: var(--color-code-text);
  scrollbar-width: thin;
}
.preview-result pre { min-height: 214px; padding: 14px; }
.preview-result code, .example-code code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  white-space: pre;
}
.preview-result code { color: #d9e8fa; font-size: 10px; line-height: 1.62; }
.preview-result .code-variable,
.example-code .code-variable { color: #7dd3fc; }
.preview-result .code-keyword,
.example-code .code-keyword { color: #c4b5fd; }
.preview-result .code-function,
.example-code .code-function { color: #f8d36b; }
.preview-result .code-key,
.example-code .code-key { color: #9ce7c2; }
.preview-result .code-string,
.example-code .code-string { color: #f7b78f; }
.preview-result .code-number,
.example-code .code-number { color: #8fd7ff; }
.preview-status {
  margin: 10px 0;
  padding: 7px 9px;
  border: 1px solid #c8ead2;
  border-radius: 5px;
  background: var(--color-success-bg);
  color: var(--color-success);
  font-size: 11px;
  font-weight: 800;
}
.preview-story { padding: 11px; border: 1px solid var(--color-border); border-radius: 6px; background: #fff; }
.preview-story strong { font-size: 12px; font-weight: 800; }
.preview-story p { margin: 5px 0 0; color: var(--color-text-secondary); font-size: 11px; line-height: 1.7; }

.preset-section { padding-block: 68px 74px; border-block: 1px solid #e9eff7; background: var(--color-background-soft); }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 28px; }
.section-heading--center { display: block; margin-bottom: 34px; text-align: center; }
.section-heading h2, .capabilities h2, .trust-section h2, .final-cta h2, .support-strip h2 {
  margin-bottom: 10px;
  font-size: clamp(28px, 3vw, 38px);
  font-weight: 800;
  line-height: 1.4;
}
.heading-line { display: block; white-space: nowrap; }
.section-heading p:not(.section-kicker) { margin: 0; color: var(--color-text-secondary); font-size: 15px; }
.preset-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.preset-card {
  min-width: 0;
  min-height: 212px;
  padding: 24px 18px;
  border: 1px solid var(--color-border);
  border-radius: 10px;
  background: #fff;
  color: inherit;
  text-align: center;
  text-decoration: none;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.preset-card:hover { transform: translateY(-3px); border-color: #a8c6ed; box-shadow: var(--shadow-sm); }
.preset-card img { width: 70px; height: 70px; margin: 0 auto 12px; object-fit: contain; }
.preset-card h3 { margin-bottom: 8px; font-size: 15px; font-weight: 800; line-height: 1.5; }
.preset-card p { margin: 0; color: var(--color-text-secondary); font-size: 12px; line-height: 1.75; }
.section-link { display: table; margin: 24px 0 0 auto; color: var(--color-primary); font-size: 13px; font-weight: 800; text-decoration: none; }
.section-link:hover { text-decoration: underline; }
.section-link--inline { margin: 0; }

.capabilities {
  display: grid;
  grid-template-columns: minmax(320px, .8fr) minmax(0, 1.2fr);
  gap: clamp(50px, 7vw, 100px);
  align-items: center;
  padding-block: 92px;
}
.check-list { display: grid; gap: 10px; margin: 24px 0 0; padding: 0; list-style: none; }
.check-list li { position: relative; padding-left: 27px; color: var(--color-text-secondary); font-size: 15px; font-weight: 550; line-height: 1.7; }
.check-list li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--color-primary); font-weight: 900; }
.example-panel {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(230px, .95fr);
  overflow: hidden;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: #fff;
  box-shadow: var(--shadow-sm);
}
.example-code { min-width: 0; padding: 18px; background: #f7f9fc; }
.example-code__head { display: flex; justify-content: space-between; margin-bottom: 10px; color: var(--color-text-secondary); font-size: 11px; font-weight: 800; }
.example-code pre { min-height: 340px; padding: 18px; }
.example-code code { color: #dceaf8; font-size: 11px; line-height: 1.7; }
.example-story { min-width: 0; display: flex; flex-direction: column; justify-content: center; padding: 26px; }
.example-story__label { margin-bottom: 8px; color: var(--color-text); font-size: 16px; font-weight: 800; }
.example-story > p:not(.example-story__label) { margin-bottom: 22px; color: var(--color-text-secondary); font-size: 14px; line-height: 1.85; }
.example-story .button { width: 100%; margin-top: 10px; }
.copy-button { cursor: pointer; }
.copy-feedback { min-height: 24px; display: block; margin-top: 7px; color: var(--color-success); font-size: 12px; font-weight: 700; text-align: center; }

.trust-section {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
  gap: 58px;
  align-items: center;
  margin-bottom: 90px;
  padding: 42px 48px;
  border: 1px solid #d8e8fb;
  border-radius: var(--radius-md);
  background: var(--color-background-blue);
}
.trust-lead { display: grid; grid-template-columns: 132px minmax(0, 1fr); gap: 20px; align-items: center; }
.trust-lead > .trust-icon { width: 132px; height: 132px; object-fit: contain; }
.trust-lead h2 { font-size: clamp(25px, 2.2vw, 31px); }
.trust-lead p:not(.section-kicker) { color: var(--color-text-secondary); font-size: 14px; line-height: 1.85; }
.trust-points { display: grid; gap: 22px; }
.trust-points article { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 12px; align-items: center; }
.trust-points img { width: 72px; height: 72px; object-fit: contain; }
.trust-points h3 { margin-bottom: 3px; font-size: 16px; font-weight: 800; }
.trust-points p { margin: 0; color: var(--color-text-secondary); font-size: 13px; line-height: 1.75; }

.updates { padding-bottom: 74px; }
.update-list { border-top: 1px solid var(--color-border); }
.update-list article { display: grid; grid-template-columns: 130px minmax(0, 1fr); gap: 28px; padding: 20px 4px; border-bottom: 1px solid var(--color-border); }
.update-list time { color: var(--color-primary); font-size: 13px; font-weight: 800; }
.update-list h3 { margin-bottom: 3px; font-size: 16px; font-weight: 800; }
.update-list p { margin: 0; color: var(--color-text-secondary); font-size: 13px; }

.final-cta {
  min-height: 134px;
  display: grid;
  grid-template-columns: 78px minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  margin-bottom: 64px;
  padding: 24px 38px;
  border-radius: var(--radius-md);
  background: var(--color-primary);
}
.final-cta__icon { width: 72px; height: 72px; color: #fff; filter: drop-shadow(0 4px 8px rgba(0, 0, 0, .14)); }
.final-cta h2 { margin-bottom: 2px; color: #fff; font-size: clamp(23px, 2.5vw, 32px); }
.final-cta p { margin: 0; color: #eaf2ff; font-size: 14px; }

.support-strip {
  display: grid;
  grid-template-columns: minmax(260px, .72fr) minmax(0, 1.28fr);
  gap: 36px;
  align-items: center;
  margin-bottom: 72px;
  padding: 26px 30px;
  border: 1px solid var(--color-border);
  border-radius: 10px;
  background: var(--color-background-soft);
}
.support-strip h2 { margin-bottom: 4px; font-size: 20px; }
.support-strip p:not(.pr-label) { margin: 0; color: var(--color-text-secondary); font-size: 12px; line-height: 1.75; }
.pr-label { display: inline-flex; margin: 0 0 7px; padding: 2px 6px; border: 1px solid var(--color-border-strong); border-radius: 4px; color: var(--color-text-muted); font-size: 10px; font-weight: 800; }
.support-links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; }
.support-links a { display: inline-flex; align-items: center; justify-content: center; gap: 7px; padding: 8px 11px; border: 1px solid var(--color-border-strong); border-radius: 6px; background: #fff; color: #344054; font-size: 11px; font-weight: 700; text-decoration: none; }
.support-links a img { display: block; width: 18px; height: 18px; object-fit: contain; }
.support-links a:hover { border-color: #8fb4e8; color: var(--color-primary); }
.affiliate-pixel { position: absolute; width: 1px; height: 1px; overflow: hidden; }

.site-footer { border-top: 1px solid var(--color-border); background: #f8fafc; }
.site-footer__grid { display: grid; grid-template-columns: 1.55fr repeat(4, 1fr); gap: 36px; padding-block: 40px 30px; }
.footer-brand img { width: 180px; height: auto; }
.footer-brand p { max-width: 270px; margin: 12px 0 0; color: var(--color-text-secondary); font-size: 12px; line-height: 1.8; }
.site-footer h2 { margin: 4px 0 12px; font-size: 13px; font-weight: 800; }
.site-footer a, .site-footer span { display: block; margin: 8px 0; color: var(--color-text-secondary); font-size: 12px; line-height: 1.6; text-decoration: none; }
.site-footer a:hover { color: var(--color-primary); text-decoration: underline; }
.footer-link-button {
  display: block;
  margin: 8px 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--color-text-secondary);
  font-size: 12px;
  line-height: 1.6;
  cursor: pointer;
}
.footer-link-button:hover { color: var(--color-primary); text-decoration: underline; }
.site-footer__copyright { margin: 0; padding: 16px; border-top: 1px solid var(--color-border); color: var(--color-text-muted); font-size: 11px; text-align: center; }
/* Shared first-visit privacy preferences */
.wptl-privacy-prompt {
  position: fixed;
  z-index: 10000;
  right: max(20px, env(safe-area-inset-right));
  bottom: max(20px, env(safe-area-inset-bottom));
  width: min(400px, calc(100vw - 40px));
  animation: wptl-privacy-prompt-enter .22s ease-out both;
}
.wptl-privacy-prompt__panel {
  box-sizing: border-box;
  width: 100%;
  max-height: calc(100vh - 40px);
  overflow: auto;
  padding: 20px;
  border: 1px solid #c7d8ee;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 16px 38px rgba(9, 28, 56, .2);
  color: #10213d;
}
.wptl-privacy-prompt__eyebrow {
  margin: 0 0 7px;
  color: #0866e5;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.wptl-privacy-prompt__panel h2 {
  margin: 0;
  color: #0f1f3d;
  font-size: 1.15rem;
  line-height: 1.35;
}
.wptl-privacy-prompt__panel > p:not(.wptl-privacy-prompt__eyebrow):not(.wptl-privacy-prompt__note) {
  margin: 12px 0 0;
  color: #475467;
  font-size: .9rem;
  line-height: 1.8;
}
.wptl-privacy-prompt__actions button:focus-visible,
.wptl-privacy-prompt__details:focus-visible {
  outline: 3px solid rgba(8, 102, 229, .28);
  outline-offset: 3px;
}
.wptl-privacy-prompt__note {
  margin: 13px 0 0;
  padding: 10px 12px;
  border: 1px solid #f1d99a;
  border-radius: 7px;
  background: #fffaf0;
  color: #72551d;
  font-size: .74rem;
  line-height: 1.65;
}
.wptl-privacy-prompt__actions {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  gap: 10px;
  margin-top: 20px;
}
.wptl-privacy-prompt__actions button {
  min-height: 46px;
  padding: 0 16px;
  border-radius: 7px;
  font: inherit;
  font-size: .82rem;
  font-weight: 800;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease;
}
.wptl-privacy-prompt__deny {
  border: 1px solid #a9bdd8;
  background: #fff;
  color: #365170;
}
.wptl-privacy-prompt__accept {
  border: 1px solid #0866e5;
  background: #0866e5;
  color: #fff;
}
.wptl-privacy-prompt__actions button:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(8, 54, 116, .14);
}
.wptl-privacy-prompt__details {
  display: inline-block;
  margin-top: 14px;
  color: #0866e5;
  font-size: .76rem;
  font-weight: 750;
  text-underline-offset: 3px;
}
@media (max-width: 560px) {
  .wptl-privacy-prompt {
    right: max(12px, env(safe-area-inset-right));
    bottom: max(12px, env(safe-area-inset-bottom));
    width: min(420px, calc(100vw - 24px));
  }
  .wptl-privacy-prompt__panel {
    max-height: calc(100vh - 24px);
    padding: 18px 16px;
    border-radius: 12px;
  }
  .wptl-privacy-prompt__actions {
    grid-template-columns: 1fr;
  }
  .wptl-privacy-prompt__accept {
    grid-row: 1;
  }
}
@keyframes wptl-privacy-prompt-enter {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
  .wptl-privacy-prompt *,
  .wptl-privacy-prompt *::after {
    transition-duration: .01ms !important;
  }
}


/* Shared policy pages */
.content-breadcrumb { padding-top: 22px; color: var(--color-text-muted); font-size: 12px; }
.content-breadcrumb ol { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; margin: 0; padding: 0; list-style: none; }
.content-breadcrumb li + li::before { content: "/"; margin-right: 7px; color: #98a2b3; }
.content-breadcrumb a { color: var(--color-primary); text-decoration: none; }
.content-breadcrumb a:hover { text-decoration: underline; }
.page-hero { max-width: 820px; padding-block: 70px 42px; }
.page-hero h1 { margin-bottom: 16px; font-size: clamp(36px, 4vw, 52px); line-height: 1.35; }
.page-hero p { color: var(--color-text-secondary); font-size: 17px; line-height: 1.9; }
.content-page { max-width: 860px; padding-bottom: 90px; }
.content-section { padding: 34px 0; border-top: 1px solid var(--color-border); }
.content-section h2 { margin-bottom: 14px; font-size: 27px; }
.content-section h3 { margin: 24px 0 8px; font-size: 18px; }
.content-section p, .content-section li { color: var(--color-text-secondary); line-height: 1.9; }
.content-section a { color: var(--color-primary); }
.content-section code { padding: 2px 5px; border-radius: 4px; background: var(--color-primary-light); color: #154a90; }
.content-note { padding: 18px 20px; border-left: 4px solid var(--color-primary); background: var(--color-background-soft); }
.privacy-link-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.privacy-link-grid a { display: grid; gap: 7px; padding: 20px; border: 1px solid var(--color-border); border-radius: var(--radius-sm); color: var(--color-text); text-decoration: none; }
.privacy-link-grid a:hover { border-color: var(--color-primary); }
.privacy-link-grid span { color: var(--color-text-secondary); line-height: 1.75; }
.content-page.privacy-settings-page { max-width: 1040px; }
.privacy-switch-list { display: grid; gap: 12px; margin: 20px 0; }
.privacy-switch-list > div { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 20px; align-items: center; padding: 18px 20px; border: 1px solid var(--color-border); border-radius: var(--radius-sm); }
.privacy-switch-list p { margin: 4px 0 0; }
.privacy-switch { min-width: 92px; min-height: 44px; display: inline-flex; gap: 8px; align-items: center; justify-content: center; border: 1px solid var(--color-border-strong); border-radius: 8px; background: #fff; color: var(--color-text-secondary); font: inherit; font-weight: 800; cursor: pointer; }
.privacy-switch > span { width: 30px; height: 18px; position: relative; border-radius: 999px; background: #98a2b3; }
.privacy-switch > span::after { content: ""; width: 12px; height: 12px; position: absolute; top: 3px; left: 3px; border-radius: 50%; background: #fff; transition: transform .18s ease; }
.privacy-switch[aria-checked="true"] { border-color: #91c5a4; color: var(--color-success); background: var(--color-success-bg); }
.privacy-switch[aria-checked="true"] > span { background: var(--color-success); }
.privacy-switch[aria-checked="true"] > span::after { transform: translateX(12px); }
.privacy-region-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.privacy-region-actions [hidden] { display: none !important; }
.privacy-live { min-height: 1.8em; color: var(--color-primary); font-weight: 700; }
.privacy-table-wrap { overflow-x: auto; margin: 18px 0; }
.privacy-table { width: 100%; min-width: 760px; border-collapse: collapse; font-size: 14px; }
.privacy-table th, .privacy-table td { padding: 14px; border: 1px solid var(--color-border); vertical-align: top; text-align: left; line-height: 1.75; }
.privacy-table thead th { background: var(--color-background-blue); color: var(--color-text); }
.privacy-table tbody th { width: 20%; color: var(--color-text); }
.error-page {
  min-height: 64vh;
  display: grid;
  place-content: center;
  justify-items: start;
  padding-block: 80px;
}
.error-page h1 { margin-bottom: 14px; font-size: clamp(36px, 5vw, 60px); }
.error-page > p:not(.section-kicker) { max-width: 680px; color: var(--color-text-secondary); font-size: 17px; }
.error-page__actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 22px; }
.changelog-list { display: grid; gap: 18px; }
.changelog-entry { padding: 22px 24px; border: 1px solid var(--color-border); border-radius: var(--radius-sm); }
.changelog-entry time { color: var(--color-primary); font-size: 13px; font-weight: 800; }
.changelog-entry h2 { margin: 5px 0 8px; font-size: 22px; }

@media (max-width: 1120px) {
  .site-header__inner { grid-template-columns: 164px 1fr auto; gap: 18px; }
  .brand { width: 164px; }
  .global-nav { gap: 15px; }
  .global-nav a { font-size: 12px; }
  .hero { grid-template-columns: minmax(0, 1fr) minmax(410px, .9fr); gap: 38px; }
  .hero h1 { font-size: 38px; }
  .hero-title-generator { display: block; }
  .hero-features { grid-template-columns: repeat(2, minmax(0, 1fr)); gap-inline: 18px; }
  .preset-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .preset-card:nth-child(4), .preset-card:nth-child(5) { min-height: 190px; }
  .trust-section { grid-template-columns: 1fr; gap: 34px; padding: 36px; }
  .site-footer__grid { grid-template-columns: 1.4fr repeat(2, 1fr); }
}

@media (max-width: 960px) {
  .site-container { width: min(calc(100% - 48px), var(--container-width)); }
  .site-header__inner { grid-template-columns: 166px 1fr auto; }
  .global-nav {
    position: absolute;
    left: 24px;
    right: 24px;
    top: 66px;
    display: none;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0;
    padding: 10px;
    border: 1px solid var(--color-border);
    border-radius: 10px;
    background: #fff;
    box-shadow: var(--shadow-md);
  }
  .global-nav.is-open { display: grid; }
  .global-nav a { min-height: 46px; justify-content: center; padding: 8px 10px; }
  .global-nav .global-nav__primary { margin: 4px; border-radius: 6px; background: var(--color-primary-light); color: var(--color-primary); font-weight: 800; }
  .global-nav a::after { display: none; }
  .menu-button { width: 44px; height: 44px; display: grid; place-content: center; gap: 5px; border: 1px solid var(--color-border-strong); border-radius: 8px; background: #fff; cursor: pointer; }
  .menu-button { justify-self: end; }
  .menu-button span { width: 20px; height: 2px; background: var(--color-text); transition: transform .18s ease, opacity .18s ease; }
  .menu-button[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-button[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu-button[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .hero { grid-template-columns: 1fr; padding-block: 60px 70px; }
  .hero__content { max-width: 760px; }
  .hero-features { grid-template-columns: repeat(4, minmax(0, 1fr)); gap-inline: 12px; }
  .builder-preview { max-width: 720px; }
  .capabilities { grid-template-columns: 1fr; gap: 42px; }
  .example-panel { max-width: 760px; }
  .trust-section { grid-template-columns: 1fr; gap: 34px; padding: 36px; }
  .support-strip { grid-template-columns: 1fr; gap: 18px; }
  .support-links { justify-content: flex-start; }
}

@media (max-width: 767px) {
  .site-container { width: min(calc(100% - 32px), var(--container-width)); }
  .site-header__inner { min-height: 64px; grid-template-columns: 154px minmax(0, 1fr); gap: 10px; }
  .brand { width: 154px; }
  .header-cta { display: none; }
  .global-nav { left: 16px; right: 16px; top: 60px; }
  .hero { min-height: 0; gap: 42px; padding-block: 48px 58px; }
  .hero h1 { font-size: clamp(31px, 8.5vw, 38px); line-height: 1.3; letter-spacing: -.04em; }
  .hero-title-line {
    white-space: normal;
    word-break: keep-all;
    overflow-wrap: normal;
  }
  .hero__lead { font-size: 16px; }
  .hero-features { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .hero-features li { align-items: flex-start; }
  .hero-features img { width: 34px; height: 34px; flex-basis: 34px; }
  .hero__actions { align-items: stretch; }
  .hero__actions .button { width: 100%; }
  .text-link--play { width: 100%; justify-content: center; }
  .builder-preview { grid-template-columns: 1fr; padding: 16px; }
  .preview-result pre { min-height: 0; }
  .preset-section { padding-block: 54px 60px; }
  .preset-grid { grid-template-columns: 1fr; }
  .preset-card { min-height: 0; display: grid; grid-template-columns: 62px minmax(0, 1fr); column-gap: 14px; padding: 18px; text-align: left; }
  .preset-card img { grid-row: 1 / 3; width: 62px; height: 62px; margin: 0; }
  .preset-card h3 { margin: 0; }
  .section-heading { display: block; }
  .section-heading h2, .capabilities h2 { font-size: 28px; }
  .section-link--inline { margin-top: 14px; }
  .capabilities { padding-block: 64px; }
  .example-panel { grid-template-columns: 1fr; }
  .example-code pre { min-height: 0; }
  .trust-section { margin-bottom: 64px; padding: 28px 22px; }
  .trust-lead { grid-template-columns: 102px minmax(0, 1fr); gap: 14px; }
  .trust-lead > .trust-icon { width: 102px; height: 102px; }
  .trust-points article { grid-template-columns: 60px minmax(0, 1fr); gap: 10px; }
  .trust-points img { width: 60px; height: 60px; }
  .trust-lead h2 { font-size: 25px; }
  .update-list article { grid-template-columns: 1fr; gap: 3px; }
  .final-cta { grid-template-columns: 58px minmax(0, 1fr); gap: 16px; padding: 24px; }
  .final-cta__icon { width: 58px; height: 58px; }
  .final-cta .button { grid-column: 1 / -1; width: 100%; }
  .support-strip { padding: 22px; }
  .support-links a { flex: 1 1 140px; text-align: center; }
  .site-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 20px; }
  .footer-brand { grid-column: 1 / -1; }
  .page-hero { padding-block: 50px 30px; }
  .privacy-link-grid { grid-template-columns: 1fr; }
  .privacy-switch-list > div { grid-template-columns: 1fr; }
  .privacy-switch { justify-self: start; }
}

@media (max-width: 420px) {
  .global-nav { grid-template-columns: 1fr; max-height: calc(100vh - 80px); overflow-y: auto; }
  .hero h1 { font-size: clamp(29px, 8.45vw, 33px); }
  .hero-features { grid-template-columns: 1fr 1fr; }
  .hero-features li { font-size: 11px; }
  .example-story { padding: 22px 18px; }
  .trust-lead { grid-template-columns: 1fr; }
  .trust-lead > .trust-icon { width: 92px; height: 92px; }
  .trust-points article { grid-template-columns: 52px minmax(0, 1fr); }
  .trust-points img { width: 52px; height: 52px; }
  .site-footer__grid { grid-template-columns: 1fr; }
  .footer-brand { grid-column: auto; }
}

@media (max-width: 359px) {
  .hero-title-line--first > span:last-child { display: block; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
