:root {
  --bg: #ffffff;
  --ink: #111827;
  --muted: #4b5563;
  --line: #e5e7eb;
  --subtle: #f3f4f6;
  --accent: #2563eb;
  --accent-hover: #1d4ed8;
  --accent-ink: #ffffff;
  --warn-bg: #fff7ed;
  --warn-line: #fdba74;
  --error-bg: #fef2f2;
  --error-ink: #991b1b;
  --error-line: #fecaca;
  --focus: #2563eb;
  --radius: 10px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background: var(--bg);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-feature-settings: normal;
  font-variant-ligatures: none;
  letter-spacing: normal;
  word-spacing: normal;
  line-height: 1.55;
}

h1,
h2,
h3,
legend {
  letter-spacing: normal;
  word-spacing: normal;
  font-weight: 650;
  line-height: 1.2;
}

h1 {
  font-size: 1.7rem;
  margin: 0 0 0.85rem;
}

h2 {
  font-size: 1.35rem;
  text-transform: none;
  letter-spacing: normal;
  color: var(--ink);
  margin: 2.4rem 0 0.9rem;
}

p,
li {
  margin: 0 0 0.85rem;
}

a {
  color: var(--ink);
}

a:hover {
  text-decoration-thickness: 0.08em;
}

:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -3rem;
  background: var(--ink);
  color: var(--accent-ink);
  padding: 0.45rem 0.7rem;
  z-index: 2;
  text-decoration: none;
}

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

.bar,
.shell {
  width: min(72rem, calc(100% - 2rem));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 5;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}

.bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1rem;
  min-height: 3.75rem;
  flex-wrap: wrap;
}

.brand,
.nav-cta {
  text-decoration: none;
  white-space: nowrap;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-weight: 700;
  font-size: 0.98rem;
  color: var(--ink);
}

.logo {
  display: block;
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
}

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

.lang-form {
  margin: 0;
}

.lang-wrap {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.25rem 0.55rem 0.25rem 0.45rem;
  background: #eff6ff;
  color: #1d4ed8;
}

.lang-wrap select {
  border: 0;
  background: transparent;
  font: inherit;
  font-size: 0.88rem;
  color: var(--ink);
  max-width: 8.5rem;
}

.nav-sample {
  font-size: 0.88rem;
  font-weight: 650;
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
}

.nav-sample:hover {
  text-decoration: underline;
}

.nav-cta {
  font-size: 0.92rem;
  font-weight: 650;
  padding: 0.4rem 0.8rem;
  border: 0;
  border-radius: 999px;
  background: var(--accent);
  color: var(--accent-ink);
}

.nav-cta:hover {
  background: var(--accent-hover);
}

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

.icon {
  width: 1.2rem;
  height: 1.2rem;
  flex: 0 0 1.2rem;
}

.icon-globe {
  width: 1rem;
  height: 1rem;
}

.layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 2rem;
  padding: 1.75rem 0 3.5rem;
}

.hero {
  padding: 0.4rem 0 0.2rem;
}

.kicker {
  margin: 0 0 0.7rem;
  color: var(--muted);
  font-size: 0.88rem;
}

.lede {
  font-size: 1.08rem;
  color: #262626;
  max-width: 40rem;
}

.problems {
  display: grid;
  gap: 0.75rem;
  margin: 1rem 0 1.2rem;
}

.problem {
  margin: 0;
  padding: 1rem 1.1rem 0.95rem;
  border: 1px solid var(--line);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius);
  background: #f8fafc;
}

.problem h3 {
  margin: 0 0 0.4rem;
  font-size: 1.05rem;
  color: var(--ink);
}

.problem p {
  margin: 0;
  max-width: none;
}

.why-list {
  list-style: none;
  padding: 0;
  margin: 0 0 0.4rem;
  counter-reset: why;
}

.why-list li {
  counter-increment: why;
  position: relative;
  max-width: 40rem;
  margin: 0 0 0.65rem;
  padding: 0.9rem 1rem 0.9rem 3.15rem;
  border: 1px solid #fde68a;
  border-radius: var(--radius);
  background: #fffbeb;
}

.why-list li::before {
  content: counter(why);
  position: absolute;
  left: 0.8rem;
  top: 0.85rem;
  width: 1.55rem;
  height: 1.55rem;
  border-radius: 999px;
  background: #f59e0b;
  color: #111827;
  font-weight: 700;
  font-size: 0.82rem;
  display: grid;
  place-items: center;
}

.faq {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  margin: 0 0 1rem;
  max-width: 40rem;
}

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

.faq details:first-child {
  border-top: 0;
}

.faq summary {
  cursor: pointer;
  font-weight: 650;
  padding: 0.9rem 1rem;
}

.faq details p {
  margin: 0;
  padding: 0 1rem 1rem;
  max-width: none;
}

.content p,
.content li,
.page p,
.page li {
  max-width: 38rem;
}

.tiles {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem;
  padding: 0;
  margin: 0 0 0.4rem;
}

.tile {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin: 0;
  padding: 0.95rem;
  border: 1px solid transparent;
  border-radius: 12px;
}

.tile-home {
  background: #eff6ff;
  color: #1e3a8a;
}

.tile-product {
  background: #f5f3ff;
  color: #5b21b6;
}

.tile-search {
  background: #ecfdf5;
  color: #065f46;
}

.tile-cart {
  background: #fff7ed;
  color: #9a3412;
}

.tile-text {
  font-weight: 700;
  font-size: 0.95rem;
}

.tile-hint {
  font-size: 0.8rem;
  font-weight: 500;
  opacity: 0.8;
}

