/*
Theme Name: TYPES ONE
Theme URI: https://example.com/types-one
Author: TYPES ONE
Description: TYPES ONEのデザインカンプをもとに制作した、レスポンシブ対応のオリジナルWordPressテーマです。
Version: 2.7.2
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: types-one
*/

:root {
  --to-navy: #12103f;
  --to-navy-soft: #20245c;
  --to-blue: #2f438f;
  --to-blue-bright: #3452c7;
  --to-sky: #dceeff;
  --to-lavender: #f0f2ff;
  --to-coral: #ff735f;
  --to-coral-dark: #d94d3c;
  --to-orange: #ef8332;
  --to-white: #fff;
  --to-text: #11113b;
  --to-muted: #505574;
  --to-line: #c9d3f4;
  --to-shadow: 0 14px 32px rgba(18, 16, 63, 0.15);
  --to-content: 1180px;
  --to-header: 78px;
}

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

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

body {
  margin: 0;
  color: var(--to-text);
  background: var(--to-white);
  font-family: "Noto Sans JP", "Yu Gothic", "YuGothic", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.8;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

html.types-one-intro-pending,
html.types-one-intro-pending body,
body.types-one-intro-active {
  overflow: hidden;
}

.types-one-intro {
  position: fixed;
  z-index: 110000;
  inset: 0;
  display: none;
  place-items: center;
  overflow: hidden;
  background: #fff;
  opacity: 0;
  touch-action: none;
  transition: opacity 0.45s ease;
}

html.types-one-intro-pending .types-one-intro,
.types-one-intro.is-leaving {
  display: grid;
}

html.types-one-intro-pending .types-one-intro {
  opacity: 1;
}

.types-one-intro.is-leaving {
  opacity: 0;
  pointer-events: none;
}

.types-one-intro__stage {
  display: grid;
  width: 100%;
  height: 100%;
  padding: 0;
  place-items: stretch;
}

.types-one-intro__video {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  background: #fff;
  object-fit: cover;
  object-position: center;
}

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

img {
  height: auto;
}

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

button,
summary {
  cursor: pointer;
}

a {
  color: inherit;
}

p,
h1,
h2,
h3,
ul {
  margin-top: 0;
}

ul {
  padding-left: 1.25em;
}

:focus-visible {
  outline: 3px solid #ffb000;
  outline-offset: 4px;
}

.screen-reader-text {
  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;
}

.screen-reader-text:focus {
  z-index: 100000;
  top: 8px;
  left: 8px;
  width: auto !important;
  height: auto !important;
  padding: 12px 18px !important;
  margin: 0 !important;
  clip: auto !important;
  color: var(--to-white);
  background: var(--to-navy);
}

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

.site-main {
  overflow: hidden;
}

.section {
  position: relative;
  padding-block: clamp(74px, 8vw, 128px);
}

.display-heading {
  margin-bottom: clamp(42px, 6vw, 78px);
  font-size: clamp(38px, 5vw, 70px);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1.12;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: min(100%, 580px);
  min-height: 76px;
  padding: 16px 44px;
  color: var(--to-navy);
  background: linear-gradient(135deg, #ff8a75, var(--to-coral));
  border: 0;
  border-radius: 999px;
  box-shadow: 0 12px 22px rgba(217, 77, 60, 0.25);
  font-size: clamp(18px, 2vw, 26px);
  font-weight: 900;
  line-height: 1.3;
  text-align: center;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.button:hover {
  box-shadow: 0 16px 30px rgba(217, 77, 60, 0.32);
  transform: translateY(-2px);
}

.button--light {
  background: var(--to-white);
  box-shadow: none;
}

/* Header */
.site-header {
  position: sticky;
  z-index: 1000;
  top: 0;
  height: var(--to-header);
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid rgba(18, 16, 63, 0.08);
  backdrop-filter: blur(12px);
  transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, backdrop-filter 0.2s ease;
}

.admin-bar .site-header {
  top: 32px;
}

.types-one-front-page .site-header {
  position: fixed;
  width: 100%;
  color: var(--to-white);
  background: transparent;
  border-bottom-color: transparent;
  backdrop-filter: none;
}

.types-one-front-page .site-header.is-scrolled {
  position: fixed;
  color: var(--to-navy);
  background: rgba(255, 255, 255, 0.97);
  border-bottom-color: rgba(18, 16, 63, 0.08);
  box-shadow: 0 8px 24px rgba(18, 16, 63, 0.08);
  backdrop-filter: blur(12px);
}

.site-header__inner {
  display: flex;
  align-items: center;
  gap: 28px;
  height: 100%;
}

.site-logo {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  flex: 0 0 auto;
}

.site-logo__link,
.custom-logo-link {
  display: inline-flex;
  align-items: center;
}

.site-logo__image,
.site-header .custom-logo {
  width: auto;
  max-width: 112px;
  max-height: 66px;
  object-fit: contain;
}

.site-navigation {
  margin-left: auto;
}

.primary-menu,
.site-navigation > ul {
  display: flex;
  align-items: center;
  gap: clamp(24px, 3.2vw, 48px);
  padding: 0;
  margin: 0;
  list-style: none;
}

.site-navigation a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-decoration: none;
}

.site-navigation a:hover {
  text-decoration: underline;
  text-underline-offset: 5px;
}

.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 10px 22px;
  color: var(--to-navy);
  background: var(--to-coral);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 900;
  text-decoration: none;
}

.menu-toggle {
  display: none;
  width: 48px;
  height: 48px;
  padding: 11px;
  margin-left: auto;
  background: transparent;
  border: 1px solid currentColor;
  border-radius: 50%;
}

.menu-toggle > span[aria-hidden="true"] {
  display: block;
  width: 100%;
  height: 2px;
  margin-block: 5px;
  background: currentColor;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.menu-toggle[aria-expanded="true"] > span[aria-hidden="true"]:nth-of-type(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] > span[aria-hidden="true"]:nth-of-type(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] > span[aria-hidden="true"]:nth-of-type(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Hero */
.hero {
  position: relative;
  min-height: clamp(760px, 80vw, 1095px);
  overflow: hidden;
  background: #0072c9;
}

.hero__sky {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0, 75, 170, 0.02), rgba(0, 70, 155, 0.12)),
    url("assets/images/hero-sky.jpg") center / cover no-repeat;
}

.hero__inner {
  position: relative;
  height: clamp(760px, 80vw, 1095px);
}

.hero__figure {
  position: absolute;
  z-index: 1;
  top: 0;
  left: 50%;
  width: 100vw;
  max-width: none;
  pointer-events: none;
  transform: translateX(-50%);
  user-select: none;
}

.hero__tagline {
  position: absolute;
  z-index: 3;
  top: 24%;
  left: 0;
  margin: 0;
}

.hero__tagline p {
  display: table;
  padding: 7px 20px 9px;
  margin: 0 0 10px;
  color: #0069bc;
  background: rgba(255, 255, 255, 0.97);
  font-size: clamp(28px, 3.25vw, 48px);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.25;
}

.hero__copy {
  position: absolute;
  z-index: 3;
  right: 1%;
  bottom: 10%;
  width: min(42%, 480px);
  margin: 0;
  color: var(--to-white);
  font-size: clamp(13px, 1.2vw, 17px);
  font-weight: 800;
  line-height: 2;
  text-shadow: 0 2px 12px rgba(5, 22, 68, 0.82);
}

html.types-one-fv-pending .types-one-front-page .hero__tagline p,
html.types-one-fv-pending .types-one-front-page .hero__figure {
  opacity: 0;
}

html.types-one-fv-revealing .types-one-front-page .hero__tagline p {
  animation: types-one-fv-tagline-in 0.62s cubic-bezier(0.22, 1, 0.36, 1) both;
  will-change: opacity, transform;
}

html.types-one-fv-revealing .types-one-front-page .hero__tagline p:nth-child(1) {
  animation-delay: 0.12s;
}

html.types-one-fv-revealing .types-one-front-page .hero__tagline p:nth-child(2) {
  animation-delay: 0.22s;
}

html.types-one-fv-revealing .types-one-front-page .hero__figure {
  --to-fv-hop-start: 40px;
  --to-fv-hop-over: -8px;
  --to-fv-hop-settle: 3px;
  animation: types-one-fv-figure-in 0.88s cubic-bezier(0.22, 1, 0.36, 1) 0.18s both;
  will-change: opacity, transform;
}

@keyframes types-one-fv-tagline-in {
  from {
    opacity: 0;
    transform: translate3d(0, 14px, 0);
  }

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

@keyframes types-one-fv-figure-in {
  0% {
    opacity: 0;
    transform: translate3d(-50%, var(--to-fv-hop-start), 0);
  }

  62% {
    opacity: 1;
    transform: translate3d(-50%, var(--to-fv-hop-over), 0);
  }

  80% {
    transform: translate3d(-50%, var(--to-fv-hop-settle), 0);
  }

  100% {
    opacity: 1;
    transform: translate3d(-50%, 0, 0);
  }
}

.hero-cta {
  display: flex;
  justify-content: center;
  padding: 48px 24px 38px;
  background: var(--to-white);
}

/* Problems */
.problems {
  padding-top: 36px;
  background: var(--to-white);
}

.problems .display-heading {
  position: relative;
  z-index: 2;
  margin-bottom: -48px;
}

.problems__stage {
  position: relative;
  min-height: 720px;
}

.problems__photo {
  position: absolute;
  right: 4%;
  bottom: 0;
  width: 74%;
  overflow: hidden;
  box-shadow: var(--to-shadow);
}

.problems__photo::after {
  position: absolute;
  inset: 0;
  content: "";
  box-shadow: inset 0 0 70px rgba(255, 255, 255, 0.78);
  pointer-events: none;
}

.problems__photo img {
  width: 100%;
}

.problem-bubbles {
  position: absolute;
  z-index: 2;
  top: 28px;
  right: 0;
  width: min(48%, 560px);
  padding: 0;
  margin: 0;
  list-style: none;
}

.problem-bubbles li {
  position: relative;
  padding: 15px 24px;
  margin-bottom: 24px;
  color: var(--to-navy);
  background: rgba(255, 255, 255, 0.96);
  border: 2px solid var(--to-blue-bright);
  font-size: clamp(16px, 1.7vw, 23px);
  font-weight: 900;
  line-height: 1.4;
  text-align: center;
}

.problem-bubbles li::after {
  position: absolute;
  bottom: -28px;
  left: 14%;
  width: 62px;
  height: 2px;
  content: "";
  background: var(--to-blue-bright);
  transform: rotate(-27deg);
  transform-origin: left;
}

.problem-bubbles li:nth-child(2) {
  margin-left: 8%;
}

.problem-bubbles li:nth-child(3) {
  margin-left: 16%;
}

/* Promise */
.promise {
  position: relative;
  background: var(--to-white);
}

.promise__heading {
  position: relative;
  z-index: 2;
  padding: 110px 0 105px;
  margin-top: -18px;
  color: var(--to-white);
  background: var(--to-blue);
  clip-path: polygon(0 16%, 100% 0, 100% 86%, 0 100%);
}

.promise__heading h2 {
  max-width: 1100px;
  margin: 0 auto;
  font-size: clamp(38px, 5.4vw, 74px);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1.2;
  text-align: center;
}

.promise__mobile-break {
  display: none;
}

.promise__media {
  position: relative;
  margin-top: -30px;
}

.promise__media > img {
  width: 100%;
  max-height: 760px;
  object-fit: cover;
  object-position: center;
}

.promise__copy {
  position: absolute;
  right: 0;
  bottom: 8%;
  width: min(59%, 700px);
  padding: 26px 32px;
  color: var(--to-navy);
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(5px);
}

.promise__copy p {
  margin-bottom: 18px;
}

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

/* Reasons */
.reasons {
  padding-top: clamp(90px, 10vw, 150px);
}

.reasons__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 46px);
}

