/**
 * style.css
 * わせわせ公式サイト — アプリに合わせたライトなデザインシステム
 *
 * Primary #891E2B / Background #F7F9FC / Surface #FFFFFF
 */

:root {
  --primary: #891e2b;
  --primary-hover: #6f1722;
  --bg: #f7f9fc;
  --surface: #ffffff;
  --text: #0f1419;
  --muted: #536471;
  --border: #eff3f4;
  --soft-bg: #f7edf0;
  --soft-border: #e5d3d7;
  --error: #e53935;

  --radius: 12px;
  --radius-sm: 8px;
  --radius-pill: 999px;
  --shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
  --shadow-device: 0 1px 4px rgba(0, 0, 0, 0.06), 0 16px 40px rgba(15, 20, 25, 0.08);

  --header-h: 56px;
  --max-w: 1200px;
  --font: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", Meiryo, sans-serif;
  --ease: 0.2s ease;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

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

button,
input {
  font: inherit;
}

:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -48px;
  z-index: 100;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  background: var(--primary);
  color: #fff;
  font-weight: 700;
}

.skip-link:focus {
  top: 12px;
}

.hide-mobile {
  display: none;
}

@media (min-width: 768px) {
  :root {
    --header-h: 64px;
  }

  .hide-mobile {
    display: inline;
  }
}

/* =========================================================
   Brand
   ========================================================= */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.brand__icon {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  flex-shrink: 0;
  background: var(--primary);
}

.brand__icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand__name {
  font-size: 1.0625rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: var(--text);
}

.brand--footer .brand__icon {
  width: 28px;
  height: 28px;
}

/* =========================================================
   Header
   ========================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid transparent;
  transition: border-color var(--ease), box-shadow var(--ease);
}

.site-header.is-scrolled {
  border-bottom-color: var(--border);
  box-shadow: var(--shadow);
}

.site-header__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  height: 100%;
  padding: 0 16px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.site-nav {
  display: none;
  margin-left: auto;
  gap: 8px;
}

.site-nav__link {
  padding: 8px 12px;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--muted);
  border-radius: var(--radius-sm);
}

.site-nav__link:hover {
  color: var(--text);
  background: var(--bg);
}

.header-cta {
  display: inline-flex;
  margin-left: auto;
}

.menu-toggle,
.mobile-menu {
  display: none !important;
}

@media (min-width: 768px) {
  .site-header__inner {
    padding: 0 24px;
  }

  .site-nav {
    display: flex;
  }

  .header-cta {
    margin-left: 8px;
  }
}

/* =========================================================
   Buttons
   ========================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 20px;
  touch-action: manipulation;
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  font-weight: 700;
  cursor: pointer;
  transition: background var(--ease), color var(--ease), border-color var(--ease), transform var(--ease);
  text-align: center;
  white-space: nowrap;
}

.btn:active {
  transform: scale(0.98);
}

.btn--sm {
  min-height: 40px;
  padding: 0 16px;
  font-size: 0.875rem;
}

.btn--lg {
  min-height: 52px;
  padding: 0 28px;
  font-size: 1rem;
}

.btn--block {
  width: 100%;
}

.btn--primary {
  background: var(--primary);
  color: #fff;
}

.btn--primary:hover {
  background: var(--primary-hover);
}

.btn--ghost {
  background: var(--surface);
  color: var(--text);
  border-color: var(--border);
}

.btn--ghost:hover {
  background: var(--bg);
  border-color: var(--soft-border);
}

.btn--on-brand {
  background: #fff;
  color: var(--primary);
}

.btn--on-brand:hover {
  background: var(--soft-bg);
}

.btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
}

/* =========================================================
   Sections
   ========================================================= */
.section {
  padding: 64px 0;
}

.section__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 16px;
}

.section__inner--narrow {
  max-width: 560px;
}

.section__header {
  margin-bottom: 32px;
}

.section__header--center {
  text-align: center;
}

.section__label {
  margin: 0 0 8px;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--primary);
}

.section__header h2,
.section__title {
  margin: 0 0 12px;
  font-size: clamp(1.375rem, 4vw, 1.875rem);
  font-weight: 800;
  line-height: 1.4;
  letter-spacing: -0.01em;
}

.section__desc {
  margin: 0;
  max-width: 36em;
  color: var(--muted);
  font-size: 0.9375rem;
}

.section__header--center .section__desc {
  margin-inline: auto;
}

@media (min-width: 768px) {
  .section {
    padding: 88px 0;
  }

  .section__inner {
    padding: 0 24px;
  }

  .section__header {
    margin-bottom: 48px;
  }
}

/* =========================================================
   Hero
   ========================================================= */
.hero {
  display: flex;
  flex-direction: column;
  gap: 32px;
  padding: 32px 0 24px;
  background:
    linear-gradient(180deg, var(--soft-bg) 0%, var(--bg) 56%, var(--bg) 100%);
}

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

