:root {
  --navy: #0B1F3A;
  --navy-2: #14365f;
  --saffron: #E67E22;
  --green: #0F8A5F;
  --off-white: #FAF9F6;
  --white: #FFFFFF;
  --slate: #475569;
  --muted: #64748B;
  --line: #E2E8F0;
  --line-strong: #CBD5E1;
  --surface: #F8FAFC;
  --warning: #B45309;
  --danger: #B42318;
  --shadow: 0 16px 40px rgba(11, 31, 58, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--off-white);
  color: #132033;
  font-family: Inter, "Noto Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(250, 249, 246, 0.98)),
    repeating-linear-gradient(90deg, rgba(11, 31, 58, 0.035) 0 1px, transparent 1px 96px);
}

a {
  color: inherit;
}

button,
input,
select {
  font: inherit;
}

button {
  color: inherit;
}

.svg-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.icon {
  width: 1.1rem;
  height: 1.1rem;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.icon-lg {
  width: 1.65rem;
  height: 1.65rem;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 1000;
  background: var(--navy);
  color: var(--white);
  padding: 0.7rem 1rem;
  border-radius: 6px;
}

.skip-link:focus {
  top: 1rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(226, 232, 240, 0.95);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px);
}

.header-inner,
main,
.site-footer {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.header-inner {
  min-height: 72px;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--navy);
  font-family: Manrope, "Plus Jakarta Sans", Inter, sans-serif;
  font-size: 1.18rem;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}

.brand span span {
  color: var(--saffron);
}

.flag-mark {
  width: 26px;
  display: grid;
  gap: 3px;
}

.flag-mark span {
  display: block;
  height: 4px;
  border-radius: 999px;
  background: var(--saffron);
}

.flag-mark span:nth-child(2) {
  background: var(--line);
}

.flag-mark span:nth-child(3) {
  background: var(--green);
}

.main-nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 1.1rem;
}

.main-nav a,
.site-footer nav a {
  color: var(--slate);
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: none;
}

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

.language-control {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  padding: 0.4rem 0.55rem;
  color: var(--navy);
}

.language-control select {
  min-width: 98px;
  border: 0;
  background: transparent;
  color: var(--navy);
  font-weight: 700;
  outline: 0;
}

.nav-toggle {
  display: none;
  margin-left: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  padding: 0.55rem;
}

.hero-section {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.65fr);
  gap: 2rem;
  align-items: center;
  padding: 2.25rem 0 0.85rem;
}

.eyebrow,
.panel-kicker {
  margin: 0 0 0.55rem;
  color: var(--saffron);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--navy);
  font-family: Manrope, "Plus Jakarta Sans", Inter, sans-serif;
  line-height: 1.12;
}

h1 {
  max-width: 760px;
  font-size: 3rem;
  font-weight: 850;
}

h2 {
  font-size: 2rem;
  font-weight: 820;
}

h3 {
  font-size: 1.05rem;
  font-weight: 800;
}

.hero-copy {
  max-width: 760px;
  margin: 1rem 0 0;
  color: var(--slate);
  font-size: 1.08rem;
}

.hero-actions,
.action-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.btn {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  border-radius: 8px;
  border: 1px solid transparent;
  padding: 0.72rem 1rem;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.16s ease, border-color 0.16s ease, background 0.16s ease;
}

.btn:hover,
.tool-card:hover,
.preset-item:hover,
.control-button:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--navy);
  color: var(--white);
  box-shadow: 0 10px 24px rgba(11, 31, 58, 0.18);
}

.btn-secondary {
  background: var(--white);
  color: var(--navy);
  border-color: var(--line-strong);
}

.btn:disabled {
  opacity: 0.62;
  cursor: not-allowed;
  transform: none;
}

.privacy-ribbon {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.35rem;
}

.privacy-ribbon span,
.local-badge,
.status-pill,
.pill-list button,
.pill-list span {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  border: 1px solid rgba(15, 138, 95, 0.22);
  border-radius: 999px;
  background: rgba(15, 138, 95, 0.08);
  color: #0A6E4B;
  padding: 0.45rem 0.7rem;
  font-size: 0.84rem;
  font-weight: 800;
}

.hero-panel,
.step-card,
.tool-card,
.trust-grid article,
.faq-item,
.legal-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow);
}

