:root {
  --font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --bg: #f7f2ea;
  --bg-accent: #fff6e5;
  --surface: #ffffff;
  --surface-alt: #f1ebe2;
  --text: #1f1a16;
  --muted: #5a5249;
  --accent: #0b6a63;
  --accent-strong: #074f49;
  --highlight: #c4801a;
  --border: #d9d0c5;
  --shadow: 0 12px 24px rgba(17, 12, 7, 0.08);
  --radius: 12px;
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-7: 32px;
  --space-8: 40px;
  --space-9: 56px;
  --max-width: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  font-size: 16px;
}

body {
  margin: 0;
  font-family: var(--font-family);
  color: var(--text);
  background: radial-gradient(circle at top, var(--bg-accent) 0, var(--bg) 45%, #efe9df 100%);
  line-height: 1.6;
}

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

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover,
a:focus {
  text-decoration: underline;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.skip-link:focus {
  position: static;
  width: auto;
  height: auto;
  margin: var(--space-4);
  padding: var(--space-2) var(--space-4);
  background: var(--surface);
  border: 2px solid var(--accent);
  border-radius: var(--radius);
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-6);
}

.site-header {
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-6);
  padding: var(--space-4) 0;
  flex-wrap: wrap;
}

.logo {
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: 0.3px;
  color: var(--text);
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
}

.nav a {
  color: var(--text);
  font-weight: 600;
}

main {
  padding: var(--space-8) 0 var(--space-9);
}

.hero {
  display: grid;
  gap: var(--space-6);
  padding: var(--space-8) 0 var(--space-7);
}

.hero h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin: 0;
}

.hero p {
  font-size: 1.1rem;
  color: var(--muted);
}

.hero-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: var(--space-6);
  box-shadow: var(--shadow);
}

.section {
  margin-top: var(--space-8);
}

.section h2 {
  margin-bottom: var(--space-3);
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: var(--space-5);
  box-shadow: var(--shadow);
}

.card h3 {
  margin-top: 0;
}

.tool-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: var(--space-5);
}

.badge {
  display: inline-block;
  background: var(--surface-alt);
  color: var(--accent-strong);
  padding: 2px 10px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
}

.input-group {
  display: grid;
  gap: var(--space-2);
}

label {
  font-weight: 600;
}

textarea,
input[type="text"],
select {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: var(--space-3);
  font-size: 1rem;
  font-family: var(--font-family);
  background: #fff;
}

textarea {
  min-height: 180px;
  resize: vertical;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}

.button,
a.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 10px 18px;
  font-size: 0.95rem;
  font-weight: 600;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
}

.button.secondary,
a.button.secondary {
  background: var(--surface-alt);
  color: var(--text);
  border: 1px solid var(--border);
}

.button:hover,
a.button:hover {
  text-decoration: none;
}

button {
  border: none;
  border-radius: 999px;
  padding: 10px 18px;
  font-size: 0.95rem;
  font-weight: 600;
  background: var(--accent);
  color: #fff;
  cursor: pointer;
}

button.secondary {
  background: var(--surface-alt);
  color: var(--text);
  border: 1px solid var(--border);
}

button:focus {
  outline: 3px solid rgba(11, 106, 99, 0.3);
  outline-offset: 2px;
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: var(--space-3);
  margin-top: var(--space-4);
}

.stat {
  background: var(--surface-alt);
  border-radius: var(--radius);
  padding: var(--space-3);
  text-align: center;
}

.stat .stat-value {
  font-size: 1.4rem;
  font-weight: 700;
}

.helper-text {
  color: var(--muted);
  font-size: 0.95rem;
}

.ad-slot {
  border: 2px dashed #c7b9a8;
  border-radius: var(--radius);
  padding: var(--space-4);
  background: #fff8e8;
  color: #6a5d4e;
  text-align: center;
}

.ad-label {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: var(--space-2);
  color: #7a6b5b;
}

.notice {
  background: #fff3d1;
  border-left: 4px solid var(--highlight);
  padding: var(--space-3) var(--space-4);
  border-radius: var(--radius);
}

.checklist {
  display: grid;
  gap: var(--space-3);
}

.checklist fieldset {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: var(--space-4);
}

.checklist legend {
  font-weight: 700;
  color: var(--accent-strong);
}

.footer {
  border-top: 1px solid var(--border);
  padding: var(--space-6) 0;
  background: rgba(255, 255, 255, 0.92);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  align-items: center;
  justify-content: space-between;
}

.footer-nav {
  display: flex;
  gap: var(--space-3);
  flex-wrap: wrap;
}

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

@media (max-width: 720px) {
  .container {
    padding: 0 var(--space-4);
  }

  .header-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .button-row {
    flex-direction: column;
    align-items: stretch;
  }
}
