/* idori — legal & contact pages (terms, privacy, contact) */
:root {
  --paper: #faf6f1;
  --sand: #f2ebe1;
  --ink: #1f1b16;
  --ink-soft: #3a332b;
  --muted: #7a6e63;
  --clay: #c08457;
  --clay-deep: #a86a42;
  --line: rgba(44, 33, 25, 0.10);
  --serif: "Fraunces", "Iowan Old Style", Georgia, "Times New Roman", serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: var(--sans);
  line-height: 1.7;
  color: var(--ink-soft);
  background: var(--paper);
  padding: 20px;
  padding-top: 88px;
  -webkit-font-smoothing: antialiased;
}

::selection { background: var(--clay); color: var(--paper); }

.header {
  padding: 1.1rem 2rem;
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(250, 246, 241, 0.82);
  backdrop-filter: blur(20px) saturate(1.5);
  -webkit-backdrop-filter: blur(20px) saturate(1.5);
  border-bottom: 1px solid var(--line);
}
.header-content { display: flex; justify-content: space-between; align-items: center; max-width: 820px; margin: 0 auto; }
.header .brand { color: var(--ink); text-decoration: none; display: flex; align-items: center; gap: 0.55rem; transition: color 0.2s; }
.header .brand .wordmark { font-family: var(--serif); font-size: 1.25rem; font-weight: 500; letter-spacing: -0.02em; }
.header .brand:hover { color: var(--clay-deep); }
.header-links { display: flex; gap: 1.6rem; }
.header-links a { color: var(--muted); text-decoration: none; font-size: 0.9rem; font-weight: 500; transition: color 0.2s; }
.header-links a:hover { color: var(--clay-deep); }
.nav-icon { width: 30px; height: 30px; border-radius: 8px; object-fit: contain; }

.container { max-width: 820px; margin: 0 auto; padding: 48px 20px 80px; }

h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(2.2rem, 6vw, 3rem); color: var(--ink); margin-bottom: 0.4em; letter-spacing: -0.02em; line-height: 1.05; }
h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(1.5rem, 3vw, 2rem); color: var(--ink); margin-top: 2em; margin-bottom: 0.7em; padding-bottom: 0.35em; border-bottom: 1px solid var(--line); letter-spacing: -0.01em; }
h3 { font-family: var(--serif); font-weight: 500; font-size: 1.25rem; color: var(--ink); margin-top: 1.6em; margin-bottom: 0.5em; }
p { margin-bottom: 1em; }

.meta { color: var(--muted); font-size: 0.9em; margin-bottom: 2em; }
.meta p { margin-bottom: 0.2em; }

.highlight { background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--clay); padding: 20px 24px; margin: 2em 0; border-radius: 12px; font-size: 1.05em; color: var(--ink); }

.mission-box { background: linear-gradient(135deg, #fff 0%, var(--sand) 100%); padding: 26px; border-radius: 16px; border: 1px solid var(--line); margin: 2em 0; }
.mission-box h3 { margin-top: 0; color: var(--clay-deep); }

ul, ol { margin-left: 1.5em; margin-bottom: 1em; }
li { margin-bottom: 0.5em; }

strong { color: var(--ink); font-weight: 600; }
a { color: var(--clay-deep); text-decoration: none; }
a:hover { text-decoration: underline; }

hr { border: none; border-top: 1px solid var(--line); margin: 2em 0; }

.contact { background: #fff; border: 1px solid var(--line); padding: 24px; border-radius: 16px; margin: 2em 0; }
.contact p { margin-bottom: 0.4em; }

.footer-note { text-align: center; color: var(--muted); font-size: 0.9em; margin-top: 3em; }
.highlight.mt-block { margin-top: 3em; }
.mt-1 { margin-top: 1em; }
.spaced-top { margin-top: 2.5em; }
.footer-note strong { color: var(--ink); }

/* ---- Contact page ---- */
.contact-page { text-align: center; max-width: 620px; padding-top: 40px; }
.contact-page h1 { margin-bottom: 0.3em; }
.contact-page p { color: var(--ink-soft); }
.email-link {
  display: inline-flex; align-items: center; gap: 0.5rem; margin-top: 1.6em;
  padding: 0.92rem 1.7rem; background: var(--ink); color: var(--paper);
  text-decoration: none; border-radius: 999px; font-size: 1.02rem; font-weight: 600;
  transition: background 0.25s, transform 0.25s; box-shadow: 0 8px 30px rgba(31,27,22,.12);
}
.email-link:hover { background: var(--clay-deep); transform: translateY(-2px); text-decoration: none; }

@media (max-width: 600px) {
  body { padding: 12px; padding-top: 74px; }
  .header { padding: 0.9rem 1.1rem; }
  .header-links { gap: 1.1rem; }
  .header-links a, .header .brand .wordmark { font-size: 0.85rem; }
  .container { padding: 24px 8px 60px; }
}

@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
