:root {
  --bg: #ffffff;
  --surface: #fff7ed;
  --surface-strong: #ffedd5;
  --text: #1f2937;
  --muted: #6b7280;
  --line: #fed7aa;
  --brand: #f97316;
  --brand-strong: #ea580c;
  --brand-soft: #ffedd5;
  --success: #15803d;
  --warning: #b45309;
  --danger: #b91c1c;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, Arial, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.55;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: var(--brand-strong);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

button,
input,
select,
textarea {
  font: inherit;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -80px;
  z-index: 20;
  padding: 10px 14px;
  border-radius: 8px;
  background: var(--brand-strong);
  color: #ffffff;
}

.skip-link:focus {
  top: 12px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
}

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

.header-inner {
  display: flex;
  min-height: 64px;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-weight: 800;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 8px;
  background: var(--brand-strong);
  color: #ffffff;
  font-size: 18px;
}

.nav-toggle {
  display: inline-flex;
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  color: var(--text);
}

.nav-toggle svg {
  width: 22px;
  height: 22px;
}

.site-nav {
  display: none;
  position: absolute;
  top: 64px;
  left: 0;
  width: 100%;
  padding: 10px 16px 16px;
  border-bottom: 1px solid var(--line);
  background: #ffffff;
}

.site-nav.is-open {
  display: grid;
  gap: 8px;
}

.site-nav a {
  display: block;
  min-height: 44px;
  padding: 10px 12px;
  border-radius: 8px;
  color: var(--text);
  font-weight: 650;
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a[aria-current="page"] {
  background: var(--surface);
  color: var(--brand-strong);
}

.hero {
  background: linear-gradient(180deg, var(--surface), #ffffff 84%);
}

.hero-grid {
  display: grid;
  gap: 26px;
  padding: 34px 0 30px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--brand-strong);
  font-size: 0.9rem;
  font-weight: 800;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--text);
  line-height: 1.15;
  overflow-wrap: anywhere;
}

h1 {
  max-width: 820px;
  font-size: clamp(2.1rem, 10vw, 4.6rem);
}

.page-hero h1 {
  font-size: clamp(1.85rem, 8vw, 3.8rem);
}

h2 {
  font-size: clamp(1.55rem, 7vw, 2.45rem);
}

h3 {
  font-size: 1.1rem;
}

p {
  margin: 0;
}

.lead {
  max-width: 720px;
  margin-top: 16px;
  color: #374151;
  font-size: 1.14rem;
}

.short-answer {
  margin-top: 18px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
}

.disclaimer {
  margin-top: 14px;
  padding: 12px 14px;
  border-left: 4px solid var(--brand);
  border-radius: 8px;
  background: #ffffff;
  color: #4b5563;
  font-size: 0.94rem;
}

.hero-actions,
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 16px;
  border: 1px solid var(--brand-strong);
  border-radius: 8px;
  background: #ffffff;
  color: var(--brand-strong);
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}

.button.primary {
  background: var(--brand-strong);
  color: #ffffff;
}

.button.secondary {
  background: #ffffff;
}

.button.ghost {
  border-color: var(--line);
  color: var(--text);
}

.hero-media {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
}

.hero-media img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.media-caption {
  padding: 10px 12px;
  color: var(--muted);
  font-size: 0.9rem;
}

.section {
  padding: 42px 0;
}

.section.compact {
  padding: 28px 0;
}

.section.surface {
  width: 100%;
  max-width: none;
  padding: 42px max(16px, calc((100% - 1120px) / 2));
  background: var(--surface);
}

.section-head {
  display: grid;
  gap: 12px;
  max-width: 820px;
  margin-bottom: 22px;
}

.grid {
  display: grid;
  gap: 14px;
}

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

.card,
.faq-card,
.check-card {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 10px 25px rgba(249, 115, 22, 0.07);
}

.card {
  padding: 18px;
}

.card h3,
.faq-card h3 {
  margin-bottom: 8px;
}

.card ul,
.content-list {
  margin: 12px 0 0;
  padding-left: 20px;
}

.card li + li,
.content-list li + li {
  margin-top: 7px;
}

.card p,
.card li,
.faq-card p,
.notice p,
.footer-disclaimer {
  overflow-wrap: anywhere;
}

.pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.pill {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 5px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: #7c2d12;
  font-size: 0.92rem;
  font-weight: 700;
}

.checklist {
  display: grid;
  gap: 14px;
}

.check-card {
  padding: 14px;
}

.check-card header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.check-card h3 {
  margin-top: 2px;
}

.status {
  display: inline-flex;
  min-width: 86px;
  justify-content: center;
  padding: 5px 8px;
  border-radius: 8px;
  background: var(--surface);
  color: var(--warning);
  font-size: 0.82rem;
  font-weight: 800;
}

.check-row {
  display: grid;
  gap: 10px;
  padding: 12px 0;
  border-top: 1px solid var(--line);
}

.check-row:first-of-type {
  border-top: 0;
}

.check-title {
  font-weight: 750;
}

.check-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.check-options label {
  display: flex;
  min-height: 44px;
  align-items: center;
  gap: 8px;
  padding: 9px 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  cursor: pointer;
}

.check-options input {
  width: 18px;
  height: 18px;
  accent-color: var(--brand-strong);
}

.remark {
  width: 100%;
  min-height: 70px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  resize: vertical;
}

.result-box,
.copy-output {
  width: 100%;
  min-height: 150px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  color: var(--text);
  white-space: pre-wrap;
}

.notice {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.form-grid {
  display: grid;
  gap: 12px;
}

.field {
  display: grid;
  gap: 6px;
}

.field span,
.field label {
  font-weight: 750;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
}

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

.faq-card {
  padding: 16px;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
  color: var(--muted);
  font-size: 0.92rem;
}

.breadcrumb a {
  color: var(--muted);
}

.page-hero {
  background: var(--surface);
}

.page-hero .section {
  padding-top: 32px;
  padding-bottom: 32px;
}

.meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: #111827;
  color: #f9fafb;
}

.footer-inner {
  display: grid;
  gap: 20px;
  padding: 30px 0;
}

.site-footer a {
  color: #fed7aa;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-disclaimer {
  color: #d1d5db;
  font-size: 0.94rem;
}

.toast {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 30;
  max-width: 320px;
  padding: 12px 14px;
  border-radius: 8px;
  background: #111827;
  color: #ffffff;
  box-shadow: 0 14px 30px rgba(17, 24, 39, 0.2);
}

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

@media (min-width: 760px) {
  .header-inner,
  .section,
  .footer-inner {
    width: min(1120px, calc(100% - 48px));
  }

  .nav-toggle {
    display: none;
  }

  .site-nav {
    position: static;
    display: flex;
    width: auto;
    gap: 2px;
    padding: 0;
    border: 0;
    background: transparent;
  }

  .site-nav a {
    min-height: 40px;
    padding: 8px 10px;
    font-size: 0.94rem;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(320px, 0.78fr);
    align-items: center;
    padding: 54px 0 42px;
  }

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

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

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

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

  .field.full {
    grid-column: 1 / -1;
  }
}

@media (min-width: 1080px) {
  .site-nav a {
    padding: 8px 12px;
  }
}
