:root {
  --bg: #f4eee8;
  --bg-soft: rgba(255, 251, 247, 0.78);
  --surface: rgba(255, 255, 255, 0.72);
  --surface-strong: rgba(255, 255, 255, 0.92);
  --ink: #172433;
  --ink-soft: #34465c;
  --muted: #67758a;
  --line: rgba(23, 36, 51, 0.1);
  --line-strong: rgba(23, 36, 51, 0.18);
  --shadow: 0 26px 70px rgba(23, 36, 51, 0.12);
  --shadow-soft: 0 18px 44px rgba(23, 36, 51, 0.08);
  --pink: #f2c9d8;
  --pink-deep: #e55d87;
  --pink-strong: #d93e6d;
  --teal: #5bc0c8;
  --teal-deep: #197f8c;
  --yellow: #f2dd70;
  --orange: #f28d45;
  --orange-deep: #eb6a2c;
  --green: #20a95e;
  --blue: #4167d9;
  --navy: #1a2557;
  --radius-xl: 36px;
  --radius-lg: 26px;
  --radius-md: 20px;
  --radius-sm: 14px;
  --shell: min(1180px, calc(100% - 32px));
  --font-sans: "Aptos", "BIZ UDPGothic", "Yu Gothic", "YuGothic", "Hiragino Sans", sans-serif;
  --font-display: "BIZ UDPMincho", "Yu Mincho", "Hiragino Mincho ProN", "Times New Roman", serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(242, 201, 216, 0.72), transparent 28%),
    radial-gradient(circle at top right, rgba(242, 221, 112, 0.34), transparent 32%),
    linear-gradient(180deg, #f7f2ee 0%, #f3ece4 42%, #efe4db 100%);
  line-height: 1.7;
  overflow-x: hidden;
}

body::before,
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -2;
}

body::before {
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.36), transparent 42%),
    repeating-linear-gradient(135deg,
      rgba(255, 255, 255, 0.16) 0,
      rgba(255, 255, 255, 0.16) 1px,
      transparent 1px,
      transparent 28px);
  opacity: 0.55;
}

body::after {
  inset: auto auto -22vh -16vw;
  width: 52vw;
  height: 52vw;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(91, 192, 200, 0.24), transparent 68%);
  filter: blur(24px);
  z-index: -1;
}

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

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

.shell {
  width: var(--shell);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(22px);
  background: rgba(247, 242, 238, 0.68);
  border-bottom: 1px solid rgba(23, 36, 51, 0.08);
}

.header-shell {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0;
  min-width: 0;
  line-height: 1.3;
}

.brand-mark,
.footer-mark {
  font-size: 0.62rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--pink-strong);
  margin-bottom: 2px;
  line-height: 1;
}

.brand-name,
.footer-name,
h1,
h2,
h3 {
  font-family: var(--font-display);
}

.brand-name {
  font-size: 1.28rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  line-height: 1.1;
}

.brand-copy {
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.72rem;
  letter-spacing: 0.01em;
  line-height: 1.3;
}

.top-nav {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.44);
  border: 1px solid rgba(23, 36, 51, 0.08);
}

.top-nav a {
  padding: 10px 14px;
  border-radius: 999px;
  color: var(--muted);
  transition: background-color 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.top-nav a:hover,
.top-nav a:focus-visible {
  background: rgba(23, 36, 51, 0.08);
  color: var(--ink);
  transform: translateY(-1px);
}

.header-call,
.button,
.cta-phone {
  transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease;
}

.header-call {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 18px;
  border-radius: 999px;
  font-weight: 700;
  letter-spacing: 0.04em;
  background: linear-gradient(135deg, var(--ink) 0%, #304257 100%);
  color: #fff;
  box-shadow: var(--shadow-soft);
}

.header-call:hover,
.header-call:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 24px 48px rgba(23, 36, 51, 0.16);
}

.hero {
  position: relative;
  padding: 92px 0 88px;
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  inset: auto;
  pointer-events: none;
}

.hero::before {
  top: 18px;
  right: -120px;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(242, 201, 216, 0.52), transparent 72%);
}

.hero::after {
  left: -140px;
  bottom: 26px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(242, 221, 112, 0.4), transparent 72%);
}

.petal {
  position: absolute;
  display: block;
  border-radius: 72% 28% 70% 30% / 34% 70% 30% 66%;
  background: linear-gradient(160deg, rgba(255, 233, 240, 0.92), rgba(230, 108, 147, 0.58));
  box-shadow: 0 12px 24px rgba(217, 62, 109, 0.12);
  animation: drift 12s ease-in-out infinite;
}

.petal--1 {
  top: 84px;
  left: 6%;
  width: 26px;
  height: 44px;
}

