/* ============================================================
   Reonial — site.css
   Material Design 3 / OS-adaptive light & dark theme
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@300;400;500&family=Roboto:wght@300;400;500&family=Roboto+Serif:ital,wght@0,300;0,400;1,300&display=swap');

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

/* ── M3 COLOR TOKENS ─────────────────────────────────────── */
:root {
  --md-sys-color-primary:              #6750A4;
  --md-sys-color-on-primary:           #FFFFFF;
  --md-sys-color-primary-container:    #EADDFF;
  --md-sys-color-on-primary-container: #21005D;
  --md-sys-color-secondary:            #625B71;
  --md-sys-color-on-secondary:         #FFFFFF;
  --md-sys-color-secondary-container:  #E8DEF8;
  --md-sys-color-on-secondary-container: #1D192B;
  --md-sys-color-tertiary:             #7D5260;
  --md-sys-color-on-tertiary:          #FFFFFF;
  --md-sys-color-tertiary-container:   #FFD8E4;
  --md-sys-color-on-tertiary-container:#31111D;
  --md-sys-color-error:                #B3261E;
  --md-sys-color-on-error:             #FFFFFF;
  --md-sys-color-error-container:      #F9DEDC;
  --md-sys-color-on-error-container:   #410E0B;
  --md-sys-color-surface:              #FFFBFE;
  --md-sys-color-on-surface:           #1C1B1F;
  --md-sys-color-surface-variant:      #E7E0EC;
  --md-sys-color-on-surface-variant:   #49454F;
  --md-sys-color-surface-container:    #F3EDF7;
  --md-sys-color-surface-container-high: #ECE6F0;
  --md-sys-color-surface-container-highest: #E6E0E9;
  --md-sys-color-outline:              #79747E;
  --md-sys-color-outline-variant:      #CAC4D0;
  --md-sys-color-inverse-surface:      #313033;
  --md-sys-color-inverse-on-surface:   #F4EFF4;
  --md-sys-color-inverse-primary:      #D0BCFF;
  --md-sys-color-scrim:                #000000;

  /* elevation overlays (light) */
  --md-elevation-1: rgba(103,80,164,0.05);
  --md-elevation-2: rgba(103,80,164,0.08);
  --md-elevation-3: rgba(103,80,164,0.11);

  /* shape */
  --md-shape-xs:   4px;
  --md-shape-sm:   8px;
  --md-shape-md:   12px;
  --md-shape-lg:   16px;
  --md-shape-xl:   28px;
  --md-shape-full: 9999px;

  /* nav */
  --nav-h: 64px;
  --max-w: 1100px;

  /* typography scale */
  --md-display-large:  57px;
  --md-display-medium: 45px;
  --md-display-small:  36px;
  --md-headline-large: 32px;
  --md-headline-medium:28px;
  --md-headline-small: 24px;
  --md-title-large:    22px;
  --md-title-medium:   16px;
  --md-title-small:    14px;
  --md-body-large:     16px;
  --md-body-medium:    14px;
  --md-body-small:     12px;
  --md-label-large:    14px;
  --md-label-medium:   12px;
  --md-label-small:    11px;
}

/* ── DARK THEME ──────────────────────────────────────────── */
@media (prefers-color-scheme: dark) {
  :root {
    --md-sys-color-primary:              #D0BCFF;
    --md-sys-color-on-primary:           #381E72;
    --md-sys-color-primary-container:    #4F378B;
    --md-sys-color-on-primary-container: #EADDFF;
    --md-sys-color-secondary:            #CCC2DC;
    --md-sys-color-on-secondary:         #332D41;
    --md-sys-color-secondary-container:  #4A4458;
    --md-sys-color-on-secondary-container: #E8DEF8;
    --md-sys-color-tertiary:             #EFB8C8;
    --md-sys-color-on-tertiary:          #492532;
    --md-sys-color-tertiary-container:   #633B48;
    --md-sys-color-on-tertiary-container:#FFD8E4;
    --md-sys-color-error:                #F2B8B5;
    --md-sys-color-on-error:             #601410;
    --md-sys-color-error-container:      #8C1D18;
    --md-sys-color-on-error-container:   #F9DEDC;
    --md-sys-color-surface:              #141218;
    --md-sys-color-on-surface:           #E6E0E9;
    --md-sys-color-surface-variant:      #49454F;
    --md-sys-color-on-surface-variant:   #CAC4D0;
    --md-sys-color-surface-container:    #211F26;
    --md-sys-color-surface-container-high: #2B2930;
    --md-sys-color-surface-container-highest: #36343B;
    --md-sys-color-outline:              #938F99;
    --md-sys-color-outline-variant:      #49454F;
    --md-sys-color-inverse-surface:      #E6E0E9;
    --md-sys-color-inverse-on-surface:   #322F37;
    --md-sys-color-inverse-primary:      #6750A4;
    --md-sys-color-scrim:                #000000;

    --md-elevation-1: rgba(208,188,255,0.05);
    --md-elevation-2: rgba(208,188,255,0.08);
    --md-elevation-3: rgba(208,188,255,0.11);
  }
}

