@import url("https://fonts.googleapis.com/css2?family=Lora:wght@400;500;600&family=Noto+Sans+TC:wght@400;500;600;700&family=Noto+Serif+TC:wght@500;600&family=Raleway:wght@500;600;700&display=swap");

@font-face {
  font-display: swap;
  font-family: "Iansui";
  font-style: normal;
  font-weight: 400;
  src: url("/assets/fonts/iansui-home.woff2") format("woff2");
}

:root {
  --ink: #252a42;
  --ink-strong: #171a2b;
  --muted: #5e6274;
  --paper: #fbf9f5;
  --paper-strong: #fffdf9;
  --lavender-wash: #f0ecf7;
  --blue-wash: #e9edfc;
  --pink-wash: #f8e9ef;
  --sage-wash: #e9efe9;
  --blue: #536edb;
  --blue-dark: #3f55b4;
  --pink: #cf668f;
  --pink-dark: #a83e69;
  --lavender: #8a6bb7;
  --border: rgba(37, 42, 66, 0.14);
  --shadow: 0 18px 50px rgba(37, 42, 66, 0.09);
  --shadow-soft: 0 10px 30px rgba(37, 42, 66, 0.06);
  --radius-sm: 14px;
  --radius-md: 24px;
  --radius-lg: 36px;
  --container: 1180px;
  --reading: 720px;
  --serif: "Lora", "Noto Serif TC", Georgia, serif;
  --sans: "Raleway", "Noto Sans TC", system-ui, sans-serif;
  --accent-hand: "Iansui", "Noto Serif TC", serif;
  --accent-rounded: "Huninn", "Noto Sans TC", sans-serif;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 104px;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.75;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.nav-open {
  overflow: hidden;
}

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

a {
  color: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  font: inherit;
}

::selection {
  background: #d9def7;
  color: var(--ink-strong);
}

:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  transform: translateY(-180%);
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  border-bottom: 1px solid rgba(37, 42, 66, 0.08);
  background: rgba(251, 249, 245, 0.9);
  backdrop-filter: blur(18px);
}

.nav-shell {
  display: flex;
  width: min(calc(100% - 40px), var(--container));
  min-height: 80px;
  margin-inline: auto;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  text-decoration: none;
}

.brand img {
  width: 190px;
  height: auto;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 30px;
}

.nav-links {
  display: flex;
  margin: 0;
  padding: 0;
  align-items: center;
  gap: 6px;
  list-style: none;
}

.nav-link {
  position: relative;
  display: inline-flex;
  min-height: 44px;
  padding: 9px 13px;
  align-items: center;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  transition: color 180ms ease;
}

.nav-link::after {
  position: absolute;
  right: 13px;
  bottom: 7px;
  left: 13px;
  height: 2px;
  border-radius: 99px;
  background: var(--pink);
  content: "";
  opacity: 0;
  transform: scaleX(0.35);
  transition: opacity 180ms ease, transform 180ms ease;
}

.nav-link:hover,
.nav-link[aria-current="page"] {
  color: var(--ink);
}

.nav-link[aria-current="page"]::after,
.nav-link:hover::after {
  opacity: 1;
  transform: scaleX(1);
}

.menu-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: var(--paper-strong);
  color: var(--ink);
  cursor: pointer;
  place-items: center;
}

.menu-toggle svg {
  width: 22px;
  height: 22px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  padding: 12px 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  cursor: pointer;
  font-weight: 700;
  line-height: 1.35;
  text-align: center;
  text-decoration: none;
  transition: background-color 200ms ease, border-color 200ms ease, color 200ms ease, box-shadow 200ms ease, transform 200ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  background: var(--ink);
  color: #fff;
  box-shadow: 0 8px 22px rgba(37, 42, 66, 0.18);
}

.button-primary:hover {
  background: var(--ink-strong);
  box-shadow: 0 12px 28px rgba(37, 42, 66, 0.24);
}

.button-secondary {
  border-color: rgba(37, 42, 66, 0.22);
  background: rgba(255, 255, 255, 0.7);
  color: var(--ink);
}

.button-secondary:hover {
  border-color: var(--ink);
  background: #fff;
}

.button-light {
  background: #fff;
  color: var(--ink);
  box-shadow: 0 8px 24px rgba(16, 18, 34, 0.2);
}

.text-link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 8px;
  color: var(--ink);
  font-weight: 700;
  text-decoration-color: var(--pink);
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
}

.text-link::after {
  content: "↗";
  transition: transform 180ms ease;
}

.text-link:hover::after {
  transform: translate(2px, -2px);
}