.petal--2 {
  top: 120px;
  right: 8%;
  width: 34px;
  height: 56px;
  animation-delay: -2.4s;
}

.petal--3 {
  top: 42%;
  left: 48%;
  width: 22px;
  height: 38px;
  animation-delay: -4.8s;
}

.petal--4 {
  top: 58%;
  right: 14%;
  width: 20px;
  height: 32px;
  animation-delay: -1.2s;
}

.petal--5 {
  bottom: 120px;
  left: 18%;
  width: 28px;
  height: 46px;
  animation-delay: -6s;
}

.hero-grid,
.concept-grid,
.cta-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: 36px;
  align-items: center;
}

.hero-copy {
  position: relative;
  z-index: 1;
  animation: rise 0.75s ease both;
}

.eyebrow {
  margin: 0 0 16px;
  font-size: 0.8rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--pink-strong);
}

.hero-rail {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 22px;
}

.hero-date,
.hero-status {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 999px;
  font-weight: 700;
}

.hero-date {
  background: rgba(23, 36, 51, 0.96);
  color: #fff;
}

.hero-status {
  background: linear-gradient(135deg, rgba(242, 221, 112, 0.96), rgba(242, 141, 69, 0.92));
  color: var(--navy);
}

h1 {
  margin: 0;
  font-size: clamp(3rem, 7vw, 5.4rem);
  line-height: 1.02;
  letter-spacing: -0.03em;
}

h1 span {
  display: block;
  margin-top: 10px;
}

.lead,
.section-lead,
.schedule-copy,
.cta-copy>p:not(.eyebrow) {
  font-size: 1.05rem;
  color: var(--ink-soft);
}

.lead {
  max-width: 40rem;
  margin: 22px 0 0;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.button:hover,
.button:focus-visible,
.cta-phone:hover,
.cta-phone:focus-visible {
  transform: translateY(-2px);
}

.button--primary {
  background: linear-gradient(135deg, var(--pink-strong), var(--orange-deep));
  color: #fff;
  box-shadow: 0 18px 36px rgba(217, 62, 109, 0.24);
}

.button--ghost {
  background: rgba(255, 255, 255, 0.56);
  color: var(--ink);
  border-color: rgba(23, 36, 51, 0.12);
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0;
  margin: 28px 0 0;
  list-style: none;
}

.hero-badges li {
  min-width: 106px;
  padding: 10px 18px;
  border-radius: 18px;
  font-weight: 700;
  text-align: center;
  box-shadow: var(--shadow-soft);
}

.hero-badges li:nth-child(1) {
  background: linear-gradient(135deg, #ff8a30, #ff6824);
  color: #fff;
}

.hero-badges li:nth-child(2) {
  background: linear-gradient(135deg, #22b45e, #0a8d4e);
  color: #fff;
}

.hero-badges li:nth-child(3) {
  background: linear-gradient(135deg, #5978eb, #3556d0);
  color: #fff;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 30px;
}

.metric-card,
.panel-card,
.feature-card,
.plan-card,
.cta-card,
.subject-ribbon,
.plan-note,
.quote-strip {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.44);
  background: var(--surface);
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow);
}

.metric-card {
  padding: 18px 18px 20px;
  border-radius: var(--radius-md);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.68), rgba(255, 255, 255, 0.48));
}

.metric-label,
.panel-kicker,
.plan-level {
  display: block;
  margin-bottom: 8px;
  font-size: 0.76rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--pink-strong);
}

.cta-label {
  display: block;
  margin-bottom: 8px;
  font-size: 0.76rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #fff;
}

.hero-panel {
  position: relative;
  display: grid;
  gap: 18px;
  animation: rise 0.85s ease both 0.08s;
}

.panel-card {
  border-radius: var(--radius-xl);
  padding: 28px;
}

.panel-card::before,
.plan-card::before,
.cta-card::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.72), transparent 68%);
}

.panel-card--highlight {
  background:
    radial-gradient(circle at top right, rgba(242, 201, 216, 0.54), transparent 28%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.78), rgba(255, 248, 244, 0.62));
}

.panel-card--highlight h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.16;
}

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

.support-band {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding-left: 18px;
}

.support-band span {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  font-weight: 700;
  background: rgba(23, 36, 51, 0.94);
  color: #fff;
}

.panel-card--route {
  background:
    linear-gradient(135deg, rgba(23, 36, 51, 0.98), rgba(47, 73, 103, 0.94));
  color: rgba(255, 255, 255, 0.92);
}

.route-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 20px;
}

.route-start {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--yellow);
}

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

.route-list li {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
}

.route-list span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.12);
  color: var(--yellow);
  font-weight: 700;
}