/* ── BASE ────────────────────────────────────────────────── */
html { scroll-behavior: smooth; }

body {
  font-family: 'Roboto', 'Noto Sans JP', sans-serif;
  background-color: var(--md-sys-color-surface);
  color: var(--md-sys-color-on-surface);
  overflow-x: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--md-sys-color-primary); }
a:hover { opacity: 0.85; }

/* ── NAVIGATION BAR (M3 Top App Bar) ─────────────────────── */
.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  z-index: 50;
  background-color: var(--md-sys-color-surface);
  border-bottom: 1px solid var(--md-sys-color-outline-variant);
  /* M3 elevation 2 tint */
  background-image: linear-gradient(var(--md-elevation-2), var(--md-elevation-2));
  transition: box-shadow 0.3s;
}

.site-nav.scrolled {
  box-shadow: 0 2px 4px rgba(0,0,0,0.15), 0 1px 2px rgba(0,0,0,0.1);
}

.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.5rem;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.nav-logo {
  font-family: 'Roboto Serif', serif;
  font-size: 1.375rem;
  font-weight: 400;
  color: var(--md-sys-color-on-surface);
  text-decoration: none;
  letter-spacing: 0.01em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  list-style: none;
}

.nav-links a {
  font-size: var(--md-label-large);
  font-weight: 500;
  color: var(--md-sys-color-on-surface-variant);
  text-decoration: none;
  padding: 0.5rem 0.75rem;
  border-radius: var(--md-shape-full);
  transition: background 0.2s, color 0.2s;
  letter-spacing: 0.01em;
}

.nav-links a:hover {
  background: var(--md-sys-color-surface-variant);
  color: var(--md-sys-color-on-surface);
  opacity: 1;
}

/* ── MAIN ────────────────────────────────────────────────── */
main {
  flex: 1;
  padding-top: var(--nav-h);
  position: relative;
}

/* ── FOOTER ──────────────────────────────────────────────── */
.site-footer {
  background-color: var(--md-sys-color-surface-container);
  border-top: 1px solid var(--md-sys-color-outline-variant);
  padding: 2.5rem 1.5rem;
  margin-top: auto;
}

.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: center;
  text-align: center;
}

@media (min-width: 768px) {
  .footer-inner {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
    align-items: flex-start;
  }
}

.footer-logo {
  font-family: 'Roboto Serif', serif;
  font-size: 1.1rem;
  font-weight: 400;
  color: var(--md-sys-color-on-surface);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 0.75rem;
  list-style: none;
  justify-content: center;
}

.footer-links a {
  font-size: var(--md-body-small);
  color: var(--md-sys-color-on-surface-variant);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--md-sys-color-primary);
  opacity: 1;
}

.footer-copy {
  font-size: var(--md-body-small);
  color: var(--md-sys-color-on-surface-variant);
  white-space: nowrap;
}

/* ── LAYOUT UTILITIES ────────────────────────────────────── */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 5rem 1.5rem;
}

/* ── M3 BUTTONS ──────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  height: 40px;
  padding: 0 1.5rem;
  border-radius: var(--md-shape-full);
  font-family: 'Roboto', 'Noto Sans JP', sans-serif;
  font-size: var(--md-label-large);
  font-weight: 500;
  letter-spacing: 0.006em;
  cursor: pointer;
  text-decoration: none;
  border: none;
  transition: box-shadow 0.2s, background 0.2s;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

/* filled */
.btn-filled {
  background: var(--md-sys-color-primary);
  color: var(--md-sys-color-on-primary);
}
.btn-filled:hover {
  box-shadow: 0 1px 2px rgba(0,0,0,0.3), 0 2px 6px rgba(103,80,164,0.3);
  opacity: 1;
  background: var(--md-sys-color-primary);
  color: var(--md-sys-color-on-primary);
}

/* filled tonal */
.btn-tonal {
  background: var(--md-sys-color-secondary-container);
  color: var(--md-sys-color-on-secondary-container);
}
.btn-tonal:hover {
  box-shadow: 0 1px 2px rgba(0,0,0,0.2);
  opacity: 1;
}