.container {
  width: min(calc(100% - 40px), var(--container));
  margin-inline: auto;
}

.reading {
  max-width: var(--reading);
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--blue-dark);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin-top: 0;
  color: var(--ink-strong);
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.28;
  text-wrap: balance;
}

h1 {
  margin-bottom: 24px;
  font-size: clamp(2.65rem, 5vw, 4rem);
  letter-spacing: -0.045em;
}

h2 {
  margin-bottom: 22px;
  font-size: clamp(2rem, 4vw, 3.6rem);
  letter-spacing: -0.035em;
}

h3 {
  margin-bottom: 12px;
  font-size: clamp(1.25rem, 2vw, 1.65rem);
  letter-spacing: -0.02em;
}

p {
  margin: 0 0 1.2em;
}

.lead {
  max-width: 720px;
  color: #41465d;
  font-size: clamp(1.08rem, 1.8vw, 1.3rem);
  line-height: 1.8;
}

.fine-print {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.space-top {
  margin-top: 28px;
}

.space-top-lg {
  margin-top: 34px;
}

.hero {
  position: relative;
  display: grid;
  min-height: calc(100svh - 80px);
  overflow: hidden;
  align-items: center;
}

.hero::before,
.hero::after {
  position: absolute;
  border-radius: 50%;
  content: "";
  filter: blur(1px);
  pointer-events: none;
}

.hero::before {
  top: 8%;
  right: -8%;
  width: min(52vw, 720px);
  aspect-ratio: 1;
  background: radial-gradient(circle at 40% 40%, rgba(83, 110, 219, 0.2), rgba(138, 107, 183, 0.08) 48%, transparent 70%);
}

.hero::after {
  bottom: -25%;
  left: -10%;
  width: min(44vw, 620px);
  aspect-ratio: 1;
  background: radial-gradient(circle at 50% 50%, rgba(207, 102, 143, 0.16), transparent 68%);
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  padding-block: 88px 96px;
  align-items: center;
  gap: 70px;
  grid-template-columns: minmax(0, 1.16fr) minmax(310px, 0.84fr);
}

.hero-copy {
  max-width: 780px;
}

.hero-actions {
  display: flex;
  margin-top: 34px;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

.hero-visual {
  position: relative;
  min-height: 520px;
}

.orbit {
  position: absolute;
  inset: 3% 0 0 0;
  margin: auto;
  width: min(100%, 480px);
  aspect-ratio: 1;
  border: 1px solid rgba(83, 110, 219, 0.22);
  border-radius: 47% 53% 54% 46% / 54% 42% 58% 46%;
  animation: drift 14s ease-in-out infinite alternate;
}

.orbit::before,
.orbit::after {
  position: absolute;
  border-radius: 50%;
  content: "";
}

.orbit::before {
  top: -18px;
  right: 24%;
  width: 42px;
  height: 42px;
  background: var(--blue);
  box-shadow: 0 8px 28px rgba(83, 110, 219, 0.25);
}

.orbit::after {
  bottom: 12%;
  left: -15px;
  width: 58px;
  height: 58px;
  background: var(--pink);
  box-shadow: 0 8px 28px rgba(207, 102, 143, 0.24);
}

.moment-card {
  position: absolute;
  top: 22%;
  right: 5%;
  left: 7%;
  padding: 34px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: var(--radius-lg);
  background: rgba(255, 253, 249, 0.86);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.moment-label {
  display: flex;
  margin-bottom: 28px;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.moment-label::before {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--pink);
  content: "";
}

.moment-card blockquote {
  margin: 0;
  color: var(--ink-strong);
  font-family: var(--serif);
  font-size: clamp(1.45rem, 2.6vw, 2.2rem);
  line-height: 1.55;
}

.feeling-tags {
  display: flex;
  margin-top: 30px;
  flex-wrap: wrap;
  gap: 9px;
}

.feeling-tags span,
.tag {
  display: inline-flex;
  min-height: 36px;
  padding: 6px 13px;
  border: 1px solid var(--border);
  border-radius: 999px;
  align-items: center;
  background: rgba(255, 255, 255, 0.72);
  color: #4b5065;
  font-size: 0.82rem;
  font-weight: 600;
}

.page-hero {
  position: relative;
  overflow: hidden;
  padding-block: 108px 96px;
}

.page-hero::after {
  position: absolute;
  top: -38%;
  right: -10%;
  width: 560px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(83, 110, 219, 0.17), transparent 68%);
  content: "";
  pointer-events: none;
}

.page-hero h1 {
  max-width: 950px;
}

.page-hero .lead {
  max-width: 800px;
}

.section {
  padding-block: 104px;
}

.section-tight {
  padding-block: 76px;
}

.section-tint {
  border-block: 1px solid rgba(37, 42, 66, 0.06);
  background: var(--paper-strong);
}

.section-lavender {
  background: var(--lavender-wash);
}

.section-blue {
  background: var(--blue-wash);
}

.section-pink {
  background: var(--pink-wash);
}

.section-heading {
  display: grid;
  margin-bottom: 48px;
  gap: 30px;
  grid-template-columns: minmax(0, 0.88fr) minmax(300px, 0.62fr);
}

.section-heading > :last-child {
  align-self: end;
  color: var(--muted);
}

.intro-grid {
  display: grid;
  align-items: start;
  gap: 56px;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.5fr);
}

.side-note {
  padding: 30px;
  border-top: 3px solid var(--pink);
  background: var(--paper-strong);
  box-shadow: var(--shadow-soft);
}

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

.process-grid {
  display: grid;
  margin: 0;
  padding: 0;
  gap: 16px;
  grid-template-columns: repeat(5, 1fr);
  list-style: none;
}

.process-card {
  position: relative;
  min-height: 270px;
  padding: 26px 22px 24px;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--paper-strong);
}

