:root {
  color-scheme: light;
  --indigo: #3946cf;
  --deep: #1c2357;
  --amber: #f0a63a;
  --ink: #181a22;
  --muted: #646977;
  --paper: #fafaf8;
  --white: #ffffff;
  --line: #dfe2e8;
  --silver: #f2f3f5;
  --green: #237f68;
  --danger: #a24b45;
  --shadow: 0 18px 50px rgba(28, 35, 87, 0.12);
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family:
    "Noto Sans JP", "Yu Gothic", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  line-height: 1.75;
}

button,
input,
select,
textarea {
  font: inherit;
}

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

a {
  color: inherit;
}

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

.site-header {
  position: sticky;
  z-index: 20;
  top: 0;
  display: grid;
  grid-template-columns: 190px 1fr auto;
  align-items: center;
  min-height: 72px;
  padding: 12px max(24px, calc((100vw - var(--max)) / 2));
  border-bottom: 1px solid rgba(28, 35, 87, 0.1);
  background: rgba(250, 250, 248, 0.96);
  backdrop-filter: blur(16px);
}

.brand-link {
  display: block;
  width: 154px;
}

.desktop-nav {
  display: flex;
  justify-content: center;
  gap: 30px;
}

.desktop-nav a {
  color: #424650;
  font-size: 14px;
  text-decoration: none;
}

.desktop-nav a:hover {
  color: var(--indigo);
}

.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  border: 1px solid var(--indigo);
  border-radius: 6px;
  color: var(--indigo);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.audience-switch {
  display: flex;
  justify-content: center;
  gap: 32px;
  min-height: 48px;
  padding: 0 24px;
  border-bottom: 1px solid var(--line);
  background: var(--white);
}

.audience-switch a {
  display: inline-flex;
  align-items: center;
  border-bottom: 2px solid transparent;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

.audience-switch a:hover,
.audience-switch a.is-current {
  border-bottom-color: var(--indigo);
  color: var(--deep);
}

.hero {
  position: relative;
  display: flex;
  min-height: 560px;
  height: min(78svh, 760px);
  align-items: center;
  overflow: hidden;
  color: var(--white);
  background-image: url("./assets/gaien-salon-hero.jpg");
  background-position: center 58%;
  background-size: cover;
}

.hero-shade {
  position: absolute;
  inset: 0;
  background: rgba(12, 15, 27, 0.62);
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
}

.hero-kicker,
.eyebrow {
  margin: 0 0 14px;
  color: var(--amber);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 850px;
  margin: 0;
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: 58px;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.35;
}

.hero h1 span {
  font-family: "Noto Sans JP", "Yu Gothic", sans-serif;
  font-weight: 800;
}

.space-hero h1 {
  max-width: 900px;
  font-family: "Noto Sans JP", "Yu Gothic", "Hiragino Kaku Gothic ProN", sans-serif;
  font-size: 48px;
  font-weight: 700;
  line-height: 1.38;
}

.hero-mobile-break {
  display: none;
}

.space-hero .hero-kicker {
  margin-bottom: 18px;
  font-size: 13px;
  font-weight: 700;
}

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

.hero-copy {
  max-width: 690px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 18px;
  line-height: 1.9;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  transition:
    transform 160ms ease,
    background-color 160ms ease,
    border-color 160ms ease;
}

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

.button-primary {
  border-color: var(--indigo);
  color: var(--white);
  background: var(--indigo);
}

.button-primary:hover {
  background: #2e3abe;
}

.button-ghost {
  border-color: rgba(255, 255, 255, 0.7);
  color: var(--white);
  background: rgba(10, 12, 20, 0.18);
}

.hero-note {
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 12px;
}

.teacher-hero {
  color: var(--ink);
  background-image: url("./assets/oto-base-teacher-hero.png");
  background-position: center;
}

.teacher-hero .hero-shade {
  background: rgba(255, 255, 255, 0.08);
}

.teacher-hero .hero-inner {
  display: flex;
  justify-content: flex-end;
  width: min(1320px, calc(100% - 48px));
}

.teacher-hero-copy {
  width: min(44%, 520px);
}

.teacher-hero .hero-kicker {
  color: var(--green);
}

.teacher-hero h1 {
  color: var(--deep);
  font-size: 46px;
}

.teacher-hero .hero-copy {
  color: #343845;
}

.teacher-hero .button-ghost {
  border-color: rgba(28, 35, 87, 0.46);
  color: var(--deep);
  background: rgba(255, 255, 255, 0.56);
}

.teacher-hero .hero-note {
  color: #656a73;
}

.section-inner {
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
}

.problem-band {
  padding: 70px 0;
  border-bottom: 1px solid var(--line);
  background: var(--white);
}

.reason-band {
  padding: 72px 0;
  border-bottom: 1px solid var(--line);
  background: var(--white);
}

.reason-heading {
  max-width: 760px;
  margin-bottom: 36px;
}

.reason-heading h2 {
  margin: 0;
  color: var(--deep);
  font-family: "Noto Sans JP", "Yu Gothic", "Hiragino Kaku Gothic ProN", sans-serif;
  font-size: 34px;
  font-weight: 700;
  line-height: 1.5;
}

.reason-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.reason-grid article {
  min-width: 0;
  padding: 30px 26px;
  border-right: 1px solid var(--line);
}

.reason-grid article:first-child {
  padding-left: 0;
}

.reason-grid article:last-child {
  padding-right: 0;
  border-right: 0;
}

.reason-grid span {
  color: var(--amber);
  font-size: 12px;
  font-weight: 800;
}

.reason-grid h3 {
  margin: 14px 0 0;
  color: var(--deep);
  font-size: 18px;
  line-height: 1.5;
}

.reason-grid p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
}