/* outlined */
.btn-outlined {
  background: transparent;
  color: var(--md-sys-color-primary);
  border: 1px solid var(--md-sys-color-outline);
}
.btn-outlined:hover {
  background: var(--md-elevation-1);
  opacity: 1;
}

/* text */
.btn-text {
  background: transparent;
  color: var(--md-sys-color-primary);
  padding: 0 0.75rem;
}
.btn-text:hover {
  background: var(--md-elevation-1);
  opacity: 1;
}

/* ripple state layer */
.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: currentColor;
  opacity: 0;
  transition: opacity 0.2s;
  border-radius: inherit;
}
.btn:hover::after { opacity: 0.08; }
.btn:active::after { opacity: 0.12; }

/* ── M3 CARDS ────────────────────────────────────────────── */
.card {
  background: var(--md-sys-color-surface-container);
  border-radius: var(--md-shape-xl);
  position: relative;
  overflow: hidden;
  transition: box-shadow 0.2s;
}

.card-elevated {
  background: var(--md-sys-color-surface);
  background-image: linear-gradient(var(--md-elevation-1), var(--md-elevation-1));
  box-shadow: 0 1px 2px rgba(0,0,0,0.3), 0 2px 6px rgba(0,0,0,0.15);
  border-radius: var(--md-shape-xl);
  position: relative;
  overflow: hidden;
  transition: box-shadow 0.2s;
}

.card-outlined {
  background: var(--md-sys-color-surface);
  border: 1px solid var(--md-sys-color-outline-variant);
  border-radius: var(--md-shape-xl);
  position: relative;
  overflow: hidden;
  transition: box-shadow 0.2s, border-color 0.2s;
}

a.card:hover, a.card-elevated:hover, a.card-outlined:hover {
  box-shadow: 0 2px 4px rgba(0,0,0,0.3), 0 4px 8px rgba(0,0,0,0.15);
  text-decoration: none;
  opacity: 1;
}

/* state layer on hover */
.card::before, .card-elevated::before, .card-outlined::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--md-sys-color-on-surface);
  opacity: 0;
  transition: opacity 0.2s;
  pointer-events: none;
  border-radius: inherit;
}
a.card:hover::before,
a.card-elevated:hover::before,
a.card-outlined:hover::before { opacity: 0.08; }

/* ── M3 CHIPS ────────────────────────────────────────────── */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  height: 32px;
  padding: 0 0.75rem;
  border-radius: var(--md-shape-full);
  font-size: var(--md-label-large);
  font-weight: 500;
  letter-spacing: 0.006em;
}

.chip-assist {
  background: transparent;
  border: 1px solid var(--md-sys-color-outline);
  color: var(--md-sys-color-on-surface-variant);
}

.chip-filled {
  background: var(--md-sys-color-secondary-container);
  color: var(--md-sys-color-on-secondary-container);
}

/* ── BADGE (live / wip) ──────────────────────────────────── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  height: 24px;
  padding: 0 10px;
  border-radius: var(--md-shape-full);
  font-size: var(--md-label-small);
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.badge-live {
  background: rgba(62,207,142,0.15);
  color: #2E7D50;
  border: 1px solid rgba(62,207,142,0.4);
}

@media (prefers-color-scheme: dark) {
  .badge-live { color: #6DD9A2; background: rgba(62,207,142,0.1); }
}

.badge-live::before {
  content: '';
  width: 5px; height: 5px;
  border-radius: 50%;
  background: currentColor;
  animation: pulse 2s ease-in-out infinite;
}

.badge-wip {
  background: rgba(245,166,35,0.12);
  color: #8B5E00;
  border: 1px solid rgba(245,166,35,0.35);
}

@media (prefers-color-scheme: dark) {
  .badge-wip { color: #FFBA3A; background: rgba(245,166,35,0.1); }
}

@keyframes pulse {
  0%, 100% { opacity: 0.5; }
  50%       { opacity: 1; }
}

/* ── DIVIDER ─────────────────────────────────────────────── */
.divider {
  height: 1px;
  background: var(--md-sys-color-outline-variant);
  margin: 0;
}

/* ── SECTION HEADER ──────────────────────────────────────── */
.section-eyebrow {
  font-size: var(--md-label-large);
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--md-sys-color-primary);
  margin-bottom: 0.5rem;
}

.section-title {
  font-family: 'Roboto Serif', serif;
  font-size: clamp(1.75rem, 4vw, var(--md-display-small));
  font-weight: 400;
  color: var(--md-sys-color-on-surface);
  line-height: 1.2;
  margin-bottom: 0.75rem;
}