.reason-card {
  --reason-media-ratio: 770 / 1073;
  --reason-image-width: 140.26%;
  --reason-image-left: -19.61%;
  --reason-image-top: -14.26%;
  --reason-title-left: 0%;
  --reason-title-top: 7.5%;
  --reason-title-tilt: 2.5deg;

  min-width: 0;
}

.reason-card--plan {
  --reason-image-left: -19.87%;
  --reason-image-top: -14.82%;
  --reason-title-left: 0.5%;
  --reason-title-top: 7.8%;
}

.reason-card--support {
  --reason-image-left: -20.26%;
  --reason-image-top: -11.09%;
  --reason-title-left: 1%;
  --reason-title-top: 8%;
}

.reason-card__media {
  position: relative;
  aspect-ratio: var(--reason-media-ratio);
  overflow: visible;
  border-radius: 0;
  box-shadow: none;
}

.reason-card__media img {
  position: absolute;
  top: var(--reason-image-top);
  left: var(--reason-image-left);
  display: block;
  width: var(--reason-image-width);
  max-width: none;
  height: auto;
  aspect-ratio: auto;
  object-fit: contain;
  pointer-events: none;
}

.reason-card__media h3 {
  position: absolute;
  z-index: 2;
  inset: var(--reason-title-top) auto auto var(--reason-title-left);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  padding: 16px 11px;
  margin: 0;
  color: var(--to-white);
  background: var(--to-navy);
  font-size: clamp(17px, 1.55vw, 22px);
  font-weight: 900;
  line-height: 1.15;
  text-align: center;
  white-space: nowrap;
  writing-mode: vertical-rl;
  transform: rotate(var(--reason-title-tilt));
  transform-origin: top center;
}

.reason-card p {
  padding: 0 8px;
  margin: 28px 0 0;
  color: var(--to-navy);
  font-size: clamp(14px, 1.15vw, 16px);
  font-weight: 700;
  line-height: 1.9;
}

/* Support */
.support {
  position: relative;
  padding-top: clamp(50px, 6vw, 86px);
  overflow: hidden;
  background: var(--to-lavender);
  clip-path: polygon(0 4%, 100% 0, 100% 98%, 0 100%);
}

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

.support::before {
  opacity: 0.7;
  background-image: repeating-linear-gradient(-13deg, transparent 0 76px, rgba(47, 67, 143, 0.13) 77px 80px, transparent 81px 145px);
}

.support::after {
  background: linear-gradient(to bottom, rgba(240, 242, 255, 0.9), transparent 18%, transparent 86%, rgba(240, 242, 255, 0.9));
}

.support > .site-container {
  position: relative;
  z-index: 2;
}

.support__lead {
  position: relative;
  min-height: 720px;
}