.reason-grid code {
  color: var(--deep);
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 0.88em;
  overflow-wrap: anywhere;
}

.problem-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 80px;
  align-items: start;
}

.problem-layout h2,
.section-heading h2,
.case-copy h2,
.principle-layout h2,
.faq-layout h2,
.contact-copy h2 {
  margin: 0;
  color: var(--deep);
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: 38px;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.5;
}

.problem-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.problem-list li {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 16px;
  align-items: center;
  min-height: 58px;
  border-bottom: 1px solid var(--line);
  font-size: 16px;
}

.problem-list span {
  color: var(--amber);
  font-size: 12px;
  font-weight: 800;
}

.product-section,
.capability-section,
.flow-section,
.faq-section {
  padding: 108px 0;
}

.product-section {
  background: var(--paper);
}

.section-heading.product-section-heading {
  max-width: none;
  margin-bottom: 32px;
}

.product-heading-accessible {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.product-heading-visual {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  margin: 16px 0 0;
  border: 1px solid rgba(24, 30, 38, 0.1);
  border-radius: 12px;
  background: #eee8df;
  box-shadow: 0 24px 60px rgba(24, 30, 38, 0.14);
}

.product-heading-visual picture,
.product-heading-visual img {
  display: block;
  width: 100%;
  max-width: 100%;
}

.product-heading-visual picture {
  aspect-ratio: 1200 / 630;
}

.product-heading-visual img {
  height: 100%;
  object-fit: contain;
}

@media (max-width: 720px) {
  .product-heading-visual picture {
    aspect-ratio: 1003 / 1568;
  }
}

.section-heading {
  max-width: 830px;
  margin-bottom: 42px;
}

.section-heading-narrow {
  max-width: 650px;
}

.section-heading > p:last-child {
  max-width: 710px;
  margin: 18px 0 0;
  color: var(--muted);
}

.view-switch {
  display: inline-grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  margin-bottom: 14px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--white);
}

.view-switch-button {
  min-height: 42px;
  padding: 0 18px;
  border: 0;
  border-radius: 5px;
  color: var(--muted);
  background: transparent;
  cursor: pointer;
}

.view-switch-button.is-active {
  color: var(--white);
  background: var(--deep);
}

.product-frame {
  overflow: hidden;
  min-height: 580px;
  border: 1px solid #d7dbe4;
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.browser-bar {
  display: flex;
  gap: 7px;
  align-items: center;
  height: 46px;
  padding: 0 16px;
  border-bottom: 1px solid var(--line);
  background: #eceef2;
}

.browser-bar > span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #b4b9c2;
}

.browser-bar > div {
  width: min(360px, 45%);
  margin-left: 12px;
  padding: 4px 14px;
  border: 1px solid #d4d7de;
  border-radius: 5px;
  color: #7d828b;
  background: var(--white);
  font-size: 11px;
}