.hero-panel {
  padding: 1.25rem;
}

.panel-header {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--line);
}

.panel-header.small {
  padding-bottom: 0.8rem;
}

.panel-header h2 {
  font-size: 1.35rem;
}

.panel-header h3 {
  font-size: 1rem;
}

.check-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
  display: grid;
  gap: 0.85rem;
}

.check-list li {
  display: flex;
  gap: 0.6rem;
  color: var(--slate);
}

.check-list .icon {
  color: var(--green);
  margin-top: 0.22rem;
}

.ad-slot {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 92px;
  border: 1px dashed #B6C2D1;
  border-radius: 8px;
  background: #F1F5F9;
  color: #64748B;
  font-size: 0.83rem;
  font-weight: 800;
  text-align: center;
}

.ad-slot-wide {
  margin: 1.25rem 0;
}

.ad-slot-top {
  margin: 0.75rem 0 1.75rem;
}

.ad-slot-bottom {
  margin: 1.5rem 0 2rem;
}

.ad-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 1rem;
  margin: 1.25rem 0;
}

.ad-slot-sidebar {
  min-height: 250px;
}

.section-block,
.studio-shell,
.legal-page {
  padding: 3rem 0;
}

.section-block.compact {
  padding-top: 2rem;
}

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

.section-heading p:not(.eyebrow) {
  margin: 0.8rem 0 0;
  color: var(--slate);
}

.tool-grid,
.catalog-grid,
.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.tool-grid-five {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.tool-card {
  min-height: 170px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 1rem;
  text-align: left;
  cursor: pointer;
}

.tool-card .icon,
.catalog-card .icon,
.trust-grid .icon {
  color: var(--saffron);
}

.tool-card strong,
.catalog-card strong {
  color: var(--navy);
  font-size: 1rem;
  line-height: 1.25;
}

.tool-card span,
.catalog-card p,
.trust-grid p,
.muted {
  color: var(--slate);
  font-size: 0.92rem;
}

.studio-shell {
  scroll-margin-top: 90px;
}

.studio-intro {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 1rem;
  margin-bottom: 1rem;
}

.step-card {
  overflow: hidden;
  margin-bottom: 1rem;
}

.step-header {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  padding: 1rem 1.1rem;
  border-bottom: 1px solid var(--line);
  background: var(--white);
}

.step-header p {
  margin: 0.25rem 0 0;
  color: var(--slate);
  font-size: 0.9rem;
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 999px;
  background: var(--navy);
  color: var(--white);
  font-weight: 900;
}

.preset-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
  padding: 1rem;
}

.preset-item {
  display: grid;
  gap: 0.3rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  padding: 0.95rem;
  text-align: left;
  cursor: pointer;
}

.preset-item strong {
  color: var(--navy);
}

.preset-item span {
  color: var(--slate);
  font-size: 0.85rem;
}

.preset-item em {
  width: fit-content;
  margin-top: 0.25rem;
  border-radius: 999px;
  background: #FFF7ED;
  color: #A44F0A;
  padding: 0.14rem 0.45rem;
  font-size: 0.74rem;
  font-style: normal;
  font-weight: 850;
}

.preset-item.active {
  border-color: rgba(230, 126, 34, 0.75);
  background: #FFFBF7;
  box-shadow: inset 0 0 0 1px rgba(230, 126, 34, 0.2);
}

.upload-box {
  display: grid;
  place-items: center;
  gap: 0.5rem;
  margin: 1rem;
  min-height: 230px;
  border: 2px dashed var(--line-strong);
  border-radius: 8px;
  background: #FBFCFE;
  color: var(--navy);
  text-align: center;
  cursor: pointer;
  position: relative;
}

.upload-box.dragover {
  border-color: var(--saffron);
  background: #FFF7ED;
}

.upload-box input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.upload-icon {
  width: 2.4rem;
  height: 2.4rem;
  color: var(--saffron);
}

.upload-box span {
  color: var(--slate);
  max-width: 520px;
}

.editor-layout {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr) 300px;
  gap: 1rem;
  padding: 1rem;
}

.editor-sidebar,
.validator-panel {
  display: grid;
  gap: 0.9rem;
  align-content: start;
}