.support__art {
  position: absolute;
  top: -28px;
  left: 50%;
  width: min(1120px, 100%);
  aspect-ratio: 1201 / 923;
  max-width: none;
  transform: translateX(-50%);
}

.support__hero {
  position: relative;
  z-index: 1;
  width: 100%;
}

.support__lead > p {
  position: absolute;
  z-index: 2;
  bottom: 38px;
  left: 4%;
  margin: 0;
  color: var(--to-blue);
  font-size: clamp(15px, 1.6vw, 22px);
  font-weight: 900;
  line-height: 1.45;
}

.support__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  margin-top: 18px;
}

.support-card {
  position: relative;
  min-height: 320px;
  padding: 34px 36px;
  overflow: hidden;
  color: var(--to-white);
  background: var(--to-navy);
}

.support-card:nth-child(2),
.support-card:nth-child(3) {
  background: var(--to-blue);
}

.support-card__icon {
  position: absolute;
  right: -3%;
  bottom: -10%;
  width: 55%;
  filter: grayscale(1) brightness(2.8);
  opacity: 0.28;
}

.support-card__eyebrow {
  position: relative;
  z-index: 2;
  display: block;
  margin-bottom: 8px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(25px, 3.1vw, 42px);
  font-style: italic;
  font-weight: 400;
  line-height: 1.15;
}

.support-card h3 {
  position: relative;
  z-index: 2;
  margin-bottom: 18px;
  font-size: clamp(23px, 2.6vw, 36px);
  font-weight: 900;
  line-height: 1.35;
}

.support-card p {
  position: relative;
  z-index: 2;
  max-width: 75%;
  margin: 0;
  font-size: clamp(13px, 1.15vw, 16px);
  font-weight: 600;
  line-height: 1.9;
}

/* Voices */
.voices {
  background: var(--to-white);
}

.voices__heading {
  position: relative;
  display: flex;
  justify-content: flex-end;
  padding-bottom: 28px;
  margin-bottom: 42px;
  border-bottom: 4px solid var(--to-navy);
}

.voices__heading::after {
  position: absolute;
  right: -2px;
  bottom: -5px;
  width: 74px;
  height: 4px;
  content: "";
  background: var(--to-navy);
  transform: rotate(29deg);
  transform-origin: right;
}

.voices__heading h2 {
  margin: 0;
  font-size: clamp(38px, 5vw, 68px);
  font-weight: 900;
  letter-spacing: -0.04em;
}

.voices__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.voice-card {
  background: #b7b7b7;
}

.voice-card iframe,
.voice-card__placeholder {
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
}

.voice-card__placeholder {
  display: grid;
  color: var(--to-navy);
  background: #b7b7b7;
  place-items: center;
  font-size: clamp(26px, 4vw, 54px);
  font-weight: 900;
}

.section-cta {
  padding: 10px 24px 86px;
  text-align: center;
}

/* Contact */
.contact {
  padding-block: clamp(76px, 8vw, 120px);
  color: var(--to-white);
  background: var(--to-blue);
}

.contact__inner {
  width: min(calc(100% - 48px), 980px);
}

.contact h2 {
  margin-bottom: clamp(42px, 6vw, 72px);
  font-size: clamp(42px, 6vw, 76px);
  font-weight: 900;
  letter-spacing: -0.04em;
  text-align: center;
}

.contact-form {
  max-width: 840px;
  margin-inline: auto;
}

.form-field {
  margin-bottom: 30px;
}

.form-field label {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
  font-size: clamp(19px, 2.1vw, 28px);
  font-weight: 900;
}

.required {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  padding: 3px 13px;
  color: var(--to-navy);
  background: var(--to-orange);
  border-radius: 999px;
  font-size: 12px;
  line-height: 1;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  color: var(--to-navy);
  background: var(--to-sky);
  border: 2px solid transparent;
  border-radius: 8px;
}

.form-field input,
.form-field select {
  min-height: 66px;
  padding: 14px 18px;
}

.form-field textarea {
  min-height: 320px;
  padding: 18px;
  resize: vertical;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: #ffb000;
  outline: none;
  box-shadow: 0 0 0 3px rgba(255, 176, 0, 0.24);
}

.form-field--honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.contact-form__note {
  margin: 0 0 22px;
  font-size: 13px;
  text-align: center;
}

.contact-form__note a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.contact-form .button {
  display: flex;
  margin-inline: auto;
}

.form-status {
  max-width: 840px;
  padding: 16px 20px;
  margin: 0 auto 28px;
  color: var(--to-navy);
  background: var(--to-white);
  border-left: 6px solid #2d9d60;
}

.form-status--error {
  border-left-color: var(--to-coral-dark);
}

/* FAQ */
.faq {
  padding-block: clamp(100px, 10vw, 155px);
  background: var(--to-lavender);
  clip-path: polygon(0 4%, 100% 0, 100% 96%, 0 100%);
}

.faq__heading {
  position: relative;
  margin-bottom: 58px;
}

.faq__heading h2 {
  position: relative;
  z-index: 2;
  margin: 0;
  font-size: clamp(42px, 6vw, 76px);
  font-weight: 900;
  letter-spacing: -0.04em;
}

.faq__heading span {
  position: absolute;
  top: -25px;
  left: 50%;
  color: rgba(255, 255, 255, 0.85);
  font-family: Arial, Helvetica, sans-serif;
  font-size: clamp(70px, 12vw, 150px);
  font-weight: 900;
  line-height: 1;
  transform: rotate(14deg);
}

.faq__list {
  display: grid;
  gap: 30px;
}

.faq-item summary {
  position: relative;
  padding: 0 52px 14px 4px;
  color: var(--to-blue);
  font-size: clamp(18px, 2vw, 27px);
  font-weight: 900;
  line-height: 1.45;
  list-style: none;
}

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

.faq-item summary::after {
  position: absolute;
  top: 2px;
  right: 8px;
  width: 16px;
  height: 16px;
  content: "";
  border-right: 3px solid currentColor;
  border-bottom: 3px solid currentColor;
  transform: rotate(45deg);
  transition: transform 0.2s ease;
}

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

.faq-item__answer {
  display: grid;
  grid-template-columns: 95px 1fr;
  align-items: center;
  min-height: 140px;
  padding: 24px 34px;
  background: var(--to-white);
  border: 2px solid var(--to-line);
  box-shadow: 0 6px 10px rgba(18, 16, 63, 0.08);
}

.faq-item__answer > span {
  color: rgba(18, 16, 63, 0.17);
  font-family: Arial, Helvetica, sans-serif;
  font-size: clamp(58px, 7vw, 94px);
  font-weight: 900;
  line-height: 1;
}

.faq-item__answer p {
  margin: 0;
  color: var(--to-navy);
  font-size: clamp(15px, 1.45vw, 19px);
  font-weight: 800;
  line-height: 1.7;
}

/* Courses */
.courses-hero {
  padding: clamp(58px, 7vw, 92px) 0;
  color: var(--to-white);
  background: var(--to-blue);
}

.courses-hero h1 {
  margin: 0;
  font-size: clamp(46px, 6vw, 78px);
  font-weight: 900;
}

.course-section {
  padding-block: clamp(72px, 8vw, 118px);
  background: var(--to-white);
}

.course-section--tint {
  background: var(--to-lavender);
}

.course-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: start;
  gap: clamp(42px, 6vw, 86px);
}

.course-layout--reverse .course-visual {
  order: 2;
}