.hero__badge {
  display: inline-flex;
  align-items: center;
  margin: 0 0 16px;
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  background: var(--surface);
  border: 1px solid var(--soft-border);
  color: var(--primary);
  font-size: 0.75rem;
  font-weight: 700;
}

.hero__title {
  margin: 0 0 16px;
  font-size: clamp(1.5rem, 6.2vw, 2.5rem);
  font-weight: 800;
  line-height: 1.35;
  letter-spacing: -0.02em;
}

.hero__lead {
  margin: 0 auto 24px;
  max-width: 22em;
  font-size: 1rem;
  color: var(--muted);
  line-height: 1.8;
}

.hero__actions {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 12px;
  margin-bottom: 20px;
}

@media (max-width: 479px) {
  .hero__title {
    font-size: 1.5rem;
  }

  .hero__lead {
    margin-bottom: 20px;
  }
}

.hero__facts {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 16px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
  font-size: 0.8125rem;
}

.hero__facts li {
  position: relative;
  padding-left: 14px;
}

.hero__facts li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary);
}

.hero__visual {
  min-width: 0;
}

.device-track {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding: 8px 16px 28px;
  scrollbar-width: none;
}

.device-track::-webkit-scrollbar {
  display: none;
}

.device {
  flex: 0 0 220px;
  scroll-snap-align: center;
  margin: 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 28px;
  padding: 8px;
  box-shadow: var(--shadow-device);
}

.device img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 390 / 848;
  object-fit: contain;
  object-position: top center;
  border-radius: 20px;
  background: var(--bg);
}

.device figcaption {
  margin: 8px 0 4px;
  text-align: center;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--muted);
}

@media (min-width: 480px) {
  .hero__actions {
    flex-direction: row;
    justify-content: center;
  }
}

@media (min-width: 960px) {
  .hero {
    display: grid;
    grid-template-columns: minmax(280px, 520px) minmax(0, 1fr);
    align-items: center;
    gap: 32px;
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 56px 24px 48px;
  }

  .hero__copy {
    margin: 0;
    padding: 0;
    text-align: left;
    max-width: none;
  }

  .hero__lead {
    margin-left: 0;
  }

  .hero__actions {
    justify-content: flex-start;
  }

  .hero__facts {
    justify-content: flex-start;
  }

  .device-track {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    overflow: visible;
    padding: 12px 0 8px;
    gap: 12px;
  }

  .device {
    flex: none;
    width: auto;
  }

  .device:nth-child(1) {
    transform: translateY(16px);
  }

  .device:nth-child(2) {
    transform: translateY(-4px);
  }

  .device:nth-child(3) {
    transform: translateY(24px);
  }
}

/* =========================================================
   About
   ========================================================= */
.about {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.about__statement {
  margin: 0 0 16px;
  max-width: 18em;
  font-size: clamp(1.25rem, 3.6vw, 1.75rem);
  font-weight: 800;
  line-height: 1.55;
}

.about__note {
  margin: 0 0 32px;
  max-width: 40em;
  color: var(--muted);
}

.about__points {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.point-card {
  padding: 20px 16px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.point-card__icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  margin-bottom: 12px;
  border-radius: var(--radius-sm);
  color: var(--primary);
  background: var(--soft-bg);
}

.point-card h3 {
  margin: 0 0 8px;
  font-size: 1rem;
  font-weight: 800;
}

.point-card p {
  margin: 0;
  font-size: 0.875rem;
  color: var(--muted);
}

@media (min-width: 768px) {
  .about__points {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }

  .point-card {
    padding: 24px;
  }
}

/* =========================================================
   Features
   ========================================================= */
.feature-block {
  display: grid;
  gap: 20px;
  margin-bottom: 48px;
  align-items: center;
}

.feature-block__label,
.support-card__label {
  margin: 0 0 8px;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--primary);
}

.feature-block h3,
.support-card h3 {
  margin: 0 0 12px;
  font-size: 1.25rem;
  font-weight: 800;
  line-height: 1.45;
}

.feature-block p,
.support-card p {
  margin: 0;
  color: var(--muted);
}

.feature-block__device,
.feature-block__devices {
  margin: 0;
  display: flex;
  justify-content: center;
  gap: 12px;
}

.feature-block__devices {
  flex-wrap: wrap;
}

.feature-block__device .device,
.feature-block__devices .device {
  flex: 0 0 auto;
  width: min(220px, 42vw);
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  overflow: visible;
  box-shadow: none;
}

.feature-block__device .device {
  width: min(240px, 72vw);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-device);
}

.feature-block__devices .device img {
  border-radius: 24px;
  box-shadow: var(--shadow-device);
}