.control-group,
.validator-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  padding: 0.85rem;
}

.control-group label {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--navy);
  font-size: 0.76rem;
  font-weight: 850;
}

.slider-wrap,
.input-row,
.two-col {
  display: grid;
  gap: 0.55rem;
}

.slider-wrap {
  grid-template-columns: auto 1fr;
  align-items: center;
}

input[type="range"] {
  width: 100%;
  accent-color: var(--saffron);
}

input[type="number"],
input[type="search"],
select {
  width: 100%;
  min-height: 38px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: var(--white);
  color: var(--navy);
  padding: 0.46rem 0.6rem;
  font-size: 0.9rem;
}

input:focus,
select:focus,
button:focus-visible,
a:focus-visible {
  outline: 3px solid rgba(230, 126, 34, 0.32);
  outline-offset: 2px;
}

.two-col {
  grid-template-columns: 1fr 1fr;
}

.control-button {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 38px;
  margin-top: 0.75rem;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: var(--surface);
  color: var(--navy);
  font-size: 0.86rem;
  font-weight: 850;
  cursor: pointer;
}

.microcopy {
  margin: 0.65rem 0 0;
  color: var(--muted);
  font-size: 0.8rem;
}

.editor-main {
  display: grid;
  align-content: center;
  justify-items: center;
  min-height: 480px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, #FFFFFF, #F8FAFC);
  padding: 1rem;
}

.preview-toolbar {
  width: min(100%, 420px);
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.8rem;
  color: var(--slate);
  font-size: 0.85rem;
}

.preview-toolbar strong {
  color: var(--navy);
}

.canvas-container {
  overflow: hidden;
  border: 3px solid var(--saffron);
  border-radius: 8px;
  background: var(--white);
  cursor: move;
  box-shadow: 0 18px 42px rgba(230, 126, 34, 0.18);
  touch-action: none;
}

.canvas-container canvas {
  display: block;
  max-width: 100%;
}

.validator-results {
  display: grid;
  gap: 0.5rem;
  margin-top: 0.8rem;
}

.validator-row,
.validator-note {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.55rem;
  align-items: start;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0.64rem;
  background: var(--white);
}

.validator-row strong,
.validator-note strong {
  display: block;
  color: var(--navy);
  font-size: 0.85rem;
}

.validator-row span,
.validator-note span {
  display: block;
  color: var(--slate);
  font-size: 0.78rem;
}

.validator-note {
  border-color: rgba(15, 138, 95, 0.24);
  background: rgba(15, 138, 95, 0.06);
}

.status-pass {
  color: var(--green);
}

.status-warning {
  color: var(--warning);
}

.status-fail {
  color: var(--danger);
}

.action-footer {
  justify-content: flex-end;
  border-top: 1px solid var(--line);
  padding: 1rem;
  margin-top: 0;
  background: var(--white);
}

.finder-bar {
  margin: 0 1rem 1rem;
}

.search-box {
  max-width: 620px;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 0.55rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  padding: 0.25rem 0.75rem;
}

.search-box input {
  border: 0;
  padding-left: 0;
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  margin: 0 1rem 1rem;
}

.data-table {
  width: 100%;
  min-width: 860px;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.86rem;
}

.data-table th {
  background: var(--navy);
  color: var(--white);
  padding: 0.85rem;
  font-weight: 850;
}

.data-table td {
  padding: 0.85rem;
  border-bottom: 1px solid var(--line);
  color: #243044;
  vertical-align: top;
}

.data-table tr:last-child td {
  border-bottom: 0;
}

.catalog-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  padding: 1rem;
}

.catalog-card header {
  display: flex;
  gap: 0.7rem;
  align-items: center;
}

.catalog-card p {
  margin: 0.7rem 0 0;
}

.catalog-card .status-pill {
  margin-top: 0.85rem;
}

.status-live {
  border-color: rgba(15, 138, 95, 0.24);
  background: rgba(15, 138, 95, 0.08);
  color: #0A6E4B;
}

.status-planned {
  border-color: rgba(230, 126, 34, 0.28);
  background: #FFF7ED;
  color: #A44F0A;
}

.requirements-panel {
  scroll-margin-top: 90px;
  margin: 1.25rem 0;
}