.course-layout--reverse .course-copy {
  order: 1;
}

.course-visual__image {
  position: relative;
  overflow: hidden;
  box-shadow: var(--to-shadow);
  transform: rotate(-1.2deg);
}

.course-layout--reverse .course-visual__image {
  transform: rotate(1.2deg);
}

.course-visual__image img {
  width: 100%;
  aspect-ratio: 768 / 510;
  object-fit: cover;
}

.course-visual__image::after {
  position: absolute;
  inset: auto 0 0;
  height: 42%;
  content: "";
  background: linear-gradient(transparent, rgba(18, 16, 63, 0.72));
}

.course-visual__image h2 {
  position: absolute;
  z-index: 2;
  right: 18px;
  bottom: 14px;
  left: 18px;
  margin: 0;
  color: var(--to-white);
  font-size: clamp(28px, 3.7vw, 50px);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1.15;
  text-shadow: 0 3px 10px rgba(0, 0, 0, 0.5);
}

.course-targets {
  display: grid;
  justify-items: start;
  gap: 10px;
  padding: 0;
  margin: 28px 0 0;
  list-style: none;
}

.course-targets li {
  max-width: 100%;
  padding: 8px 20px;
  color: var(--to-navy);
  background: var(--to-orange);
  border-radius: 999px;
  font-size: clamp(14px, 1.4vw, 18px);
  font-weight: 900;
  line-height: 1.35;
}

.course-copy {
  padding-top: 12px;
}

.course-copy__description {
  margin-bottom: clamp(38px, 5vw, 70px);
  color: var(--to-navy);
  font-size: clamp(16px, 1.5vw, 20px);
  font-weight: 800;
  line-height: 1.85;
}

.price-list {
  display: grid;
  gap: 26px;
}

.price-row {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(180px, 0.8fr);
  align-items: center;
  gap: 28px;
}

.price-row span {
  font-size: clamp(15px, 1.5vw, 20px);
  font-weight: 900;
  line-height: 1.5;
}

.price-row strong {
  color: var(--to-navy);
  font-size: clamp(22px, 2.4vw, 32px);
  font-weight: 900;
  white-space: nowrap;
}

.courses-cta {
  padding-block: clamp(72px, 8vw, 110px);
  text-align: center;
}

.courses-cta p {
  margin-bottom: 8px;
  color: var(--to-blue);
  font-weight: 900;
}

.courses-cta h2 {
  margin-bottom: 32px;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.35;
}

/* Footer */
.site-footer {
  position: relative;
  padding: clamp(72px, 8vw, 110px) 0 28px;
  color: var(--to-navy);
  background: var(--to-white);
}

.site-footer__grid {
  display: grid;
  grid-template-columns: 0.75fr 0.8fr 1.45fr;
  align-items: start;
  gap: 48px;
}

.site-footer .site-logo__image,
.site-footer .custom-logo {
  width: 152px;
  max-height: none;
}

