:root {
  --bg: #E9EDE9;
  --brand: #8FB3A6;
  --title: #4A625A;
  --nav: #5C6E67;
  --text: #7C8B84;
  --note: #94A29B;
  --border: #E8EDEA;
  --border-strong: #D6E0DB;
  --accent: #D9A15A;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", "Helvetica Neue", Arial, sans-serif;
  font-weight: 300;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

h1, h2, h3 {
  color: var(--title);
  font-weight: 300;
  line-height: 1.5;
  letter-spacing: 0.2px;
  margin: 0;
}

p {
  margin: 0 0 1.1em;
}

.wrap {
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 24px;
}

.wrap-narrow {
  max-width: 680px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
.site-header {
  border-bottom: 0.5px solid var(--border);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 20px;
  padding-bottom: 20px;
  flex-wrap: wrap;
  gap: 16px;
}

.logo-full { height: 36px; width: auto; display: block; }
.logo-symbol { height: 32px; width: auto; display: block; }

.main-nav ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin: 0;
  padding: 0;
}

.main-nav a {
  font-size: 11.5px;
  font-weight: 300;
  color: var(--nav);
  letter-spacing: 0.2px;
  transition: color 0.15s ease;
}

.main-nav a:hover,
.main-nav a[aria-current="page"] {
  color: var(--title);
}

/* Hero */
.hero {
  text-align: center;
  padding: 80px 24px 64px;
  max-width: 680px;
  margin: 0 auto;
}

.hero h1 {
  font-size: 26px;
}

.hero .sub {
  margin-top: 20px;
  font-size: 13.5px;
  line-height: 1.7;
}

.hero .note {
  margin-top: 24px;
  font-size: 10px;
  font-weight: 300;
  color: var(--note);
  max-width: 420px;
  margin-left: auto;
  margin-right: auto;
}

/* Store badges */
.store-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 0.5px solid var(--border-strong);
  border-radius: 8px;
  padding: 9px 16px;
  font-size: 11.5px;
  color: var(--nav);
  transition: border-color 0.15s ease;
}

.store-badge:hover {
  border-color: var(--brand);
}

.store-badge small {
  display: block;
  font-size: 9px;
  color: var(--note);
  font-weight: 300;
}

/* Sections */
.section {
  border-top: 0.5px solid var(--border);
  padding: 64px 24px;
}

.section-center {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}

.section h2 {
  font-size: 18px;
}

.section .lead {
  margin-top: 16px;
  font-size: 13.5px;
  line-height: 1.7;
}

.link-arrow {
  display: inline-block;
  margin-top: 16px;
  font-size: 11.5px;
  color: var(--brand);
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* Feature grid */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}

.feature-card {
  border: 0.5px solid var(--border-strong);
  border-radius: 12px;
  padding: 20px;
}

.feature-card h3 {
  font-size: 11.5px;
  font-weight: 400;
  margin-top: 16px;
}

.feature-card p {
  font-size: 10px;
  color: var(--note);
  margin-top: 8px;
  line-height: 1.7;
}

/* Generic page */
.page {
  max-width: 680px;
  margin: 0 auto;
  padding: 64px 24px;
}

.page h1 {
  font-size: 26px;
}

.page .lead {
  margin-top: 20px;
  font-size: 13.5px;
  line-height: 1.7;
}

.prose {
  font-size: 13.5px;
  font-weight: 300;
  line-height: 1.8;
  color: var(--text);
}

.prose p {
  margin-bottom: 1.1em;
}

.updated-note {
  margin-top: -8px;
  margin-bottom: 32px;
  font-size: 10px;
  color: var(--note);
}

.block-title {
  font-size: 15px;
  font-weight: 400;
  color: var(--title);
}

.bullet-list {
  list-style: none;
  margin: 16px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.bullet-list li {
  display: flex;
  gap: 12px;
  font-size: 13.5px;
  font-weight: 300;
  line-height: 1.7;
  color: var(--text);
}

.bullet-list li::before {
  content: "";
  margin-top: 9px;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--brand);
  flex-shrink: 0;
}

