:root {
  color-scheme: light;
  --ink: #18211d;
  --muted: #66736c;
  --accent: #3f6f5f;
  --line: #dfe6e1;
  --paper: #fafbf8;
}

body {
  background: var(--paper);
  color: var(--ink);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  margin: 0;
  min-height: 100vh;
}

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

.site-shell {
  margin: 0 auto;
  max-width: 1080px;
  padding: 0 1.5rem;
}

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

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

.brand {
  color: var(--ink);
  font-size: 1.15rem;
  font-weight: 750;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.site-header nav {
  display: flex;
  gap: 1.25rem;
}

.site-header nav a {
  color: var(--muted);
  font-size: 0.92rem;
  text-decoration: none;
}

main.site-shell {
  padding-bottom: 5rem;
  padding-top: 3rem;
}

.footer {
  align-items: center;
  border-top: 1px solid var(--line);
  color: var(--muted);
  display: flex;
  font-size: 0.85rem;
  justify-content: space-between;
  padding-bottom: 2rem;
  padding-top: 2rem;
}

.footer button {
  background: none;
  color: var(--muted);
  font-size: inherit;
  padding: 0;
  text-decoration: underline;
}

.hero {
  align-items: center;
  display: grid;
  gap: 3rem;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  padding: 3rem 0 5rem;
}

.hero h1,
.page-heading h1 {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  letter-spacing: -0.045em;
  line-height: 1.05;
  margin: 0 0 1.25rem;
}

.hero p,
.page-heading p {
  color: var(--muted);
  font-size: 1.1rem;
  line-height: 1.65;
  max-width: 36rem;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

.two-column {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.form-card {
  margin: 0 auto;
  max-width: 520px;
  padding: 2rem;
}

.field {
  display: grid;
  gap: 0.45rem;
  margin-bottom: 1.15rem;
}

.field label {
  font-size: 0.9rem;
}

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: 0 18px 50px rgba(24, 33, 29, 0.06);
}

.soft {
  background: #f1f5f1;
}

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

label,
legend {
  font-weight: 600;
}

input[type="text"],
input[type="email"],
input[type="password"],
input[type="number"],
select,
textarea {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  padding: 0.7rem 0.85rem;
  width: 100%;
}

input[type="checkbox"],
input[type="radio"] {
  accent-color: var(--accent);
}

button,
.button {
  background: var(--accent);
  border: 0;
  border-radius: 999px;
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  font-weight: 650;
  padding: 0.72rem 1.3rem;
  text-decoration: none;
}

button.secondary,
.button.secondary {
  background: #edf2ee;
  color: var(--ink);
}

.pill {
  background: #e6efea;
  border-radius: 999px;
  color: #315a4c;
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 650;
  padding: 0.25rem 0.7rem;
}

.error {
  background: #fff1f0;
  border: 1px solid #fecaca;
  border-radius: 12px;
  color: #9f1239;
  padding: 0.85rem 1rem;
}

.notice {
  background: #ecf7f0;
  border: 1px solid #bfe3cd;
  border-radius: 12px;
  color: #245c3b;
  padding: 0.85rem 1rem;
}

.step-card {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.25rem;
}

.step-card:focus-within {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(63, 111, 95, 0.12);
}

.photo-grid {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
}

.photo-tile {
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 14px;
  display: flex;
  gap: 0.5rem;
  padding: 0.6rem;
}

#cookie-consent-banner {
  background: rgba(24, 33, 29, 0.94);
  border-radius: 18px;
  bottom: 1rem;
  color: #fff;
  left: 1rem;
  max-width: 520px;
  padding: 1rem 1.15rem;
  position: fixed;
  right: 1rem;
  z-index: 50;
}

#cookie-consent-banner button {
  background: #fff;
  color: var(--ink);
  padding: 0.5rem 0.9rem;
}

#cookie-consent-banner button + button {
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
  margin-left: 0.5rem;
}