.footer-menu,
.footer-courses ul {
  display: grid;
  gap: 8px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.footer-menu a,
.footer-courses a {
  font-weight: 800;
  text-decoration: none;
}

.footer-menu a:hover,
.footer-courses a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.footer-courses h2 {
  display: inline-flex;
  padding: 2px 8px;
  margin-bottom: 14px;
  color: var(--to-white);
  background: var(--to-blue);
  font-size: 17px;
  line-height: 1.4;
}

.footer-courses ul {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 28px;
}

.site-footer__bottom {
  padding-top: 44px;
  color: var(--to-muted);
  font-size: 12px;
}

/* Generic WordPress content */
.content-page {
  min-height: 60vh;
  padding-block: clamp(70px, 8vw, 120px);
}

.content-page__inner {
  width: min(calc(100% - 48px), 880px);
}

.content-page__header {
  padding-bottom: 28px;
  margin-bottom: 44px;
  border-bottom: 4px solid var(--to-blue);
}

.content-page__header h1 {
  margin: 0;
  font-size: clamp(36px, 5vw, 62px);
  line-height: 1.25;
}

.entry-content > * + * {
  margin-top: 1.5em;
}

.entry-content a {
  color: var(--to-blue);
}

/* Services page */
.services-page {
  min-height: 70vh;
  background: #f6f7ff;
}

.services-page__hero {
  position: relative;
  padding: clamp(76px, 9vw, 128px) 0 clamp(116px, 13vw, 190px);
  overflow: hidden;
  color: var(--to-white);
  background:
    radial-gradient(circle at 82% 18%, rgba(255, 255, 255, 0.12) 0 9%, transparent 9.4%),
    linear-gradient(132deg, var(--to-navy) 0 42%, var(--to-blue) 100%);
}

.services-page__hero::before,
.services-page__hero::after {
  position: absolute;
  content: "";
  pointer-events: none;
}

.services-page__hero::before {
  top: -46%;
  right: -9%;
  width: clamp(320px, 48vw, 760px);
  aspect-ratio: 1;
  border: clamp(42px, 6vw, 90px) solid rgba(255, 255, 255, 0.06);
  border-radius: 50%;
}

.services-page__hero::after {
  right: -4vw;
  bottom: -76px;
  width: min(48vw, 660px);
  height: 176px;
  background: var(--to-coral);
  transform: skewY(-5deg);
}

.services-page__hero-inner {
  position: relative;
  z-index: 1;
  width: min(calc(100% - 48px), 980px);
}

.services-page__eyebrow {
  margin: 0 0 18px;
  color: #becaff;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.22em;
}

.services-page__hero h1 {
  max-width: 800px;
  margin: 0;
  font-size: clamp(42px, 7vw, 82px);
  font-weight: 900;
  letter-spacing: -0.045em;
  line-height: 1.12;
}

.services-page__summary {
  max-width: 680px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(16px, 2vw, 20px);
  font-weight: 700;
  line-height: 1.85;
}

.services-page__hero-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 12px 30px;
  margin-top: 32px;
  color: var(--to-navy);
  background: var(--to-coral);
  border-radius: 999px;
  box-shadow: 0 12px 28px rgba(7, 7, 39, 0.28);
  font-weight: 900;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.services-page__hero-link:hover {
  box-shadow: 0 16px 34px rgba(7, 7, 39, 0.34);
  transform: translateY(-2px);
}

.services-page__body {
  padding-bottom: clamp(72px, 9vw, 130px);
}

.services-page__content {
  position: relative;
  z-index: 2;
  width: min(calc(100% - 48px), 1080px);
  margin-top: clamp(-92px, -7vw, -58px);
}

.services-document {
  padding: clamp(40px, 6vw, 78px);
  background: var(--to-white);
  border-top: 8px solid var(--to-coral);
  box-shadow: 0 26px 70px rgba(18, 16, 63, 0.14);
}

.services-document .entry-content {
  color: var(--to-text);
  font-size: clamp(15px, 1.6vw, 17px);
  line-height: 1.9;
}

.services-document .entry-content > * + * {
  margin-top: 0;
}

.services-document .entry-content > h2 {
  position: relative;
  padding-left: 22px;
  margin: clamp(62px, 8vw, 96px) 0 30px;
  color: var(--to-navy);
  font-size: clamp(28px, 4vw, 46px);
  font-weight: 900;
  letter-spacing: -0.035em;
  line-height: 1.32;
}

.services-document .entry-content > h2::before {
  position: absolute;
  top: 0.08em;
  bottom: 0.08em;
  left: 0;
  width: 7px;
  content: "";
  background: var(--to-coral);
  transform: skewY(-12deg);
}

.services-document .entry-content > h2:first-of-type {
  margin-top: clamp(46px, 6vw, 72px);
}

.service-editor-note {
  display: none;
}

.service-lead {
  max-width: 820px;
  padding-bottom: clamp(32px, 5vw, 56px);
  margin: 0 auto;
  color: var(--to-navy);
  border-bottom: 1px solid var(--to-line);
  font-size: clamp(18px, 2.3vw, 24px);
  font-weight: 800;
  line-height: 1.9;
}

.service-principle-grid,
.service-feature-grid,
.service-course-grid {
  display: grid;
  width: 100%;
  max-width: none !important;
  gap: clamp(18px, 2.5vw, 28px);
  margin: 0 !important;
}

.services-document .service-principle-grid > *,
.services-document .service-feature-grid > *,
.services-document .service-course-grid > * {
  width: 100%;
  max-width: none !important;
  margin: 0 !important;
}

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

.service-principle-card {
  position: relative;
  min-height: 260px;
  padding: 30px 26px 28px;
  overflow: hidden;
  background: #f7f8ff;
  border: 1px solid #dce2fb;
  border-radius: 4px;
}

.service-principle-card::after {
  position: absolute;
  right: -52px;
  bottom: -66px;
  width: 160px;
  aspect-ratio: 1;
  content: "";
  background: rgba(52, 82, 199, 0.07);
  border-radius: 50%;
}

.service-card__number {
  margin: 0 0 18px;
  color: var(--to-coral-dark);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.service-principle-card h3,
.service-feature-card h3,
.service-course-card h3 {
  position: relative;
  z-index: 1;
  margin: 0 0 14px;
  font-size: clamp(20px, 2.3vw, 27px);
  font-weight: 900;
  letter-spacing: -0.025em;
  line-height: 1.45;
}

.service-principle-card p:last-child,
.service-feature-card p:last-child,
.service-course-card > p {
  position: relative;
  z-index: 1;
  margin-bottom: 0;
}

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

.service-feature-card {
  position: relative;
  min-height: 270px;
  padding: clamp(28px, 4vw, 42px);
  overflow: hidden;
  color: var(--to-white);
  background: linear-gradient(145deg, var(--to-navy), var(--to-blue));
}

.service-feature-card:nth-child(2),
.service-feature-card:nth-child(3) {
  background: linear-gradient(145deg, var(--to-blue), #4458a8);
}

.service-feature-card::after {
  position: absolute;
  right: -44px;
  bottom: -50px;
  width: 180px;
  aspect-ratio: 1;
  content: "";
  border: 30px solid rgba(255, 255, 255, 0.06);
  border-radius: 50%;
}

.service-feature-card .service-card__number {
  color: #c9d5ff;
}

.service-process-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  padding: 0;
  margin: 0;
  list-style: none;
  counter-reset: service-process;
}

.service-process-list li {
  position: relative;
  min-height: 230px;
  padding: 68px 24px 26px;
  background: var(--to-white);
  border: 1px solid var(--to-line);
  counter-increment: service-process;
}

.service-process-list li + li {
  border-left: 0;
}

.service-process-list li::before {
  position: absolute;
  top: 22px;
  left: 24px;
  color: var(--to-blue);
  content: "0" counter(service-process);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 30px;
  font-weight: 900;
  line-height: 1;
}

.service-process-list li:not(:last-child)::after {
  position: absolute;
  z-index: 2;
  top: 50%;
  right: -11px;
  width: 20px;
  height: 20px;
  content: "";
  background: var(--to-coral);
  clip-path: polygon(0 0, 100% 50%, 0 100%);
  transform: translateY(-50%);
}

.service-process-list strong {
  display: inline-block;
  margin-bottom: 8px;
  color: var(--to-navy);
  font-size: 17px;
}

.service-course-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 30px;
}

.service-course-card {
  display: flex;
  min-height: 280px;
  flex-direction: column;
  padding: clamp(28px, 4vw, 40px);
  background: #f7f8ff;
  border-top: 7px solid var(--to-blue);
  box-shadow: 0 12px 28px rgba(18, 16, 63, 0.08);
}

.service-course-card:nth-child(even) {
  border-top-color: var(--to-coral);
}

.service-course-card .wp-block-buttons {
  margin-top: auto;
  padding-top: 24px;
}

.services-document .wp-block-button__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 10px 24px;
  color: var(--to-white);
  background: var(--to-blue);
  border: 2px solid var(--to-blue);
  border-radius: 999px;
  font-weight: 900;
  text-decoration: none;
  transition: color 0.2s ease, background-color 0.2s ease, transform 0.2s ease;
}

.services-document .wp-block-button__link:hover {
  color: var(--to-blue);
  background: var(--to-white);
  transform: translateY(-2px);
}

.service-disclaimer {
  padding: clamp(24px, 4vw, 36px);
  margin-top: clamp(54px, 7vw, 82px);
  color: var(--to-muted);
  background: #f7f8ff;
  border-left: 6px solid var(--to-blue);
}

.service-disclaimer h2 {
  margin: 0 0 12px;
  color: var(--to-navy);
  font-size: clamp(21px, 2.6vw, 28px);
}

.service-disclaimer p {
  margin: 0;
}

.service-page-cta {
  position: relative;
  padding: clamp(42px, 6vw, 66px) clamp(24px, 5vw, 60px);
  margin-top: clamp(54px, 7vw, 82px);
  overflow: hidden;
  color: var(--to-white);
  background: var(--to-navy);
  text-align: center;
}

.service-page-cta::before {
  position: absolute;
  top: -110px;
  right: -80px;
  width: 260px;
  aspect-ratio: 1;
  content: "";
  border: 46px solid rgba(255, 255, 255, 0.05);
  border-radius: 50%;
}

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

.service-page-cta > p {
  margin: 0 0 8px;
  color: #cbd5ff;
}

.service-page-cta h2 {
  margin: 0 0 28px;
  color: var(--to-white);
  font-size: clamp(27px, 4vw, 42px);
  line-height: 1.4;
}

.service-page-cta .wp-block-buttons {
  justify-content: center;
}

.service-page-cta .wp-block-button__link {
  min-width: min(100%, 420px);
  color: var(--to-navy);
  background: var(--to-coral);
  border-color: var(--to-coral);
}

.service-page-cta .wp-block-button__link:hover {
  color: var(--to-white);
  background: transparent;
}

/*
 * Editable course-introduction layout.
 * This follows the course page shown in the supplied design comp while keeping
 * every image, heading, paragraph, price, and target label editable as blocks.
 */
.services-courses-page {
  background: var(--to-white);
}

.services-courses-page .services-page__hero {
  padding: clamp(48px, 5.2vw, 64px) 0;
  overflow: visible;
  color: var(--to-white);
  background: var(--to-blue);
}

.services-courses-page .services-page__hero::before,
.services-courses-page .services-page__hero::after {
  display: none;
}

.services-courses-page .services-page__hero .site-container {
  width: min(calc(100% - 88px), var(--to-content));
}

.services-courses-page .services-page__hero h1 {
  max-width: none;
  margin: 0;
  font-size: clamp(40px, 4.2vw, 58px);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.2;
}

.services-course-content,
.services-course-content .entry-content {
  width: 100%;
  max-width: none;
  padding: 0;
  margin: 0;
  background: var(--to-white);
}