.requirements-panel details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.requirements-panel summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem;
  cursor: pointer;
  list-style: none;
}

.requirements-panel summary::-webkit-details-marker {
  display: none;
}

.requirements-panel summary strong {
  display: block;
  color: var(--navy);
  font-size: 1.02rem;
}

.requirements-panel summary em {
  display: block;
  margin-top: 0.25rem;
  color: var(--slate);
  font-size: 0.86rem;
  font-style: normal;
}

.compact-section {
  padding-top: 1.4rem;
  padding-bottom: 1.4rem;
}

.pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.pill-list button {
  border-color: var(--line);
  background: var(--white);
  color: var(--navy);
  cursor: pointer;
}

.trust-grid article {
  padding: 1rem;
}

.trust-grid h3 {
  margin-top: 0.85rem;
}

.trust-grid p {
  margin: 0.55rem 0 0;
}

.faq-list {
  display: grid;
  gap: 0.75rem;
}

.faq-item {
  overflow: hidden;
}

.faq-question {
  width: 100%;
  border: 0;
  background: var(--white);
  color: var(--navy);
  padding: 1rem;
  text-align: left;
  font-weight: 850;
  cursor: pointer;
}

.faq-answer {
  display: none;
  padding: 0 1rem 1rem;
  color: var(--slate);
}

.faq-item.open .faq-answer {
  display: block;
}

.legal-page {
  max-width: 900px;
}

.legal-page h1 {
  font-size: 2.6rem;
}

.legal-panel {
  padding: 1.2rem;
  margin-top: 1rem;
}

.legal-panel h2 {
  font-size: 1.35rem;
  margin-top: 1.6rem;
}

.legal-panel h2:first-child {
  margin-top: 0;
}

.legal-panel p,
.legal-panel li {
  color: var(--slate);
}

.legal-panel ul {
  padding-left: 1.2rem;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  align-items: flex-start;
  border-top: 1px solid var(--line);
  padding: 2rem 0 2.5rem;
  color: var(--slate);
}

.footer-brand {
  margin-bottom: 0.5rem;
}

.site-footer p {
  max-width: 560px;
  margin: 0;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.9rem;
}

.is-hidden {
  display: none !important;
}

@media (max-width: 1100px) {
  .tool-grid-five,
  .preset-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .editor-layout {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 880px) {
  .header-inner {
    flex-wrap: wrap;
    padding: 0.7rem 0;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .main-nav {
    display: none;
    order: 4;
    width: 100%;
    margin-left: 0;
    padding: 0.75rem 0 0.2rem;
    border-top: 1px solid var(--line);
  }

  .main-nav.open {
    display: grid;
    gap: 0.75rem;
  }

  .language-control {
    margin-left: 0;
  }

  .hero-section {
    grid-template-columns: 1fr;
    gap: 1rem;
    padding-top: 1.25rem;
  }

  .hero-panel {
    display: none;
  }

  h1 {
    font-size: 2.05rem;
  }

  h2 {
    font-size: 1.65rem;
  }

  .tool-grid,
  .catalog-grid,
  .trust-grid,
  .ad-layout {
    grid-template-columns: 1fr;
  }

  .studio-intro,
  .site-footer {
    display: block;
  }

  .section-block.compact {
    padding-top: 1.25rem;
  }

  .local-badge,
  .site-footer nav {
    margin-top: 1rem;
  }

  .editor-sidebar {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .header-inner,
  main,
  .site-footer {
    width: min(100% - 22px, 1180px);
  }

  .hero-actions .btn,
  .action-footer .btn {
    width: 100%;
  }

  .hero-copy {
    font-size: 0.98rem;
  }

  .privacy-ribbon span {
    width: 100%;
    justify-content: center;
  }

  .preset-grid,
  .tool-grid-five,
  .two-col {
    grid-template-columns: 1fr;
  }

  .preview-toolbar {
    display: grid;
  }

  .editor-main {
    min-height: 360px;
  }
}

.adsense-banner{min-height:90px;border:1px solid #dbe2ea;background:#f8fafc;border-radius:8px;display:flex;align-items:center;justify-content:center;margin:24px 0;color:#64748b;font-size:13px}
body{font-size:14px}
h1{font-size:2.1rem!important}
h2{font-size:1.5rem!important}