.section {
  position: relative;
  padding: 88px 0;
}

.section::before {
  content: "";
  position: absolute;
  inset: 14px 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.02));
  border-top: 1px solid rgba(255, 255, 255, 0.42);
  border-bottom: 1px solid rgba(23, 36, 51, 0.04);
}

.section-block,
.concept-grid {
  position: relative;
}

.section-intro h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.14;
}

.section-intro p {
  margin-bottom: 0;
}

.concept-grid {
  align-items: start;
}

.concept-image {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid rgba(255, 255, 255, 0.44);
}

.concept-image img {
  width: 100%;
  height: auto;
  display: block;
}

.feature-grid,
.plan-grid {
  display: grid;
  gap: 20px;
  margin-top: 34px;
}

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

.feature-card {
  padding: 28px;
  border-radius: var(--radius-lg);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(255, 255, 255, 0.58));
}

.feature-no {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(242, 201, 216, 0.9), rgba(242, 141, 69, 0.92));
  color: #fff;
  font-weight: 700;
  box-shadow: 0 16px 34px rgba(217, 62, 109, 0.2);
}

.feature-card h3 {
  margin: 20px 0 12px;
  font-size: 1.56rem;
  line-height: 1.28;
}

.quote-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 130px;
  padding: 20px 28px;
  margin-top: 28px;
  border-radius: 28px;
  background:
    linear-gradient(135deg, rgba(23, 36, 51, 0.96), rgba(41, 61, 86, 0.94));
  color: #fff;
}

.quote-copy {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.5vw, 2.2rem);
  letter-spacing: 0.04em;
  text-align: center;
}

.plans {
  padding-top: 94px;
}

.subject-ribbon {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 18px 20px;
  margin-top: 32px;
  border-radius: 24px;
  background:
    linear-gradient(135deg, rgba(242, 221, 112, 0.48), rgba(91, 192, 200, 0.22));
}

.subject-label {
  font-weight: 700;
  white-space: nowrap;
}

.subject-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.subject-tags span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  font-weight: 700;
}

.subject-tags span {
  background: rgba(255, 255, 255, 0.68);
}

.plan-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.plan-card {
  padding: 28px;
  border-radius: 30px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.84), rgba(255, 255, 255, 0.6));
}

.plan-card h3 {
  margin: 0;
  font-size: 2rem;
}

.plan-grade {
  margin: 10px 0 18px;
  color: var(--ink-soft);
  font-weight: 700;
}

.plan-price {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 3rem);
  line-height: 1;
}

.plan-price span {
  margin-left: 8px;
  font-size: 1rem;
  color: var(--muted);
}

.plan-points {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 24px 0 0;
  list-style: none;
}

.plan-points li {
  position: relative;
  padding-left: 18px;
}

.plan-points li::before {
  content: "";
  position: absolute;
  top: 0.72em;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
}

.plan-card--orange {
  color: #9f4516;
}

.plan-card--green {
  color: #0d7b45;
}

.plan-card--blue {
  color: #2549b4;
}

.plan-card--orange h3,
.plan-card--green h3,
.plan-card--blue h3,
.plan-card--orange .plan-grade,
.plan-card--green .plan-grade,
.plan-card--blue .plan-grade {
  color: var(--ink);
}

.plan-note {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 20px 24px;
  margin-top: 22px;
  border-radius: 22px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.82), rgba(242, 221, 112, 0.34));
}

.schedule-summary {
  margin: 24px 0 0;
  font-weight: 700;
  color: var(--ink-soft);
}

.schedule-table-wrap {
  margin-top: 22px;
  padding: 18px;
  overflow-x: auto;
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.44);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.84), rgba(255, 255, 255, 0.68));
  box-shadow: var(--shadow);
}

.schedule-table {
  width: 100%;
  min-width: 980px;
  border-collapse: separate;
  border-spacing: 0;
  table-layout: fixed;
}

.schedule-table th,
.schedule-table td {
  padding: 0;
  text-align: center;
  border-right: 1px solid rgba(23, 36, 51, 0.06);
  border-bottom: 1px solid rgba(23, 36, 51, 0.06);
  background: rgba(255, 255, 255, 0.88);
}

.schedule-table tr>*:last-child {
  border-right: 0;
}

.schedule-table tbody tr:last-child>* {
  border-bottom: 0;
}

.schedule-corner {
  width: 156px;
  background: transparent;
  border-right: 0;
  border-bottom: 0;
}