.process-step {
  display: grid;
  width: 42px;
  height: 42px;
  margin-bottom: 46px;
  border-radius: 50%;
  background: var(--blue-wash);
  color: var(--blue-dark);
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 700;
  place-items: center;
}

.process-card:nth-child(2n) .process-step {
  background: var(--pink-wash);
  color: var(--pink-dark);
}

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

.closing-line {
  max-width: 780px;
  margin: 44px auto 0;
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(1.35rem, 2.4vw, 2rem);
  line-height: 1.6;
  text-align: center;
}

.feature-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, 1fr);
}

.feature-card {
  min-height: 240px;
  padding: 30px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--paper-strong);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.8) inset;
}

.feature-card p:last-child {
  margin-bottom: 0;
  color: var(--muted);
}

.feature-index {
  display: block;
  margin-bottom: 38px;
  color: var(--pink-dark);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.quote-card {
  position: relative;
  max-width: 880px;
  margin-top: 42px;
  padding: 40px 48px;
  border-radius: var(--radius-lg);
  background: var(--ink);
  color: #fff;
  box-shadow: var(--shadow);
}

.quote-card::before {
  position: absolute;
  top: 20px;
  left: 26px;
  color: rgba(255, 255, 255, 0.18);
  content: "“";
  font-family: var(--serif);
  font-size: 5rem;
  line-height: 1;
}

.quote-card blockquote {
  position: relative;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(1.35rem, 2.8vw, 2.25rem);
  line-height: 1.55;
}

/* Page-level accent modes: activate one per page, never both together. */
.font-accent-hand .moment-card blockquote,
.font-accent-hand .quote-card blockquote {
  font-family: var(--accent-hand);
  font-weight: 400;
  letter-spacing: 0.01em;
}

.font-accent-rounded .feature-card h3 {
  font-family: var(--accent-rounded);
  font-weight: 400;
  letter-spacing: 0.01em;
}

.check-list,
.plain-list,
.number-list {
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.check-list {
  display: grid;
  gap: 14px;
}

.check-list li {
  position: relative;
  padding-left: 30px;
}

.check-list li::before {
  position: absolute;
  top: 0.62em;
  left: 0;
  width: 12px;
  height: 7px;
  border-bottom: 2px solid var(--pink-dark);
  border-left: 2px solid var(--pink-dark);
  content: "";
  transform: rotate(-45deg);
}

.plain-list {
  display: grid;
  gap: 12px;
}

.plain-list li {
  position: relative;
  padding-left: 22px;
}

.plain-list li::before {
  position: absolute;
  top: 0.78em;
  left: 2px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blue);
  content: "";
}

.number-list {
  display: grid;
  padding-left: 26px;
  gap: 14px;
  list-style: decimal;
}

.number-list li {
  min-height: 58px;
  padding: 14px 0 14px 8px;
  border-bottom: 1px solid var(--border);
}

.number-list li::marker {
  color: var(--blue-dark);
  font-weight: 700;
}

.split-grid {
  display: grid;
  align-items: start;
  gap: 24px;
  grid-template-columns: repeat(2, 1fr);
}

.split-panel {
  min-height: 100%;
  padding: 36px;
  border-radius: var(--radius-lg);
}

.split-panel.can {
  background: var(--blue-wash);
}

.split-panel.cannot {
  background: var(--pink-wash);
}

.split-panel .plain-list {
  margin-top: 18px;
}

.split-panel.cannot .plain-list li::before {
  background: var(--pink-dark);
}

.statement {
  display: grid;
  padding: 60px;
  border-radius: var(--radius-lg);
  background: var(--ink);
  color: #fff;
  gap: 54px;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.55fr);
}