.feature-block__device .device img,
.feature-block__devices .device img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 390 / 848;
  object-fit: contain;
  object-position: top center;
  background: #fff;
}

.feature-block__device .device img {
  border-radius: 0;
}

.feature-block__devices .device figcaption {
  margin: 8px 0 0;
  text-align: center;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--muted);
}

.feature-block__copy .feature-sublist {
  margin-top: 16px;
}

.feature-panel {
  margin: 0 0 32px;
  padding: 28px 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.feature-panel__label {
  margin: 0 0 8px;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--primary);
}

.feature-panel h3 {
  margin: 0 0 12px;
  font-size: 1.25rem;
  font-weight: 800;
  line-height: 1.45;
}

.feature-panel > p {
  margin: 0 0 16px;
  color: var(--muted);
}

.feature-panel--compact > p:last-child,
.feature-panel--compact > p {
  margin-bottom: 0;
}

.feature-sublist {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.feature-sublist li {
  padding: 8px 12px;
  border-radius: var(--radius-pill);
  background: var(--soft-bg);
  border: 1px solid var(--soft-border);
  color: var(--text);
  font-size: 0.8125rem;
  font-weight: 700;
}

.peer-grid {
  display: grid;
  gap: 12px;
  margin: 0 0 32px;
}

.peer-card {
  padding: 24px 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.peer-card__label {
  margin: 0 0 8px;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--primary);
}

.peer-card h3 {
  margin: 0 0 12px;
  font-size: 1.125rem;
  font-weight: 800;
  line-height: 1.45;
}

.peer-card p {
  margin: 0;
  color: var(--muted);
}

.support-grid {
  display: grid;
  gap: 12px;
  margin-top: 8px;
}

.support-card {
  padding: 24px 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.inline-cta {
  margin-top: 40px;
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
  background: var(--soft-bg);
  border: 1px solid var(--soft-border);
  border-radius: var(--radius);
}

.inline-cta p {
  margin: 0;
  font-weight: 700;
}

@media (min-width: 768px) {
  .feature-block {
    grid-template-columns: 1fr 240px;
    gap: 40px;
    margin-bottom: 72px;
  }

  .feature-block--reverse {
    grid-template-columns: 240px 1fr;
  }

  .feature-block--reverse .feature-block__copy {
    order: 2;
  }

  .feature-block--pair {
    grid-template-columns: 1fr minmax(280px, 460px);
  }

  .feature-block--pair .feature-block__devices {
    justify-content: flex-end;
  }

  .feature-block--pair .feature-block__devices .device {
    width: min(210px, 100%);
  }

  .feature-block h3,
  .feature-panel h3 {
    font-size: 1.5rem;
  }

  .feature-panel {
    margin-bottom: 40px;
    padding: 32px 28px;
  }

  .peer-grid {
    grid-template-columns: 1fr;
    margin-bottom: 40px;
  }

  .support-grid {
    grid-template-columns: 1.3fr 1fr 1fr;
    gap: 16px;
  }

  .inline-cta {
    flex-direction: row;
    justify-content: space-between;
    padding: 20px 28px;
  }
}

/* =========================================================
   CTA band
   ========================================================= */
.cta-band {
  background: var(--primary);
  color: #fff;
  padding: 48px 16px;
  text-align: center;
}

.cta-band__inner {
  max-width: 640px;
  margin: 0 auto;
}

.cta-band h2 {
  margin: 0 0 8px;
  font-size: clamp(1.25rem, 4vw, 1.75rem);
  font-weight: 800;
  line-height: 1.4;
}

.cta-band p {
  margin: 0 0 24px;
  color: rgba(255, 255, 255, 0.86);
}

/* =========================================================
   Flow
   ========================================================= */
.flow__steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
  counter-reset: none;
}

.flow-step {
  padding: 24px 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.flow-step__index {
  display: inline-grid;
  place-items: center;
  width: 32px;
  height: 32px;
  margin-bottom: 12px;
  border-radius: 50%;
  font-size: 0.875rem;
  font-weight: 800;
  color: #fff;
  background: var(--primary);
}

.flow-step h3 {
  margin: 0 0 8px;
  font-size: 1.0625rem;
  font-weight: 800;
}

.flow-step p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9375rem;
}

@media (min-width: 768px) {
  .flow__steps {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }
}

/* =========================================================
   FAQ
   ========================================================= */
.faq {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.faq__list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg);
  overflow: hidden;
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 16px 44px 16px 16px;
  font-weight: 700;
  position: relative;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "";
  position: absolute;
  right: 18px;
  top: 50%;
  width: 8px;
  height: 8px;
  border-right: 1.5px solid var(--muted);
  border-bottom: 1.5px solid var(--muted);
  transform: translateY(-70%) rotate(45deg);
  transition: transform 0.2s ease;
}