.section-desc {
  font-size: var(--md-body-large);
  color: var(--md-sys-color-on-surface-variant);
  line-height: 1.75;
  max-width: 560px;
}

/* ── LEGAL PAGES ─────────────────────────────────────────── */
.legal-page {
  max-width: 760px;
  margin: 0 auto;
  padding: 3.5rem 1.5rem 6rem;
}

.legal-page h1 {
  font-family: 'Roboto Serif', serif;
  font-size: clamp(1.6rem, 4vw, var(--md-headline-large));
  font-weight: 400;
  color: var(--md-sys-color-on-surface);
  margin-bottom: 0.4rem;
}

.legal-date {
  font-size: var(--md-body-small);
  color: var(--md-sys-color-on-surface-variant);
  margin-bottom: 2rem;
  letter-spacing: 0.05em;
}

.legal-block {
  background: var(--md-sys-color-surface-container);
  border-radius: var(--md-shape-lg);
  padding: 1.5rem 1.75rem;
  margin-bottom: 0.75rem;
}

.legal-block h2 {
  font-size: var(--md-label-large);
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--md-sys-color-primary);
  margin-bottom: 0.75rem;
}

.legal-block p,
.legal-block li {
  font-size: var(--md-body-medium);
  color: var(--md-sys-color-on-surface-variant);
  line-height: 1.85;
}

.legal-block ul {
  padding-left: 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.legal-block a {
  color: var(--md-sys-color-primary);
  text-underline-offset: 3px;
}

/* tokushoho table */
.tokusho-table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--md-body-medium);
}

.tokusho-table th,
.tokusho-table td {
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--md-sys-color-outline-variant);
  text-align: left;
  line-height: 1.75;
  vertical-align: top;
}

.tokusho-table th {
  width: 36%;
  color: var(--md-sys-color-on-surface-variant);
  font-weight: 400;
  font-size: var(--md-body-small);
  white-space: nowrap;
}

.tokusho-table td {
  color: var(--md-sys-color-on-surface);
}

.tokusho-table tr:last-child th,
.tokusho-table tr:last-child td { border-bottom: none; }

.tokusho-note {
  font-size: var(--md-body-small);
  color: var(--md-sys-color-on-surface-variant);
  display: block;
  margin-top: 0.35rem;
  line-height: 1.7;
}

/* ── CONTACT FORM ────────────────────────────────────────── */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-field label {
  font-size: var(--md-body-small);
  font-weight: 500;
  color: var(--md-sys-color-on-surface-variant);
  letter-spacing: 0.04em;
}

.form-field .required {
  color: var(--md-sys-color-error);
  margin-left: 0.25rem;
  font-size: var(--md-label-small);
}

/* M3 outlined text field */
.form-control {
  background: transparent;
  border: 1px solid var(--md-sys-color-outline);
  border-radius: var(--md-shape-xs);
  color: var(--md-sys-color-on-surface);
  font-family: 'Roboto', 'Noto Sans JP', sans-serif;
  font-size: var(--md-body-large);
  padding: 0.875rem 1rem;
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
  width: 100%;
}

.form-control:hover { border-color: var(--md-sys-color-on-surface); }
.form-control:focus {
  border-color: var(--md-sys-color-primary);
  border-width: 2px;
  padding: calc(0.875rem - 1px) calc(1rem - 1px);
}

textarea.form-control { min-height: 140px; resize: vertical; }
select.form-control { -webkit-appearance: none; appearance: none; cursor: pointer; }

.form-agreement {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: var(--md-body-medium);
  color: var(--md-sys-color-on-surface-variant);
}

.form-agreement input[type="checkbox"] {
  margin-top: 2px;
  accent-color: var(--md-sys-color-primary);
  flex-shrink: 0;
  width: 18px;
  height: 18px;
}

/* ── 404 ─────────────────────────────────────────────────── */
.page-404 {
  min-height: calc(100vh - var(--nav-h));
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
}

.page-404 .num {
  font-family: 'Roboto Serif', serif;
  font-size: clamp(5rem, 20vw, 9rem);
  font-weight: 300;
  color: var(--md-sys-color-primary);
  line-height: 1;
  margin-bottom: 1rem;
}

.page-404 h1 {
  font-size: var(--md-headline-small);
  font-weight: 400;
  color: var(--md-sys-color-on-surface);
  margin-bottom: 0.75rem;
}

.page-404 p {
  font-size: var(--md-body-large);
  color: var(--md-sys-color-on-surface-variant);
  margin-bottom: 2rem;
}