.statement h2,
.statement h3 {
  color: #fff;
}

.statement p {
  color: rgba(255, 255, 255, 0.78);
}

.statement .plain-list li::before {
  background: #f2a5c1;
}

.cta-band {
  padding-block: 104px;
}

.cta-card {
  position: relative;
  padding: 72px;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--ink);
  color: #fff;
  box-shadow: var(--shadow);
}

.cta-card::after {
  position: absolute;
  right: -120px;
  bottom: -160px;
  width: 430px;
  aspect-ratio: 1;
  border: 58px solid rgba(228, 140, 170, 0.24);
  border-radius: 50%;
  content: "";
}

.cta-card > * {
  position: relative;
  z-index: 1;
}

.cta-card h2 {
  max-width: 790px;
  color: #fff;
}

.cta-card p {
  max-width: 620px;
  color: rgba(255, 255, 255, 0.78);
}

.cta-card .fine-print {
  color: rgba(255, 255, 255, 0.62);
}

.notice {
  padding: 28px 30px;
  border-left: 4px solid var(--pink-dark);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  background: var(--pink-wash);
}

.notice strong {
  display: block;
  margin-bottom: 8px;
  color: var(--ink-strong);
}

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

.site-footer {
  border-top: 1px solid var(--border);
  background: var(--paper-strong);
}

.footer-grid {
  display: grid;
  padding-block: 68px 42px;
  gap: 80px;
  grid-template-columns: minmax(280px, 1fr) minmax(360px, 0.9fr);
}

.footer-brand img {
  width: 210px;
}

.footer-brand p {
  max-width: 500px;
  margin-top: 24px;
  color: var(--muted);
}

.footer-links {
  display: grid;
  margin: 0;
  padding: 0;
  gap: 10px 22px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  list-style: none;
}

.footer-links a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  transition: color 180ms ease;
}

.footer-links a:hover {
  color: var(--ink);
}

.footer-bottom {
  display: flex;
  padding-block: 22px 30px;
  border-top: 1px solid var(--border);
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: var(--muted);
  font-size: 0.78rem;
}

.status-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 8px;
  border-radius: 50%;
  background: var(--pink);
}

.dialog {
  width: min(calc(100% - 32px), 540px);
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: var(--radius-md);
  background: var(--paper-strong);
  color: var(--ink);
  box-shadow: 0 28px 90px rgba(16, 18, 34, 0.32);
}

.dialog::backdrop {
  background: rgba(20, 22, 36, 0.58);
  backdrop-filter: blur(6px);
}

.dialog-inner {
  padding: 38px;
}

.dialog h2 {
  margin-bottom: 16px;
  font-size: 2rem;
}

.dialog p {
  color: var(--muted);
}

.dialog-form {
  max-height: min(860px, calc(100dvh - 32px));
  overflow-y: auto;
}

.line-qr {
  display: grid;
  width: 250px;
  min-height: 250px;
  margin: 28px auto 18px;
  padding: 9px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: #fff;
  color: var(--muted);
  place-items: center;
  text-align: center;
}

.line-qr img {
  width: 232px;
  height: 232px;
}

.line-qr-error {
  padding: 24px;
}

.line-add-link {
  margin-inline: auto;
  justify-content: center;
}

.partner-form {
  display: grid;
  margin-top: 28px;
  gap: 20px;
}

.form-field {
  display: grid;
  gap: 7px;
}

.form-field label {
  color: var(--ink-strong);
  font-size: 0.94rem;
  font-weight: 700;
}