.product-view {
  display: grid;
  grid-template-columns: 210px 1fr;
  min-height: 534px;
}

.product-view[hidden] {
  display: none;
}

.product-view-actual {
  display: block;
  min-height: 0;
  padding: clamp(12px, 2.4vw, 28px);
  background: #f4f6fa;
}

.actual-product-screen,
.actual-product-screen img {
  display: block;
  width: 100%;
}

.actual-product-screen img {
  height: auto;
  border: 1px solid #dfe3ec;
  border-radius: 6px;
  background: var(--white);
}

.mock-sidebar {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 30px 20px;
  color: #cfd3e4;
  background: var(--deep);
}

.mock-logo {
  margin-bottom: 26px;
  color: var(--white);
  font-size: 20px;
  font-weight: 800;
}

.mock-sidebar strong {
  margin-bottom: 10px;
  color: #8f98bc;
  font-size: 11px;
}

.mock-sidebar a {
  padding: 10px 12px;
  border-radius: 5px;
  font-size: 13px;
  text-decoration: none;
}

.mock-sidebar a.is-current {
  color: var(--deep);
  background: var(--white);
}

.mock-content {
  min-width: 0;
  padding: 38px 42px;
  background: #fbfbfc;
}

.mock-header-row {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: flex-start;
}

.mock-header-row small,
.estimate-row small,
.metric-strip small,
.schedule-list small {
  display: block;
  color: #8a8f99;
  font-size: 10px;
}

.mock-header-row h3 {
  margin: 5px 0 0;
  color: var(--deep);
  font-size: 24px;
  letter-spacing: 0;
}

.mock-status {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 11px;
  border-radius: 999px;
  color: var(--green);
  background: #e9f4f0;
  font-size: 11px;
  font-weight: 800;
  white-space: nowrap;
}

.mock-status-warm {
  color: #8b5b13;
  background: #fff1d9;
}

.booking-fields {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 12px;
  margin-top: 34px;
}

.booking-fields label {
  color: #777c86;
  font-size: 11px;
}

.booking-fields span {
  display: block;
  min-height: 50px;
  margin-top: 6px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--ink);
  background: var(--white);
  font-size: 14px;
  font-weight: 700;
}

.availability-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
  margin-top: 25px;
}

.availability-grid button {
  min-height: 48px;
  border: 1px solid #cfd4df;
  border-radius: 6px;
  color: #565c68;
  background: var(--white);
}

.availability-grid button.is-selected {
  border-color: var(--indigo);
  color: var(--white);
  background: var(--indigo);
}

.estimate-row {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  margin-top: 34px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.estimate-row strong {
  display: block;
  margin-top: 4px;
  color: var(--deep);
  font-size: 18px;
}

.mock-primary {
  min-width: 170px;
  min-height: 46px;
  border: 0;
  border-radius: 6px;
  color: var(--white);
  background: var(--indigo);
  font-weight: 800;
}

.metric-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: 32px;
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
  background: var(--line);
}

.metric-strip > div {
  min-height: 88px;
  padding: 18px;
  background: var(--white);
}

.metric-strip strong {
  display: block;
  margin-top: 3px;
  color: var(--deep);
  font-size: 24px;
}

.schedule-list {
  margin-top: 22px;
  border-top: 1px solid var(--line);
}

.schedule-list > div {
  display: grid;
  grid-template-columns: 58px 4px 1fr auto;
  gap: 14px;
  align-items: center;
  min-height: 82px;
  border-bottom: 1px solid var(--line);
}

.schedule-list time {
  color: var(--deep);
  font-size: 13px;
  font-weight: 800;
}

.schedule-line {
  width: 4px;
  height: 42px;
  border-radius: 2px;
}

.schedule-line-blue {
  background: var(--indigo);
}

.schedule-line-amber {
  background: var(--amber);
}

.schedule-line-green {
  background: var(--green);
}

.schedule-list p {
  margin: 0;
}

.schedule-list strong {
  display: block;
  font-size: 14px;
}

.schedule-list > div > span:last-child {
  color: #747984;
  font-size: 12px;
}

.product-caption {
  margin: 16px 0 0;
  color: #858a93;
  font-size: 11px;
}