.faq-item[open] summary::after {
  transform: translateY(-20%) rotate(225deg);
}

.faq-item__a {
  padding: 0 16px 16px;
  color: var(--muted);
  font-size: 0.9375rem;
}

.faq-item__a p {
  margin: 0;
}

/* =========================================================
   Signup
   ========================================================= */
.signup__panel {
  padding: 28px 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.cta-block[hidden] {
  display: none;
}

.signup-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
  margin: 0 0 20px;
}

.signup-brand__icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--primary);
}

.signup-brand__icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.signup-brand__name {
  margin: 0;
  font-size: 1rem;
  font-weight: 800;
}

.signup-brand__headline {
  margin: 0;
  max-width: 16em;
  font-size: 1.25rem;
  font-weight: 800;
  line-height: 1.5;
}

.trust-note {
  margin: 0 0 20px;
  padding: 16px;
  border-radius: var(--radius);
  border: 1px solid var(--soft-border);
  background: var(--soft-bg);
}

.trust-note__title {
  margin: 0 0 8px;
  font-size: 0.9375rem;
  font-weight: 800;
}

.trust-note__list {
  margin: 0;
  padding-left: 1.15em;
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 0.8125rem;
  color: var(--muted);
}

.signup-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

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

.form-field__label {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px;
  font-size: 0.875rem;
  font-weight: 700;
}

.form-field__req {
  color: var(--primary);
}

.form-field__optional {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--muted);
}

.form-field__input {
  width: 100%;
  height: 52px;
  padding: 0 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--text);
  outline: none;
  transition: border-color var(--ease), box-shadow var(--ease);
}

.form-field__input::placeholder {
  color: #8b98a5;
}

.form-field__input:hover {
  border-color: var(--soft-border);
}

.form-field__input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(137, 30, 43, 0.12);
  background: var(--surface);
}

.form-field__input.is-invalid {
  border-color: var(--error);
}

.form-field__error {
  margin: 0;
  font-size: 0.75rem;
  color: var(--error);
}

.form-message {
  margin: 0;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  text-align: center;
}

.form-message--error {
  background: #fdecea;
  border: 1px solid #f5c6c4;
  color: var(--error);
}

.form-message--success {
  background: #e8f5e9;
  border: 1px solid #c8e6c9;
  color: #2e7d32;
}

.campaign-note {
  padding: 14px 16px;
  border-radius: var(--radius);
  border: 1px solid var(--soft-border);
  background: var(--soft-bg);
  text-align: left;
}

.campaign-note__title {
  margin: 0 0 8px;
  font-size: 0.875rem;
  font-weight: 800;
}

.campaign-note__list {
  margin: 0;
  padding-left: 1.15em;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.8125rem;
  color: var(--muted);
}

.campaign-note--thanks {
  margin: 0 0 20px;
}

.campaign-card {
  margin-top: 16px;
  padding: 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.campaign-card h3 {
  margin: 0 0 8px;
  font-size: 1rem;
  font-weight: 800;
}

.campaign-card ul {
  margin: 0;
  padding-left: 1.15em;
  color: var(--muted);
  font-size: 0.875rem;
}

.thanks-card {
  text-align: center;
  outline: none;
}

.thanks-card[hidden] {
  display: none;
}

.thanks-card.is-visible {
  animation: thanks-in 0.4s ease both;
}

@keyframes thanks-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.thanks-card__icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 16px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--primary);
  background: var(--soft-bg);
}

.thanks-card__title {
  margin: 0 0 8px;
  font-size: 1.25rem;
  font-weight: 800;
}

.thanks-card__lead,
.thanks-card__body {
  margin: 0 0 20px;
  color: var(--muted);
  font-size: 0.9375rem;
}

.thanks-card__share {
  max-width: 320px;
  margin-inline: auto;
}

.appstore-cta {
  display: flex;
  justify-content: center;
  margin-top: 8px;
}

@media (min-width: 768px) {
  .signup__panel {
    padding: 40px 36px;
  }
}

/* =========================================================
   Footer
   ========================================================= */
.site-footer {
  border-top: 1px solid var(--border);
  background: var(--surface);
  padding: 40px 0 32px;
}

.site-footer__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 16px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.site-footer__tagline {
  margin: 8px 0 0;
  font-size: 0.8125rem;
  color: var(--muted);
}

.site-footer__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
}

.site-footer__nav a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--muted);
}

.site-footer__nav a:hover {
  color: var(--primary);
}

.site-footer__copy {
  margin: 0;
  font-size: 0.75rem;
  color: var(--muted);
}

@media (min-width: 768px) {
  .site-footer__inner {
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-rows: auto auto;
    column-gap: 40px;
    padding: 0 24px;
  }

  .site-footer__nav {
    justify-content: flex-end;
  }

  .site-footer__copy {
    grid-column: 1 / -1;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