/* ── ANIMATIONS ──────────────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

.fade-up  { animation: fadeUp 0.5s cubic-bezier(0.2,0,0,1) both; }
.delay-1  { animation-delay: 0.08s; }
.delay-2  { animation-delay: 0.16s; }
.delay-3  { animation-delay: 0.26s; }
.delay-4  { animation-delay: 0.38s; }

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s cubic-bezier(0.2,0,0,1), transform 0.5s cubic-bezier(0.2,0,0,1);
}
.reveal.visible { opacity: 1; transform: none; }

/* ── EP PAGE ─────────────────────────────────────────────── */
.ep-surface {
  background: var(--md-sys-color-surface-container-high);
  border-radius: var(--md-shape-xl);
  padding: 2rem 2rem 2.5rem;
  width: min(480px, 100%);
}

.ep-read-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  border-radius: var(--md-shape-lg);
  background: var(--md-sys-color-surface-container);
  border: 1px solid var(--md-sys-color-outline-variant);
  color: var(--md-sys-color-on-surface);
  font-size: var(--md-body-large);
  font-family: 'Roboto', 'Noto Sans JP', sans-serif;
  text-decoration: none;
  cursor: pointer;
  transition: box-shadow 0.2s, background 0.2s;
  position: relative;
  overflow: hidden;
}

.ep-read-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--md-sys-color-on-surface);
  opacity: 0;
  transition: opacity 0.2s;
}

.ep-read-btn:hover { box-shadow: 0 1px 3px rgba(0,0,0,0.2); opacity: 1; }
.ep-read-btn:hover::before { opacity: 0.08; }

/* ── ADMIN ───────────────────────────────────────────────── */
.admin-surface {
  background: var(--md-sys-color-surface-container);
  border-radius: var(--md-shape-xl);
  padding: 1.5rem;
  margin-bottom: 1rem;
}

.admin-label {
  font-size: var(--md-label-large);
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--md-sys-color-primary);
  margin-bottom: 1rem;
}

.data-table { width: 100%; border-collapse: collapse; }
.data-table th {
  font-size: var(--md-label-medium);
  font-weight: 500;
  letter-spacing: 0.05em;
  color: var(--md-sys-color-on-surface-variant);
  padding: 0.5rem 0.75rem;
  border-bottom: 1px solid var(--md-sys-color-outline-variant);
  text-align: left;
}
.data-table td {
  padding: 0.7rem 0.75rem;
  border-bottom: 1px solid var(--md-sys-color-outline-variant);
  color: var(--md-sys-color-on-surface);
  font-size: var(--md-body-medium);
  vertical-align: middle;
}
.data-table tr:last-child td { border-bottom: none; }
.data-table tr:hover td { background: rgba(103,80,164,0.04); }

.msg { font-size: var(--md-body-small); min-height: 1.2rem; padding: 0.25rem 0; }
.msg-ok  { color: #2E7D50; }
.msg-err { color: var(--md-sys-color-error); }

@media (prefers-color-scheme: dark) {
  .msg-ok { color: #6DD9A2; }
}

/* ── RESPONSIVE ──────────────────────────────────────────── */
@media (max-width: 640px) {
  .nav-links { display: none; }
  .section { padding: 3rem 1.25rem; }
  .legal-page { padding: 2rem 1.25rem 4rem; }
  .tokusho-table th { width: 40%; }
  .ep-surface { padding: 1.5rem 1.25rem 2rem; }
}

/* ── COOKIE BANNER ───────────────────────────────────────── */
.cookie-banner {
  position: fixed;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  width: min(560px, calc(100vw - 2rem));
  background: var(--md-sys-color-surface-container-high);
  border: 1px solid var(--md-sys-color-outline-variant);
  border-radius: var(--md-shape-lg);
  padding: 1rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  z-index: 200;
  box-shadow: 0 4px 16px rgba(0,0,0,0.2);
  animation: slideUp 0.4s cubic-bezier(0.2,0,0,1) both;
}

.cookie-banner.hidden { display: none; }

.cookie-banner.hidden {
  display: none;
}

.cookie-banner p {
  font-size: var(--md-body-small);
  color: var(--md-sys-color-on-surface-variant);
  line-height: 1.6;
  margin: 0;
}

.cookie-banner-actions {
  display: flex;
  justify-content: flex-end;
}

.cookie-banner a {
  color: var(--md-sys-color-primary);
  text-underline-offset: 3px;
}

@keyframes slideUp {
  from { opacity: 0; transform: translateX(-50%) translateY(16px); }
  to   { opacity: 1; transform: translateX(-50%) translateY(0); }
}