.capability-section {
  border-top: 1px solid var(--line);
  background: var(--white);
}

.capability-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--line);
}

.capability-list article {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 18px;
  padding: 34px 32px 34px 0;
  border-bottom: 1px solid var(--line);
}

.capability-list article:nth-child(odd) {
  padding-right: 42px;
  border-right: 1px solid var(--line);
}

.capability-list article:nth-child(even) {
  padding-left: 42px;
}

.capability-list > article > span {
  color: var(--amber);
  font-size: 12px;
  font-weight: 800;
}

.capability-list h3,
.flow-list h3 {
  margin: 0;
  color: var(--deep);
  font-size: 18px;
  letter-spacing: 0;
}

.capability-list p,
.flow-list p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.case-section {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  min-height: 660px;
  background: var(--deep);
}

.case-photo {
  min-height: 580px;
  background-image: url("https://gaienpianosalon.com/wp-content/uploads/2026/02/IMG_0530.jpg");
  background-position: center;
  background-size: cover;
}

.teacher-case-photo {
  background-image: url("./assets/oto-base-teacher-hero.png");
  background-position: 28% center;
}

.case-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 76px clamp(40px, 7vw, 110px);
  color: var(--white);
}

.case-copy h2 {
  color: var(--white);
}

.case-copy > p:not(.eyebrow) {
  margin: 24px 0 0;
  color: #d9dbea;
}

.case-copy dl {
  margin: 34px 0 0;
}

.case-copy dl > div {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 18px;
  padding: 15px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.case-copy dt {
  color: #9ea6cd;
  font-size: 12px;
}

.case-copy dd {
  margin: 0;
  font-size: 14px;
}

.flow-section {
  background: var(--paper);
}

.flow-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.flow-list li {
  min-height: 250px;
  padding: 28px 24px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.flow-list li:last-child {
  border-right: 0;
}

.flow-list > li > span {
  display: block;
  margin-bottom: 38px;
  color: var(--amber);
  font-size: 12px;
  font-weight: 800;
}

.principle-band {
  padding: 104px 0;
  color: var(--ink);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--white);
}

.principle-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
  gap: 76px;
  align-items: start;
}

.principle-layout h2 {
  margin-bottom: 22px;
  color: var(--deep);
}

.principle-copy > p:not(.eyebrow) {
  margin: 0;
  color: var(--muted);
}

.principle-band .eyebrow {
  color: #9a5d00;
}

.commission-zero {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-top: 38px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.commission-zero span {
  max-width: 150px;
  color: var(--deep);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.6;
}

.commission-zero strong {
  color: var(--indigo);
  font-size: 64px;
  font-weight: 800;
  line-height: 1;
}

.fee-comparison {
  border-top: 2px solid var(--deep);
  border-bottom: 1px solid var(--line);
}

.comparison-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 62px;
  padding: 14px 18px;
}

.comparison-heading p,
.comparison-heading span,
.comparison-name,
.comparison-type,
.comparison-formula,
.comparison-result,
.comparison-note {
  margin: 0;
}

.comparison-heading p {
  color: var(--deep);
  font-size: 15px;
  font-weight: 800;
}

.comparison-heading span {
  color: var(--muted);
  font-size: 12px;
}

.comparison-row {
  display: grid;
  grid-template-columns: minmax(160px, 0.85fr) minmax(250px, 1.45fr) minmax(112px, auto);
  gap: 22px;
  align-items: center;
  padding: 24px 18px;
  border-top: 1px solid var(--line);
}

.comparison-row-featured {
  border-left: 4px solid var(--indigo);
  background: #f2f4ff;
}

.comparison-name {
  color: var(--deep);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.55;
}

.comparison-type {
  margin-top: 4px;
  color: var(--muted);
  font-size: 11px;
}

.comparison-formula {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 9px;
  align-items: center;
  color: #3e4350;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.65;
}

.comparison-formula span {
  color: #a4a8b2;
}

.comparison-result {
  justify-self: end;
  color: #7a4a42;
  font-size: 11px;
  font-weight: 800;
  text-align: right;
}

.comparison-result-zero {
  color: var(--indigo);
  font-size: 13px;
}