.callout {
  margin-top: 48px;
  border: 0.5px solid var(--border-strong);
  border-radius: 12px;
  padding: 28px;
  text-align: center;
}

.btn {
  display: inline-block;
  margin-top: 20px;
  border: 0.5px solid var(--border-strong);
  border-radius: 8px;
  padding: 10px 24px;
  font-size: 11.5px;
  font-weight: 300;
  color: var(--nav);
  transition: border-color 0.15s ease;
}

.btn:hover {
  border-color: var(--brand);
}

.contact-list {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-card {
  display: block;
  border: 0.5px solid var(--border-strong);
  border-radius: 12px;
  padding: 20px;
  transition: border-color 0.15s ease;
}

.contact-card:hover {
  border-color: var(--brand);
}

.contact-card h2 {
  font-size: 11.5px;
  font-weight: 400;
}

.contact-card .desc {
  margin-top: 4px;
  font-size: 10px;
  color: var(--note);
}

.contact-card .email {
  margin-top: 8px;
  font-size: 11.5px;
  color: var(--brand);
}

/* Footer */
.site-footer {
  border-top: 0.5px solid var(--border);
}

.site-footer .wrap {
  padding-top: 40px;
  padding-bottom: 40px;
}

.emergency-note {
  border: 0.5px solid var(--border-strong);
  border-radius: 12px;
  padding: 16px 20px;
  font-size: 10px;
  color: var(--note);
}

.emergency-note strong {
  font-weight: 400;
  color: var(--nav);
}

.footer-row {
  margin-top: 32px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-brand span {
  font-size: 11.5px;
  font-weight: 300;
  color: var(--note);
}

.footer-nav ul {
  list-style: none;
  margin: 32px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.footer-nav a {
  font-size: 11.5px;
  font-weight: 300;
  color: var(--nav);
}

.footer-nav a:hover {
  color: var(--title);
}

/* Admin */
.admin-body {
  background: var(--bg);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.admin-card {
  width: 100%;
  max-width: 360px;
  border: 0.5px solid var(--border-strong);
  border-radius: 12px;
  padding: 32px;
  background: #fff;
}

.admin-card h1 {
  font-size: 18px;
  text-align: center;
}

.admin-field {
  margin-top: 20px;
}

.admin-field label {
  display: block;
  font-size: 10px;
  color: var(--nav);
  margin-bottom: 6px;
}

.admin-field input,
.admin-field textarea {
  width: 100%;
  border: 0.5px solid var(--border-strong);
  border-radius: 8px;
  padding: 10px 12px;
  font-size: 13px;
  font-family: inherit;
  color: var(--title);
  background: #fff;
}

.admin-field textarea {
  min-height: 220px;
  line-height: 1.6;
  resize: vertical;
}

.admin-submit {
  width: 100%;
  margin-top: 24px;
  border: none;
  border-radius: 8px;
  padding: 11px;
  background: var(--brand);
  color: #fff;
  font-size: 12px;
  font-weight: 400;
  cursor: pointer;
  transition: opacity 0.15s ease;
}

.admin-submit:hover {
  opacity: 0.9;
}

.admin-error {
  margin-top: 16px;
  font-size: 11px;
  color: #b5533f;
  text-align: center;
}

.admin-success {
  margin-top: 16px;
  font-size: 11px;
  color: var(--brand);
  text-align: center;
}

.admin-shell {
  max-width: 780px;
  margin: 0 auto;
  padding: 48px 24px 80px;
}

.admin-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 32px;
}

.admin-topbar h1 {
  font-size: 18px;
}

.admin-panel {
  border: 0.5px solid var(--border-strong);
  border-radius: 12px;
  padding: 28px;
  margin-bottom: 24px;
  background: #fff;
}

.admin-panel h2 {
  font-size: 14px;
  font-weight: 400;
}

.logout-link {
  font-size: 11px;
  color: var(--nav);
  border: 0.5px solid var(--border-strong);
  border-radius: 8px;
  padding: 8px 14px;
}

.logout-link:hover {
  border-color: var(--brand);
}