.month-head {
  height: 52px;
  font-size: 1.32rem;
  color: #fff;
  background: linear-gradient(135deg, #27a8dd, #1f8fc9) !important;
}

.schedule-side-head {
  width: 156px;
  color: #fff;
  font-weight: 700;
  background: linear-gradient(135deg, #3e8ea1, #34798e) !important;
}

.day-cell {
  height: 78px;
  background: #f8f6f2 !important;
}

.day-number,
.day-name {
  display: block;
}

.day-number {
  margin-top: 10px;
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.1;
}

.day-name {
  margin-top: 4px;
  font-weight: 700;
  color: var(--navy);
}

.day-cell.is-sat .day-number,
.day-cell.is-sat .day-name {
  color: #24a0d9;
}

.day-cell.is-sun .day-number,
.day-cell.is-sun .day-name {
  color: #ef4e4e;
}

.slot-label {
  width: 156px;
  height: 58px;
  color: #fff;
  font-weight: 700;
}

.slot-label--a {
  background: linear-gradient(135deg, #f19a56, #ec7f35) !important;
}

.slot-label--b {
  background: linear-gradient(135deg, #35b567, #1d9c55) !important;
}

.status-open,
.status-break {
  height: 58px;
  background: #f4f0c9 !important;
}

.status-open::before {
  content: "";
  display: block;
  width: 18px;
  height: 18px;
  margin: 0 auto;
  border-radius: 50%;
}

.status-open--a::before {
  background: #f0904e;
}

.status-open--b::before {
  background: #31ae5c;
}

.status-break {
  font-weight: 700;
  color: var(--ink);
  letter-spacing: 0.08em;
}

.schedule-note {
  margin: 20px 0 0;
  color: var(--muted);
}

.contact {
  padding-top: 96px;
}

.cta-shell {
  align-items: stretch;
}

.cta-copy {
  align-self: center;
}

.cta-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 22px;
}

.cta-links a {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid rgba(23, 36, 51, 0.12);
  font-weight: 700;
}

.cta-card {
  padding: 30px;
  border-radius: 32px;
  background:
    radial-gradient(circle at top right, rgba(242, 221, 112, 0.28), transparent 26%),
    linear-gradient(180deg, rgba(23, 36, 51, 0.98), rgba(41, 61, 86, 0.94));
  color: rgba(255, 255, 255, 0.92);
}

.cta-phone {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 68px;
  padding: 0 24px;
  border-radius: 22px;
  background: linear-gradient(135deg, var(--yellow), var(--orange));
  color: var(--navy);
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1;
  box-shadow: 0 18px 42px rgba(242, 141, 69, 0.22);
}

.cta-data {
  display: grid;
  gap: 16px;
  margin: 26px 0 0;
}

.cta-data div {
  display: grid;
  gap: 4px;
}

.cta-data dt {
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.9rem;
}

.cta-data dd {
  margin: 0;
  font-weight: 700;
}

.cta-data a {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.site-footer {
  padding: 28px 0 36px;
}

.footer-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 24px;
  border-top: 1px solid rgba(23, 36, 51, 0.1);
}

.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}

.footer-name,
.footer-copy {
  margin: 0;
}

.footer-copy {
  color: var(--muted);
}

@keyframes drift {

  0%,
  100% {
    transform: translate3d(0, 0, 0) rotate(-6deg);
  }

  50% {
    transform: translate3d(18px, 16px, 0) rotate(8deg);
  }
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translate3d(0, 32px, 0);
  }

  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@media (max-width: 1100px) {

  .hero-grid,
  .concept-grid,
  .cta-shell {
    grid-template-columns: 1fr;
  }

  .hero-copy,
  .hero-panel,
  .concept-image {
    max-width: 760px;
  }

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

@media (max-width: 860px) {
  .site-header {
    position: static;
  }

  .header-shell {
    flex-wrap: wrap;
    justify-content: center;
    padding: 16px 0;
  }

  .top-nav {
    order: 3;
    width: 100%;
    justify-content: center;
  }

  .hero {
    padding-top: 68px;
  }

  .hero-metrics {
    grid-template-columns: 1fr;
  }

  .subject-ribbon,
  .plan-note {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-shell {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

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

@media (max-width: 640px) {
  :root {
    --shell: min(100% - 24px, 1180px);
  }

  .section {
    padding: 72px 0;
  }

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

  .button,
  .header-call,
  .cta-phone,
  .cta-links a {
    width: 100%;
  }

  .hero-badges li {
    flex: 1 1 calc(50% - 10px);
  }

  .panel-card,
  .feature-card,
  .plan-card,
  .cta-card {
    padding: 22px;
    border-radius: 24px;
  }

  .quote-strip {
    min-height: 0;
    padding: 22px;
  }

  .top-nav {
    display: none;
  }

  .footer-copy {
    font-size: 0.8rem;
  }
}