.comparison-note {
  padding: 16px 18px 18px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 11px;
  line-height: 1.75;
}

.faq-section {
  background: var(--white);
}

.faq-layout {
  display: grid;
  grid-template-columns: 0.65fr 1.35fr;
  gap: 80px;
}

.faq-list {
  border-top: 1px solid var(--line);
}

.faq-list details {
  border-bottom: 1px solid var(--line);
}

.faq-list summary {
  padding: 22px 36px 22px 0;
  color: var(--deep);
  font-weight: 800;
  cursor: pointer;
}

.faq-list details p {
  margin: -4px 0 22px;
  color: var(--muted);
}

.contact-section {
  padding: 108px 0;
  background: var(--silver);
}

.contact-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 72px;
  align-items: start;
}

.contact-copy > p:not(.eyebrow):not(.contact-meta) {
  margin: 24px 0 0;
  color: var(--muted);
}

.contact-points {
  margin: 34px 0 0;
  border-top: 1px solid #d6d9df;
}

.contact-points > div {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 18px;
  padding: 16px 0;
  border-bottom: 1px solid #d6d9df;
}

.contact-points dt,
.contact-points dd {
  margin: 0;
}

.contact-points dt {
  color: var(--indigo);
  font-size: 12px;
  font-weight: 800;
}

.contact-points dd {
  color: #5f646f;
  font-size: 13px;
}

.contact-preparation {
  margin-top: 34px;
}

.contact-preparation h3 {
  margin: 0;
  color: var(--deep);
  font-size: 15px;
  font-weight: 800;
}

.preparation-intro {
  margin: 10px 0 0;
  color: #686e79;
  font-size: 12px;
}

.contact-preparation ul {
  display: grid;
  gap: 0;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.contact-preparation li {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 14px;
  padding: 12px 0;
  border-top: 1px solid #d6d9df;
}

.contact-preparation li:last-child {
  border-bottom: 1px solid #d6d9df;
}

.contact-preparation strong {
  color: var(--indigo);
  font-size: 12px;
}

.contact-preparation span {
  color: #5f646f;
  font-size: 12px;
}

.preparation-examples {
  margin: 12px 0 0;
  color: #777d88;
  font-size: 11px;
}

.website-option {
  margin-top: 18px;
  padding: 15px 16px;
  border-left: 3px solid var(--gold);
  background: rgba(255, 255, 255, 0.72);
}

.website-option strong {
  display: block;
  color: var(--deep);
  font-size: 12px;
}

.website-option p {
  margin: 5px 0 0;
  color: #646a75;
  font-size: 11px;
}

.contact-meta {
  margin: 22px 0 0;
  color: var(--indigo);
  font-size: 13px;
  font-weight: 800;
}

.contact-email-link {
  display: inline-block;
  margin-top: 10px;
  color: var(--deep);
  font-size: 14px;
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: rgba(33, 42, 75, 0.35);
  text-underline-offset: 4px;
}

.contact-form {
  display: grid;
  gap: 20px;
  padding: 34px;
  border: 1px solid #d9dce3;
  border-radius: 8px;
  background: var(--white);
}

.form-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
}

.form-heading p {
  margin: 0;
  color: var(--deep);
  font-size: 18px;
  font-weight: 800;
}

.form-heading span {
  flex: 0 0 auto;
  color: #777d88;
  font-size: 11px;
  font-weight: 700;
}

.form-intro {
  margin: -12px 0 0;
  color: #737985;
  font-size: 12px;
}

.form-group {
  display: grid;
  gap: 16px;
  min-width: 0;
  margin: 0;
  padding: 22px 0 0;
  border: 0;
  border-top: 1px solid #e0e2e7;
}

.form-group legend {
  padding: 0 12px 0 0;
  color: var(--indigo);
  font-size: 12px;
  font-weight: 800;
}

.contact-form label {
  display: block;
  color: #4f5460;
  font-size: 13px;
  font-weight: 700;
}

.field-required,
.field-optional {
  margin-left: 5px;
  font-size: 10px;
  font-weight: 700;
}

.field-required {
  color: #a64d4d;
}

.field-optional {
  color: #888d96;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  display: block;
  width: 100%;
  margin-top: 7px;
  padding: 12px 13px;
  border: 1px solid #cfd3dc;
  border-radius: 5px;
  color: var(--ink);
  background: var(--white);
  outline: none;
}

