/* ── Inner pages (about / privacy / contact) ─────────────────────────── */

body.page-inner {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
}

body.page-inner .app {
  display: flex;
  flex-direction: column;
  min-height: 100svh;
}

/* Topbar reuses base styles; align brand left, back arrow right */
body.page-inner .topbar {
  background: rgba(232,221,208,.95);
  border-bottom: 1px solid rgba(28,20,8,.07);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  height: 52px;
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

body.page-inner .topbar .brand {
  text-decoration: none;
}

body.page-inner .icon-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  color: var(--ink-2);
  transition: background .15s, color .15s;
}
body.page-inner .icon-btn:hover {
  background: rgba(28,20,8,.07);
  color: var(--ink);
}

/* ── Scrollable content area ─────────────────────────────────────────── */

.inner-main {
  flex: 1 1 auto;
  display: flex;
  justify-content: center;
  padding: 40px 20px 60px;
}

.inner-content {
  width: 100%;
  max-width: 640px;
}

/* Typography */
.inner-content h1 {
  font-family: 'Fraunces', Georgia, serif;
  font-size: clamp(26px, 6vw, 36px);
  font-weight: 900;
  color: var(--ink);
  letter-spacing: -.025em;
  margin: 0 0 8px;
  line-height: 1.1;
}

.inner-content .lead {
  font-size: 16px;
  color: var(--ink-2);
  line-height: 1.6;
  margin: 0 0 32px;
}

.inner-date {
  font-size: 13px;
  color: var(--ink-3);
  margin: 0 0 28px;
}

.inner-content h2 {
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -.015em;
  margin: 36px 0 10px;
}

.inner-content h3 {
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  margin: 24px 0 8px;
}

.inner-content p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--ink-2);
  margin: 0 0 14px;
}

.inner-content ol,
.inner-content ul {
  font-size: 15px;
  line-height: 1.7;
  color: var(--ink-2);
  margin: 0 0 14px;
  padding-left: 22px;
}

.inner-content li { margin: 4px 0; }

.inner-content a {
  color: var(--amber);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}
.inner-content a:hover { text-decoration: none; }

/* ── Contact form ────────────────────────────────────────────────────── */

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin: 28px 0 0;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-field label {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -.01em;
}

.form-field label span {
  color: var(--amber);
}

.form-field input,
.form-field select,
.form-field textarea {
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 15px;
  color: var(--ink);
  background: var(--surface);
  border: 1.5px solid rgba(28,20,8,.15);
  border-radius: 12px;
  padding: 10px 14px;
  outline: none;
  transition: border-color .15s;
  -webkit-appearance: none;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: var(--ink-3);
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--amber);
}

.form-field textarea {
  resize: vertical;
  min-height: 110px;
}

.contact-form .btn-primary {
  align-self: flex-start;
  padding: 12px 28px;
}

.contact-alt {
  font-size: 14px;
  color: var(--ink-3);
  margin: 20px 0 0;
}

.contact-alt a {
  color: var(--amber);
}

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

/* ── Inner page footer ───────────────────────────────────────────────── */

.inner-footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 16px 20px calc(16px + env(safe-area-inset-bottom));
  border-top: 1px solid rgba(28,20,8,.07);
}

.inner-footer .footer-nav {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}

.inner-footer .footer-nav a {
  font-size: 12px;
  font-weight: 500;
  color: var(--ink-3);
  text-decoration: none;
  letter-spacing: -.005em;
  transition: color .15s;
}
.inner-footer .footer-nav a:hover { color: var(--ink-2); }

.inner-footer .footer-copy {
  font-size: 12px;
  font-weight: 500;
  color: var(--ink-3);
}
