/* BOTTLY Hosting — matches Store app palette */
:root {
  --bg: #262626;
  --bg-deep: #1e1e1e;
  --surface: #303030;
  --border: #454545;
  --brand-blue: #536995;
  --text-primary: #c2bfb3;
  --text-secondary: #9e9b90;
  --text-muted: #8e9bb5;
  --radius: 12px;
  --max-width: 680px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  background: linear-gradient(180deg, var(--bg-deep) 0%, var(--bg) 40%, var(--bg) 100%);
  color: var(--text-primary);
  font-family: "Zen Kaku Gothic New", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  font-size: 15px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

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

a:hover {
  text-decoration: underline;
}

.page {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.header {
  padding: 2rem 1.25rem 1.5rem;
  text-align: center;
  border-bottom: 1px solid var(--border);
}

.logo {
  display: inline-block;
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--text-primary);
  text-decoration: none;
}

.logo:hover {
  text-decoration: none;
  color: var(--brand-blue);
}

.tagline {
  margin: 0.5rem 0 0;
  font-size: 0.8125rem;
  color: var(--text-secondary);
  letter-spacing: 0.04em;
}

main {
  flex: 1;
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 2rem 1.25rem 3rem;
}

h1 {
  margin: 0 0 0.5rem;
  font-size: 1.375rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 1.4;
}

.lead {
  margin: 0 0 2rem;
  color: var(--text-secondary);
  font-size: 0.9375rem;
}

.updated {
  margin: 0 0 2rem;
  font-size: 0.8125rem;
  color: var(--text-muted);
}

section {
  margin-bottom: 2rem;
}

section h2 {
  margin: 0 0 0.75rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border);
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--text-primary);
}

section h3 {
  margin: 1.25rem 0 0.5rem;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text-primary);
}

section p {
  margin: 0 0 0.875rem;
}

section ul,
section ol {
  margin: 0 0 0.875rem;
  padding-left: 1.25rem;
}

section li {
  margin-bottom: 0.375rem;
}

section li:last-child {
  margin-bottom: 0;
}

.note {
  padding: 0.875rem 1rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.875rem;
  color: var(--text-secondary);
}

.note strong {
  color: var(--text-primary);
}

.contact-email {
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 0.9375rem;
  word-break: break-all;
}

.card {
  padding: 1.25rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.card p:last-child {
  margin-bottom: 0;
}

.footer {
  padding: 1.5rem 1.25rem 2rem;
  border-top: 1px solid var(--border);
  text-align: center;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 1.5rem;
  margin-bottom: 0.75rem;
}

.footer-nav a {
  font-size: 0.875rem;
}

.copyright {
  margin: 0;
  font-size: 0.75rem;
  color: var(--text-secondary);
}

@media (min-width: 480px) {
  .header {
    padding: 2.5rem 1.5rem 1.75rem;
  }

  main {
    padding: 2.5rem 1.5rem 3.5rem;
  }

  h1 {
    font-size: 1.5rem;
  }
}