.report {
  list-style: none;
  padding: 0;
}

.report li {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  margin: 0 0 0.7rem;
}

.report-icon {
  display: inline-grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border-radius: 8px;
  flex: 0 0 2rem;
}

.report-pin { background: #dbeafe; color: #1d4ed8; }
.report-scan { background: #d1fae5; color: #047857; }
.report-list { background: #ede9fe; color: #6d28d9; }
.report-doc { background: #ffedd5; color: #c2410c; }

.report,
.page ol {
  padding-left: 1.15rem;
}

.report li,
.limits li {
  margin-bottom: 0.5rem;
}

.limits {
  list-style: none;
  padding: 0;
  margin: 0 0 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.limits li {
  margin: 0;
  padding: 0.8rem 1rem;
  border-top: 1px solid var(--line);
  max-width: none;
}

.limits li:first-child {
  border-top: 0;
}

.page {
  padding: 2.5rem 0 4rem;
}

.sample-page {
  max-width: 42rem;
}

.sample-link {
  font-weight: 650;
}

.finding {
  margin: 0 0 1rem;
  padding: 1rem 1.1rem 0.95rem;
  border: 1px solid var(--line);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius);
  background: #f8fafc;
}

.finding h3 {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
}

.finding p {
  max-width: none;
}

.finding-tag {
  margin: 0 0 0.35rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #9a3412;
}

.fix-list {
  padding-left: 1.2rem;
}

.draft-box {
  padding: 1rem 1.1rem;
  border: 1px dashed #c4b5fd;
  border-radius: var(--radius);
  background: #f5f3ff;
}

.draft-mark {
  font-weight: 700;
  color: #5b21b6;
}

.sample-actions {
  display: grid;
  gap: 0.75rem;
  margin-top: 2rem;
}

.sample-button {
  width: auto;
  max-width: 22rem;
  text-decoration: none;
}

.order-card {
  background: var(--subtle);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 1.25rem 1.15rem 1.3rem;
}

.order-card h2 {
  margin-top: 0;
  color: var(--ink);
  text-transform: none;
  letter-spacing: normal;
  font-size: 1.15rem;
}

.order-lead {
  color: var(--muted);
  margin-bottom: 1.1rem;
}

.banner {
  padding: 0.75rem 0.85rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin: 0 0 1rem;
}

.banner-warn {
  background: var(--warn-bg);
  border-color: var(--warn-line);
}

.banner-error {
  background: var(--error-bg);
  border-color: var(--error-line);
  color: var(--error-ink);
}

.banner ul {
  margin: 0.35rem 0 0;
}

.field,
fieldset {
  margin: 0 0 0.95rem;
  padding: 0;
  border: 0;
}

fieldset {
  border: 1px solid var(--line);
  background: var(--bg);
  padding: 0.8rem 0.9rem 0.95rem;
  border-radius: var(--radius);
}

legend {
  font-size: 0.9rem;
  padding: 0 0.2rem;
}

label,
legend {
  display: block;
  font-weight: 650;
  font-size: 0.9rem;
}

.field label {
  margin-bottom: 0.35rem;
}

input[type="email"],
input[type="url"] {
  width: 100%;
  font: inherit;
  padding: 0.65rem 0.7rem;
  border: 1px solid #d4d4d4;
  border-radius: var(--radius);
  background: #ffffff;
  color: var(--ink);
}

input[type="email"]:focus,
input[type="url"]:focus {
  border-color: var(--ink);
  outline: 2px solid #d4d4d4;
  outline-offset: 0;
}

.has-error input,
fieldset.has-error {
  border-color: var(--error-ink);
}

.hint,
.muted,
.field-error {
  font-size: 0.82rem;
  margin: 0.3rem 0 0;
  line-height: 1.4;
}

.hint,
.muted {
  color: var(--muted);
}

.field-error {
  color: var(--error-ink);
  font-weight: 650;
}

.choices {
  display: flex;
  gap: 1rem;
  margin-top: 0.5rem;
}

.choice {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 500;
  font-size: 0.95rem;
}

.order-pay {
  margin-top: 1.2rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}

.order-price {
  margin: 0 0 0.7rem;
}

.amount {
  font-size: 1.45rem;
  font-weight: 700;
}

.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  background: var(--accent);
  color: var(--accent-ink);
  text-decoration: none;
  border: 0;
  border-radius: var(--radius);
  padding: 0.8rem 1rem;
  font: inherit;
  font-weight: 650;
  cursor: pointer;
}

.button:hover {
  background: var(--accent-hover);
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 1.25rem 0 2rem;
  color: var(--muted);
  font-size: 0.85rem;
}

.footer-bar {
  display: block;
  min-height: 0;
}

.site-footer p {
  margin: 0 0 0.3rem;
  max-width: 40rem;
}

.summary {
  margin: 0 0 1.2rem;
}

.summary div {
  margin: 0 0 0.7rem;
}

.summary dt {
  font-weight: 650;
}

.summary dd {
  margin: 0.15rem 0 0;
  overflow-wrap: anywhere;
}

code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.9em;
  overflow-wrap: anywhere;
}

@media (min-width: 720px) {
  h1 {
    font-size: 2.35rem;
  }

  .shell,
  .bar {
    width: min(72rem, calc(100% - 3rem));
  }
}

@media (min-width: 960px) {
  .layout {
    grid-template-columns: minmax(0, 1fr) 23.5rem;
    gap: 3.5rem;
    align-items: start;
    padding: 2.5rem 0 4.5rem;
  }

  .order-panel {
    position: sticky;
    top: 5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