.services-course-content .entry-content > * {
  margin-block-start: 0;
  margin-block-end: 0;
}

.services-course-content .service-editor-note {
  display: none;
}

.services-course-content .service-course-section {
  width: 100%;
  max-width: none;
  padding: clamp(54px, 6vw, 72px) 0;
  margin: 0 !important;
  background: var(--to-white);
  scroll-margin-top: calc(var(--to-header) + 18px);
}

.services-course-content .service-course-section--tint {
  background: var(--to-lavender);
}

.services-course-content .service-course-row {
  display: grid;
  width: min(calc(100% - 88px), var(--to-content));
  max-width: none !important;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  align-items: start;
  gap: clamp(42px, 5vw, 72px);
  margin: 0 auto !important;
}

.services-course-content .service-course-row > *,
.services-course-content .service-course-visual > *,
.services-course-content .service-course-copy > *,
.services-course-content .service-course-prices > *,
.services-course-content .service-price-row > * {
  margin-block-start: 0;
  margin-block-end: 0;
}

.services-course-content .service-course-section--reverse .service-course-visual {
  order: 2;
}

.services-course-content .service-course-section--reverse .service-course-copy {
  order: 1;
}

.services-course-content .service-course-image {
  position: relative;
  overflow: hidden;
  background: var(--to-navy);
  box-shadow: 0 8px 22px rgba(18, 16, 63, 0.14);
}

.services-course-content .service-course-image .wp-block-image {
  margin: 0;
}

.services-course-content .service-course-image img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.services-course-content .service-course-image::after {
  position: absolute;
  inset: auto 0 0;
  height: 42%;
  content: "";
  pointer-events: none;
  background: linear-gradient(transparent, rgba(18, 16, 63, 0.72));
}

.services-course-content .service-course-image h2 {
  position: absolute;
  z-index: 2;
  right: 18px;
  bottom: 12px;
  left: 18px;
  margin: 0;
  color: var(--to-white);
  font-size: clamp(27px, 3.1vw, 44px);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1.15;
  text-shadow: 0 3px 9px rgba(0, 0, 0, 0.5);
}

.services-course-content .service-course-tags {
  display: grid;
  justify-items: start;
  gap: 8px;
  padding: 0;
  margin: 16px 0 0;
  list-style: none;
}

.services-course-content .service-course-section--reverse .service-course-tags {
  justify-items: end;
}

.services-course-content .service-course-tags li {
  max-width: 100%;
  padding: 6px 16px;
  margin: 0;
  color: var(--to-white);
  background: var(--to-orange);
  border-radius: 999px;
  font-size: clamp(12px, 1.15vw, 15px);
  font-weight: 900;
  line-height: 1.4;
  text-align: center;
}

.services-course-content .service-course-copy {
  padding-top: 4px;
}

.services-course-content .service-course-description {
  margin: 0 0 clamp(34px, 4vw, 50px) !important;
  color: var(--to-navy);
  font-size: clamp(15px, 1.45vw, 18px);
  font-weight: 700;
  line-height: 1.8;
}

.services-course-content .service-course-prices {
  display: grid;
  gap: 20px;
}

.services-course-content .service-price-row {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(170px, 0.85fr);
  align-items: center;
  gap: 24px;
  padding-bottom: 16px;
  margin: 0 !important;
  border-bottom: 1px solid rgba(47, 67, 143, 0.2);
}

.services-course-content .service-price-row:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.services-course-content .service-price-row p {
  margin: 0 !important;
  color: var(--to-navy);
  font-size: clamp(14px, 1.25vw, 17px);
  font-weight: 800;
  line-height: 1.5;
}

.services-course-content .service-price-row__amount {
  text-align: right;
}

.services-course-content .service-price-row strong {
  color: var(--to-navy);
  font-size: clamp(21px, 2vw, 29px);
  font-weight: 900;
  white-space: nowrap;
}

@media (max-width: 980px) {
  .services-courses-page .services-page__hero .site-container,
  .services-course-content .service-course-row {
    width: min(calc(100% - 48px), var(--to-content));
  }

  .services-course-content .service-course-row {
    gap: 32px;
  }

  .services-course-content .service-price-row {
    grid-template-columns: minmax(0, 1fr) minmax(150px, 0.8fr);
    gap: 16px;
  }
}