.contact-form input,
.contact-form select {
  min-height: 48px;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form .form-checkbox {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 34px;
  cursor: pointer;
}

.contact-form .form-checkbox input {
  flex: 0 0 18px;
  width: 18px;
  min-height: 18px;
  margin: 0;
  padding: 0;
  accent-color: var(--indigo);
}

.contact-form .form-checkbox span {
  color: #535965;
  font-size: 12px;
  font-weight: 700;
}

.form-security-note {
  margin: -2px 0 0;
  padding-left: 13px;
  border-left: 2px solid #b7bdc8;
  color: #777d88;
  font-size: 11px;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--indigo);
  box-shadow: 0 0 0 3px rgba(57, 70, 207, 0.12);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.capacity-row:not(.has-capacity) > label:first-child {
  grid-column: 1 / -1;
}

.conditional-field[hidden] {
  display: none;
}

.button-submit {
  width: 100%;
  margin-top: 4px;
}

.form-note {
  margin: -4px 0 0;
  color: #888d96;
  font-size: 11px;
  text-align: center;
}

.form-result {
  display: grid;
  gap: 3px;
  padding: 12px 14px;
  border-left: 3px solid var(--green);
  color: #246554;
  background: #edf6f3;
  font-size: 13px;
}

.form-result strong {
  font-size: 13px;
}

.form-result span {
  color: #54746b;
  font-size: 11px;
}

.form-result[hidden] {
  display: none;
}

.site-footer {
  display: grid;
  justify-items: center;
  gap: 14px;
  padding: 54px 24px 34px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  background: var(--paper);
  text-align: center;
}

.site-footer img {
  width: 156px;
}

.site-footer p {
  margin: 0;
  font-size: 12px;
}

.footer-small {
  color: #9a9ea6;
}

@media (max-width: 920px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .desktop-nav {
    display: none;
  }

  .teacher-hero-copy {
    width: min(56%, 560px);
  }

  .teacher-hero .hero-shade {
    background: rgba(255, 255, 255, 0.56);
  }

  .teacher-hero h1 {
    font-size: 42px;
  }

  .problem-layout,
  .faq-layout,
  .contact-layout,
  .principle-layout {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .case-section {
    grid-template-columns: 1fr;
  }

  .case-photo {
    min-height: 440px;
  }

  .flow-list {
    grid-template-columns: 1fr 1fr;
  }

  .flow-list li:nth-child(2) {
    border-right: 0;
  }

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

  .reason-grid article,
  .reason-grid article:first-child,
  .reason-grid article:last-child {
    padding: 28px;
  }

  .reason-grid article:nth-child(odd) {
    padding-left: 0;
  }

  .reason-grid article:nth-child(even) {
    padding-right: 0;
    border-right: 0;
  }

  .reason-grid article:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }
}

@media (max-width: 720px) {
  .site-header {
    min-height: 64px;
    padding: 10px 18px;
  }

  .brand-link {
    width: 128px;
  }

  .header-cta {
    min-height: 38px;
    padding: 0 13px;
    font-size: 12px;
  }

  .audience-switch {
    gap: 24px;
    min-height: 44px;
  }

  .audience-switch a {
    font-size: 12px;
  }

  .hero {
    min-height: 590px;
    height: min(78svh, 680px);
    background-position: 61% center;
  }

  .hero-inner,
  .section-inner {
    width: min(100% - 36px, var(--max));
  }

  .hero h1 {
    font-size: 34px;
    line-height: 1.5;
  }

  .space-hero h1 {
    font-size: 32px;
    line-height: 1.48;
  }

  .hero-mobile-break {
    display: initial;
  }

  .hero-copy {
    font-size: 15px;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
    max-width: 330px;
  }

  .hero-note {
    max-width: 330px;
    line-height: 1.7;
  }

  .teacher-hero {
    min-height: 620px;
    background-position: 31% center;
  }

  .teacher-hero .hero-shade {
    background: rgba(255, 255, 255, 0.78);
  }

  .teacher-hero .hero-inner {
    justify-content: flex-start;
  }

  .teacher-hero-copy {
    width: 100%;
  }

  .teacher-hero h1 {
    font-size: 34px;
  }

  .teacher-hero .hero-copy {
    max-width: 340px;
  }

  .problem-band,
  .reason-band,
  .principle-band {
    padding: 58px 0;
  }

  .reason-heading {
    margin-bottom: 28px;
  }

  .reason-heading h2 {
    font-size: 27px;
    line-height: 1.55;
  }

  .reason-grid {
    grid-template-columns: 1fr;
  }

  .reason-grid article,
  .reason-grid article:first-child,
  .reason-grid article:last-child,
  .reason-grid article:nth-child(odd),
  .reason-grid article:nth-child(even) {
    padding: 24px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .reason-grid article:last-child {
    border-bottom: 0;
  }

  .principle-layout {
    gap: 46px;
  }

  .commission-zero {
    align-items: center;
  }

  .commission-zero strong {
    font-size: 54px;
  }

  .comparison-heading {
    display: block;
    padding: 14px 12px;
  }

  .comparison-heading span {
    display: block;
    margin-top: 4px;
  }

  .comparison-row {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 22px 12px;
  }

  .comparison-row-featured {
    padding-left: 16px;
  }

  .comparison-result {
    justify-self: start;
    text-align: left;
  }

  .comparison-note {
    padding: 14px 12px 16px;
  }

  .product-section,
  .capability-section,
  .flow-section,
  .faq-section,
  .contact-section {
    padding: 76px 0;
  }

  .problem-layout h2,
  .section-heading h2,
  .case-copy h2,
  .principle-layout h2,
  .faq-layout h2,
  .contact-copy h2 {
    font-size: 28px;
    line-height: 1.55;
  }

  .view-switch {
    display: grid;
    width: 100%;
  }

  .view-switch-button {
    padding: 0 8px;
    font-size: 12px;
  }

  .product-frame {
    min-height: 0;
  }

  .browser-bar {
    height: 40px;
  }

  .browser-bar > div {
    width: 60%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .product-view {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .mock-sidebar {
    display: grid;
    grid-template-columns: auto 1fr 1fr 1fr;
    align-items: center;
    gap: 4px;
    overflow: hidden;
    padding: 12px;
  }

  .mock-logo {
    margin: 0 8px 0 0;
    font-size: 14px;
  }

  .mock-sidebar strong {
    display: none;
  }

  .mock-sidebar a {
    overflow: hidden;
    padding: 7px 6px;
    font-size: 10px;
    text-align: center;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .mock-content {
    padding: 24px 18px;
  }

  .mock-header-row h3 {
    font-size: 20px;
  }

  .booking-fields {
    grid-template-columns: 1fr 1fr;
  }

  .booking-fields label:first-child {
    grid-column: 1 / -1;
  }

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

  .estimate-row {
    align-items: stretch;
    flex-direction: column;
  }

  .mock-primary {
    width: 100%;
  }

  .metric-strip {
    grid-template-columns: 1fr 1fr 1fr;
  }

  .metric-strip > div {
    min-height: 76px;
    padding: 12px 10px;
  }

  .metric-strip strong {
    font-size: 20px;
  }

  .schedule-list > div {
    grid-template-columns: 48px 4px 1fr;
  }

  .schedule-list > div > span:last-child {
    display: none;
  }

  .capability-list {
    grid-template-columns: 1fr;
  }

  .capability-list article,
  .capability-list article:nth-child(odd),
  .capability-list article:nth-child(even) {
    padding: 26px 0;
    border-right: 0;
  }

  .case-photo {
    min-height: 360px;
  }

  .case-copy {
    padding: 58px 24px;
  }

  .case-copy dl > div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .flow-list {
    grid-template-columns: 1fr;
  }

  .flow-list li,
  .flow-list li:nth-child(2) {
    min-height: 0;
    padding: 24px 0;
    border-right: 0;
  }

  .flow-list > li > span {
    margin-bottom: 18px;
  }

  .contact-form {
    padding: 24px 18px;
  }

  .contact-points > div {
    grid-template-columns: 62px 1fr;
    gap: 12px;
  }

  .contact-preparation li {
    grid-template-columns: 74px 1fr;
    gap: 10px;
  }

  .form-heading {
    display: grid;
    gap: 3px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }
}

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

  .button {
    transition: none;
  }
}