.form-field input,
.form-field textarea {
  width: 100%;
  min-height: 48px;
  padding: 11px 14px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  line-height: 1.55;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

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

.form-field input:focus,
.form-field textarea:focus {
  border-color: var(--blue);
  outline: none;
  box-shadow: 0 0 0 3px rgba(83, 110, 219, 0.18);
}

.form-field input[aria-invalid="true"],
.form-field textarea[aria-invalid="true"] {
  border-color: #b43c52;
}

.field-error {
  min-height: 1.45em;
  margin: 0;
  color: #a72e45 !important;
  font-size: 0.83rem;
  font-weight: 600;
}

.form-summary,
.form-success,
.captcha-error {
  padding: 13px 15px;
  border: 1px solid rgba(167, 46, 69, 0.32);
  border-radius: 10px;
  background: #fff4f5;
  color: #8c2339;
  font-size: 0.92rem;
  font-weight: 600;
}

.form-success {
  border-color: rgba(45, 105, 75, 0.28);
  background: var(--sage-wash);
  color: #215b3c;
}

.recaptcha-wrap {
  min-height: 78px;
}

.recaptcha-wrap > p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.form-submit[disabled] {
  cursor: wait;
  opacity: 0.58;
  transform: none;
}

.dialog-actions {
  display: flex;
  margin-top: 28px;
  justify-content: flex-end;
}

.dialog-close {
  position: absolute;
  top: 16px;
  right: 16px;
  display: grid;
  width: 44px;
  height: 44px;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  place-items: center;
}

.dialog-close svg {
  width: 20px;
}

.reveal {
  opacity: 1;
  transform: none;
}

@keyframes drift {
  0% { transform: rotate(-3deg) translateY(0); }
  100% { transform: rotate(4deg) translateY(-12px); }
}

@media (max-width: 980px) {
  .site-header {
    background: var(--paper);
    backdrop-filter: none;
  }

  .desktop-nav {
    display: none;
  }

  .menu-toggle {
    display: grid;
  }

  .desktop-nav.is-open {
    position: absolute;
    z-index: 99;
    top: 100%;
    right: 0;
    left: 0;
    display: flex;
    min-height: calc(100dvh - 80px);
    padding: 34px 20px 44px;
    overflow-y: auto;
    align-items: stretch;
    flex-direction: column;
    background: var(--paper);
  }

  .desktop-nav.is-open .nav-links {
    align-items: stretch;
    flex-direction: column;
  }

  .desktop-nav.is-open .nav-link {
    min-height: 58px;
    padding-inline: 4px;
    border-bottom: 1px solid var(--border);
    font-family: var(--serif);
    font-size: 1.45rem;
  }

  .desktop-nav.is-open .nav-link::after {
    display: none;
  }

  .desktop-nav.is-open .button {
    margin-top: auto;
  }

  .hero {
    min-height: auto;
  }

  .hero-grid {
    padding-block: 78px 88px;
    gap: 24px;
    grid-template-columns: 1fr;
  }

  .hero-copy {
    max-width: 800px;
  }

  .hero-visual {
    min-height: 430px;
  }

  .orbit {
    max-width: 430px;
  }

  .moment-card {
    right: 12%;
    left: 12%;
  }

  .process-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .process-card:last-child {
    grid-column: 1 / -1;
  }

  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .statement,
  .section-heading,
  .intro-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    gap: 52px;
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .container,
  .nav-shell {
    width: min(calc(100% - 32px), var(--container));
  }

  .brand img {
    width: 158px;
  }

  .nav-shell {
    min-height: 72px;
  }

  .desktop-nav.is-open {
    min-height: calc(100dvh - 72px);
  }

  .hero-grid,
  .page-hero {
    padding-block: 64px 72px;
  }

  h1 {
    font-size: clamp(2.1rem, 9vw, 2.6rem);
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-actions .button,
  .hero-actions .text-link {
    width: 100%;
    justify-content: center;
  }

  .hero-visual {
    min-height: 380px;
  }

  .orbit {
    top: 5%;
    width: 340px;
    max-width: 92%;
  }

  .moment-card {
    top: 20%;
    right: 3%;
    left: 3%;
    padding: 28px;
  }

  .section,
  .cta-band {
    padding-block: 76px;
  }

  .section-heading {
    margin-bottom: 34px;
  }

  .process-grid,
  .feature-grid,
  .split-grid {
    grid-template-columns: 1fr;
  }

  .process-card:last-child {
    grid-column: auto;
  }

  .process-card {
    min-height: 220px;
  }

  .quote-card,
  .split-panel {
    padding: 30px;
  }

  .statement,
  .cta-card {
    padding: 40px 28px;
  }

  .cta-card::after {
    right: -180px;
  }

  .footer-links {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .dialog-inner {
    padding: 54px 26px 28px;
  }

  .line-qr {
    width: 230px;
    min-height: 230px;
  }

  .line-qr img {
    width: 212px;
    height: 212px;
  }

  .recaptcha-wrap {
    overflow-x: auto;
  }
}

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

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

  .reveal {
    opacity: 1;
    transform: none;
  }
}