@media (max-width: 760px) {
  .services-courses-page .services-page__hero {
    padding: 42px 0;
  }

  .services-courses-page .services-page__hero .site-container,
  .services-course-content .service-course-row {
    width: min(calc(100% - 32px), var(--to-content));
  }

  .services-course-content .service-course-section {
    padding: 44px 0;
  }

  .services-course-content .service-course-row {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .services-course-content .service-course-section--reverse .service-course-visual,
  .services-course-content .service-course-section--reverse .service-course-copy {
    order: initial;
  }

  .services-course-content .service-course-section--reverse .service-course-tags {
    justify-items: start;
  }

  .services-course-content .service-course-description {
    margin-bottom: 28px !important;
    font-size: 15px;
  }

  .services-course-content .service-price-row {
    grid-template-columns: 1fr;
    gap: 4px;
    padding-bottom: 16px;
  }

  .services-course-content .service-price-row__amount {
    text-align: left;
  }
}

@media (max-width: 480px) {
  .services-courses-page .services-page__hero {
    padding: 36px 0;
  }

  .services-courses-page .services-page__hero h1 {
    font-size: 38px;
  }

  .services-course-content .service-course-image h2 {
    right: 12px;
    bottom: 10px;
    left: 12px;
    font-size: 24px;
  }

  .services-course-content .service-course-tags li {
    width: 100%;
    border-radius: 14px;
    font-size: 12px;
  }
}

@media (min-width: 701px) and (max-width: 980px) {
  .service-principle-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

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

  .service-process-list li:nth-child(3) {
    border-top: 0;
    border-left: 1px solid var(--to-line);
  }

  .service-process-list li:nth-child(4) {
    border-top: 0;
  }

  .service-process-list li:nth-child(2)::after {
    top: auto;
    right: 50%;
    bottom: -13px;
    width: 22px;
    height: 16px;
    clip-path: polygon(0 0, 100% 0, 50% 100%);
    transform: translateX(50%);
  }
}

/* Legal pages */
.legal-page {
  min-height: 70vh;
  padding-bottom: clamp(72px, 8vw, 120px);
  background:
    linear-gradient(165deg, var(--to-white) 0 31%, var(--to-lavender) 31% 100%);
}

.legal-page__hero {
  position: relative;
  padding: clamp(76px, 9vw, 132px) 0 clamp(96px, 11vw, 160px);
  overflow: hidden;
  color: var(--to-white);
  background: var(--to-blue);
}

.legal-page__hero::before,
.legal-page__hero::after {
  position: absolute;
  content: "";
  pointer-events: none;
}

.legal-page__hero::before {
  top: -42%;
  right: -8%;
  width: clamp(260px, 42vw, 680px);
  aspect-ratio: 1;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 50%;
}

.legal-page__hero::after {
  right: -4vw;
  bottom: -72px;
  width: min(44vw, 560px);
  height: 160px;
  background: var(--to-coral);
  transform: skewY(-5deg);
}

.legal-page__hero-inner {
  position: relative;
  z-index: 1;
  width: min(calc(100% - 48px), 980px);
}

.legal-page__eyebrow {
  margin: 0 0 18px;
  color: #b9c9ff;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.18em;
}

.legal-page__hero h1 {
  max-width: 840px;
  margin: 0;
  font-size: clamp(38px, 6vw, 72px);
  letter-spacing: -0.04em;
  line-height: 1.16;
}

.legal-page__summary {
  max-width: 680px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(16px, 2vw, 20px);
  font-weight: 700;
  line-height: 1.8;
}

.legal-page__content {
  position: relative;
  z-index: 2;
  width: min(calc(100% - 48px), 980px);
  margin-top: clamp(-72px, -6vw, -48px);
}

.legal-document {
  padding: clamp(34px, 6vw, 72px);
  background: var(--to-white);
  border-top: 8px solid var(--to-coral);
  box-shadow: 0 24px 64px rgba(18, 16, 63, 0.13);
}

.legal-document .entry-content {
  color: var(--to-text);
  font-size: clamp(15px, 1.8vw, 17px);
  line-height: 1.9;
}

.legal-document .entry-content h2 {
  padding-bottom: 12px;
  margin: clamp(42px, 6vw, 68px) 0 20px;
  color: var(--to-navy);
  border-bottom: 3px solid var(--to-blue);
  font-size: clamp(24px, 3vw, 34px);
  letter-spacing: -0.025em;
  line-height: 1.4;
}

.legal-document .entry-content h3 {
  margin: 36px 0 14px;
  color: var(--to-blue);
  font-size: clamp(19px, 2.2vw, 24px);
  line-height: 1.5;
}

.legal-document .entry-content ul,
.legal-document .entry-content ol {
  padding-left: 1.4em;
}

.legal-document .entry-content li + li {
  margin-top: 0.5em;
}

.legal-draft-notice {
  padding: 22px 24px;
  margin-bottom: 42px;
  color: #632016;
  background: #fff2ef;
  border: 2px solid var(--to-coral);
  border-radius: 8px;
}

.legal-draft-notice p {
  margin: 0;
}

.legal-draft-notice p + p {
  margin-top: 8px;
}

.legal-placeholder {
  color: #9f2f20;
  font-weight: 800;
}

.legal-table {
  margin: 0;
  overflow-x: auto;
}

.legal-table table {
  width: 100%;
  border-spacing: 0;
  border-collapse: collapse;
}

.legal-table th,
.legal-table td {
  padding: 18px 20px;
  text-align: left;
  vertical-align: top;
  border: 1px solid var(--to-line);
}

.legal-table th {
  width: 30%;
  color: var(--to-navy);
  background: var(--to-lavender);
  font-weight: 900;
}

.legal-review-note {
  padding: 20px 22px;
  color: var(--to-muted);
  background: #f7f8ff;
  border-left: 5px solid var(--to-blue);
}

.legal-definition-list {
  display: grid;
  margin: 0;
  border-top: 1px solid var(--to-line);
}

.legal-definition-list > div {
  display: grid;
  grid-template-columns: minmax(150px, 0.32fr) 1fr;
  border-bottom: 1px solid var(--to-line);
}

.legal-definition-list dt,
.legal-definition-list dd {
  padding: 14px 16px;
  margin: 0;
}

.legal-definition-list dt {
  color: var(--to-navy);
  background: var(--to-lavender);
  font-weight: 900;
}

.legal-document__updated {
  padding-top: 28px;
  margin: 56px 0 0;
  color: var(--to-muted);
  border-top: 1px solid var(--to-line);
  font-size: 13px;
  text-align: right;
}

@media (max-width: 700px) {
  .services-page__hero {
    padding: 60px 0 118px;
  }

  .services-page__hero::after {
    width: 76vw;
    height: 132px;
  }

  .services-page__hero-inner,
  .services-page__content {
    width: min(calc(100% - 32px), 1080px);
  }

  .services-page__hero-link {
    width: 100%;
  }

  .services-page__content {
    margin-top: -62px;
  }

  .services-document {
    padding: 32px 18px;
    border-top-width: 6px;
  }

  .services-document .entry-content > h2 {
    padding-left: 17px;
    margin-top: 58px;
  }

  .service-lead {
    font-size: 17px;
  }

  .service-principle-grid,
  .service-feature-grid,
  .service-course-grid,
  .service-process-list {
    grid-template-columns: 1fr;
  }

  .service-principle-card,
  .service-feature-card,
  .service-course-card {
    min-height: 0;
  }

  .service-process-list li {
    min-height: 0;
    padding: 62px 20px 24px;
  }

  .service-process-list li + li {
    border-top: 0;
    border-left: 1px solid var(--to-line);
  }

  .service-process-list li:not(:last-child)::after {
    top: auto;
    right: 50%;
    bottom: -13px;
    width: 22px;
    height: 16px;
    clip-path: polygon(0 0, 100% 0, 50% 100%);
    transform: translateX(50%);
  }

  .service-page-cta {
    padding-inline: 18px;
  }

  .legal-page__hero {
    padding-top: 64px;
  }

  .legal-page__hero::after {
    width: 70vw;
  }

  .legal-page__hero-inner,
  .legal-page__content {
    width: min(calc(100% - 32px), 980px);
  }

  .legal-document {
    padding: 28px 18px;
    border-top-width: 6px;
  }

  .legal-table table,
  .legal-table tbody,
  .legal-table tr,
  .legal-table th,
  .legal-table td {
    display: block;
    width: 100%;
  }

  .legal-table tr + tr {
    margin-top: 14px;
  }

  .legal-table th,
  .legal-table td {
    padding: 14px 15px;
  }

  .legal-table td {
    border-top: 0;
  }

  .legal-definition-list > div {
    grid-template-columns: 1fr;
  }

  .legal-definition-list dd {
    border-top: 1px solid var(--to-line);
  }
}

.alignwide {
  width: min(1180px, 100vw - 48px);
  max-width: none;
  margin-left: 50%;
  transform: translateX(-50%);
}

.alignfull {
  width: 100vw;
  max-width: none;
  margin-left: 50%;
  transform: translateX(-50%);
}

.post-list {
  display: grid;
  gap: 22px;
}

.post-card {
  padding: 28px;
  background: var(--to-lavender);
}

.post-card h2 {
  margin-bottom: 12px;
}

.post-card h2 a {
  text-decoration: none;
}

.not-found {
  text-align: center;
}

.not-found__code {
  margin: 0;
  color: var(--to-blue);
  font-family: Arial, Helvetica, sans-serif;
  font-size: clamp(90px, 18vw, 220px);
  font-weight: 900;
  line-height: 1;
}

/* Tablet */
@media (max-width: 980px) {
  .site-container {
    width: min(calc(100% - 36px), var(--to-content));
  }

  .menu-toggle {
    display: block;
  }

  .site-navigation {
    position: fixed;
    z-index: 999;
    top: var(--to-header);
    right: 0;
    left: 0;
    max-height: calc(100svh - var(--to-header));
    padding: 24px;
    overflow-y: auto;
    visibility: hidden;
    color: var(--to-navy);
    background: var(--to-white);
    border-top: 1px solid rgba(18, 16, 63, 0.1);
    opacity: 0;
    transform: translateY(-12px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
  }

  .admin-bar .site-navigation {
    top: calc(var(--to-header) + 32px);
  }

  .site-navigation.is-open {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
  }

  .primary-menu,
  .site-navigation > ul {
    display: grid;
    gap: 4px;
  }

  .site-navigation a {
    display: flex;
    min-height: 52px;
    padding: 6px 10px;
    border-bottom: 1px solid rgba(18, 16, 63, 0.1);
  }

  .header-cta {
    margin-left: auto;
  }

  .hero__figure {
    top: 35px;
    left: 50%;
    width: 112vw;
  }

  .hero__copy {
    right: 0;
    width: min(52%, 470px);
    padding: 14px 16px;
    background: rgba(12, 32, 80, 0.5);
  }

  .problems__stage {
    min-height: 610px;
  }

  .problems__photo {
    width: 80%;
  }

  .problem-bubbles {
    width: 52%;
  }

  .support__lead {
    min-height: 610px;
  }

  .support-card p {
    max-width: 86%;
  }

  .course-layout {
    grid-template-columns: 1fr;
  }

  .course-layout--reverse .course-visual,
  .course-layout--reverse .course-copy {
    order: initial;
  }

  .course-copy {
    padding-top: 0;
  }

  .site-footer__grid {
    grid-template-columns: 0.7fr 1fr;
  }

  .footer-courses {
    grid-column: 1 / -1;
  }
}

/* Mobile */
@media (max-width: 700px) {
  :root {
    --to-header: 68px;
  }

  .admin-bar .site-header {
    top: 46px;
  }

  .admin-bar .site-navigation {
    top: calc(var(--to-header) + 46px);
  }

  .site-header__inner {
    gap: 10px;
  }

  .site-logo__image,
  .site-header .custom-logo {
    max-width: 80px;
    max-height: 54px;
  }

  .header-cta {
    min-height: 42px;
    padding: 8px 14px;
    font-size: 11px;
  }

  .menu-toggle {
    width: 44px;
    height: 44px;
    order: 3;
    margin-left: 0;
  }

  .hero,
  .hero__inner {
    min-height: 720px;
    height: 720px;
  }

  .hero__figure {
    top: 105px;
    left: 52%;
    width: 146vw;
  }

  html.types-one-fv-revealing .types-one-front-page .hero__figure {
    --to-fv-hop-start: 22px;
    --to-fv-hop-over: -4px;
    --to-fv-hop-settle: 2px;
  }

  .hero__tagline {
    top: 17%;
  }

  .hero__tagline p {
    padding: 5px 11px 7px;
    margin-bottom: 6px;
    font-size: clamp(22px, 7.8vw, 31px);
  }

  .hero__copy {
    right: 0;
    bottom: 4%;
    left: 0;
    width: 100%;
    padding: 13px 15px;
    font-size: 12px;
    line-height: 1.75;
  }

  .hero-cta {
    padding: 28px 18px 20px;
  }

  .button {
    width: 100%;
    min-width: 0;
    min-height: 62px;
    padding: 14px 24px;
    font-size: 17px;
  }

  .display-heading {
    font-size: clamp(34px, 10vw, 46px);
  }

  .problems {
    padding-top: 50px;
  }

  .problems .display-heading {
    margin-bottom: 30px;
  }

  .problems__stage {
    display: flex;
    min-height: 0;
    flex-direction: column-reverse;
    gap: 22px;
  }

  .problems__photo,
  .problem-bubbles {
    position: relative;
    inset: auto;
    width: 100%;
  }

  .problem-bubbles li,
  .problem-bubbles li:nth-child(2),
  .problem-bubbles li:nth-child(3) {
    margin-left: 0;
    font-size: 15px;
  }

  .problem-bubbles li::after {
    display: none;
  }

  .promise__heading {
    padding: 76px 0 68px;
    clip-path: polygon(0 8%, 100% 0, 100% 92%, 0 100%);
  }

  .promise__heading h2 {
    font-size: clamp(31px, 8.5vw, 42px);
  }

  .promise__mobile-break {
    display: inline;
  }

  .promise__media {
    width: 100%;
    margin-top: -10px;
  }

  .promise__media > img {
    min-height: 500px;
    object-position: 42% center;
  }

  .promise__copy {
    right: 18px;
    bottom: 20px;
    left: 18px;
    width: auto;
    padding: 17px;
    font-size: 12px;
    line-height: 1.75;
  }

  .reasons__grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .reason-card__media img {
    aspect-ratio: 4 / 3;
  }

  .reason-card__media h3 {
    width: 52px;
    font-size: 17px;
  }

  .support {
    padding-top: 82px;
    clip-path: polygon(0 2%, 100% 0, 100% 99%, 0 100%);
  }

  .support__lead {
    min-height: 430px;
  }

  .support__art {
    top: 10px;
    width: 620px;
  }

  .support__lead > p {
    right: 0;
    bottom: 10px;
    left: 0;
    padding: 10px 12px;
    background: rgba(240, 242, 255, 0.86);
    font-size: 13px;
  }

  .support__grid,
  .voices__grid {
    grid-template-columns: 1fr;
  }

  .support-card {
    min-height: 280px;
    padding: 28px 24px;
  }

  .support-card p {
    max-width: 88%;
  }

  .voices__heading {
    margin-bottom: 30px;
  }

  .voices__heading h2 {
    font-size: 38px;
  }

  .section-cta {
    padding-bottom: 58px;
  }

  .contact__inner,
  .content-page__inner {
    width: min(calc(100% - 36px), 980px);
  }

  .contact h2 {
    font-size: 44px;
  }

  .form-field label {
    font-size: 18px;
  }

  .form-field input,
  .form-field select {
    min-height: 56px;
  }

  .form-field textarea {
    min-height: 230px;
  }

  .faq {
    clip-path: polygon(0 1.5%, 100% 0, 100% 98.5%, 0 100%);
  }

  .faq__heading h2 {
    font-size: 42px;
  }

  .faq__heading span {
    top: 8px;
    left: 42%;
    font-size: 70px;
  }

  .faq-item summary {
    padding-right: 38px;
    font-size: 17px;
  }

  .faq-item__answer {
    grid-template-columns: 52px 1fr;
    min-height: 0;
    padding: 18px 16px;
  }

  .faq-item__answer > span {
    font-size: 48px;
  }

  .faq-item__answer p {
    font-size: 13px;
  }

  .courses-hero {
    padding-block: 48px;
  }

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

  .course-section {
    padding-block: 64px;
  }

  .course-layout {
    gap: 34px;
  }

  .course-visual__image h2 {
    right: 12px;
    bottom: 10px;
    left: 12px;
    font-size: clamp(25px, 8vw, 38px);
  }

  .course-targets li {
    width: 100%;
    border-radius: 18px;
    font-size: 13px;
    text-align: center;
  }

  .course-copy__description {
    font-size: 15px;
  }

  .price-row {
    grid-template-columns: 1fr;
    gap: 4px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--to-line);
  }

  .price-row strong {
    font-size: 24px;
  }

  .site-footer__grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer-courses {
    grid-column: auto;
  }

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

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

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

  .types-one-intro {
    display: none !important;
  }

  html.types-one-fv-pending .types-one-front-page .hero__tagline p,
  html.types-one-fv-pending .types-one-front-page .hero__figure {
    opacity: 1 !important;
  }

  html.types-one-fv-revealing .types-one-front-page .hero__tagline p {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }

  html.types-one-fv-revealing .types-one-front-page .hero__figure {
    animation: none !important;
    opacity: 1 !important;
    transform: translateX(-50%) !important;
  }
}
