/*
Theme Name: eSports Coaching
Theme URI: https://esportscoaching.jp
Author: K's Casa
Description: Fortnite eスポーツコーチング向けのオリジナルWordPressテーマ。
Version: 1.0.9
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 8.0
Text Domain: esports-coaching
*/

:root {
  --ink: #5865f2;
  --muted: #60718c;
  --line: #d6e5f2;
  --paper: #f4fbff;
  --panel: #ffffff;
  --accent: #5865f2;
  --accent-dark: #4650d6;
  --blue: #5865f2;
  --deep-blue: #5865f2;
  --green: #5865f2;
  --pink: #5865f2;
  --shadow: 0 24px 70px rgba(88, 101, 242, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: #fff;
  color: var(--ink);
  font-family: "Avenir Next", "Hiragino Sans", "Yu Gothic", Meiryo, sans-serif;
  line-height: 1.7;
}

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

img {
  max-width: 100%;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(20px, 5vw, 72px);
  background: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid rgba(214, 229, 242, 0.9);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
}

.brand img {
  border-radius: 50%;
}

.brand span {
  display: grid;
  gap: 1px;
  white-space: nowrap;
}

.brand small {
  color: var(--deep-blue);
  font-size: 0.72rem;
  font-weight: 900;
  line-height: 1.1;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(10px, 2vw, 26px);
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 700;
}

.site-nav a:last-child {
  color: var(--deep-blue);
}

.hero {
  display: grid;
  min-height: auto;
  grid-template-columns: minmax(0, 0.92fr) minmax(360px, 1.08fr);
  align-items: center;
  gap: clamp(28px, 5vw, 64px);
  padding: clamp(48px, 7vw, 86px) clamp(20px, 5vw, 72px) clamp(44px, 6vw, 74px);
  overflow: hidden;
}

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

.eyebrow {
  margin: 0 0 10px;
  color: var(--deep-blue);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  max-width: 760px;
  font-size: 4.8rem;
  line-height: 1.02;
  letter-spacing: 0;
}

h2 {
  margin: 0;
  font-size: 2.65rem;
  line-height: 1.12;
  letter-spacing: 0;
}

h3 {
  margin: 0 0 12px;
  font-size: 1.22rem;
}

.lead {
  max-width: 650px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 1.12rem;
}

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

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 12px 20px;
  font-weight: 800;
  line-height: 1.2;
  cursor: pointer;
}

.button.primary {
  background: #5865f2;
  color: #fff;
  box-shadow: 0 14px 28px rgba(88, 101, 242, 0.24);
}

.button.primary:hover {
  background: #4650d6;
}

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

.lp {
  background: #fff;
}

.lp-hero,
.lp-section {
  width: min(100%, 1080px);
  margin: 0 auto;
  padding: clamp(22px, 4vw, 46px) clamp(18px, 4vw, 34px);
}

.lp-hero {
  width: min(100%, 1120px);
  padding-top: clamp(28px, 5vw, 58px);
}

.lp-hero img,
.lp-section > img,
.discord-cta img {
  display: block;
  width: 100%;
  max-height: 500px;
  border-radius: 10px;
  background: #fff;
  box-shadow: none;
  object-fit: contain;
}

.hero-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
  gap: 18px;
  margin-top: 8px;
  background: #fff;
}

.coded-logo-hero {
  display: grid;
  min-height: 360px;
  grid-template-columns: minmax(120px, 0.62fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(14px, 3vw, 28px);
  border-radius: 10px;
  padding: clamp(20px, 4vw, 34px);
  background: #fff;
}

.coded-logo-hero img {
  display: block;
  width: min(100%, 210px);
  margin: 0 auto;
}

.coded-logo-hero div {
  display: grid;
  gap: 10px;
}

.coded-logo-hero p {
  margin: 0;
  color: #5865f2;
  font-size: clamp(0.68rem, 1vw, 0.82rem);
  font-weight: 800;
  line-height: 1.2;
  text-transform: uppercase;
}

.coded-logo-hero h1 {
  display: grid;
  margin: 0;
  color: #5865f2;
  font-family: "Avenir Next Condensed", "DIN Condensed", "Hiragino Sans", "Hiragino Kaku Gothic StdN", "Yu Gothic", Meiryo, sans-serif;
  font-size: clamp(2.05rem, 3.55vw, 3.5rem);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: 0;
  font-feature-settings: "palt";
  -webkit-text-stroke: 0;
  paint-order: normal;
}

.coded-logo-hero strong {
  margin-top: 4px;
  color: #5865f2;
  font-size: clamp(1.05rem, 1.8vw, 1.45rem);
  font-weight: 700;
  line-height: 1.2;
}

.hero-discord-link {
  display: inline-flex;
  width: fit-content;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  margin-top: 4px;
  border-radius: 999px;
  padding: 10px 18px;
  background: #5865f2;
  color: #fff;
  font-size: clamp(0.88rem, 1.2vw, 1rem);
  font-weight: 800;
  line-height: 1;
  transition:
    background-color 160ms ease,
    transform 160ms ease,
    box-shadow 160ms ease;
  box-shadow: 0 14px 28px rgba(88, 101, 242, 0.2);
}

.hero-discord-link:hover {
  background: #4650d6;
  transform: translateY(-1px);
  box-shadow: 0 18px 30px rgba(88, 101, 242, 0.24);
}

.coded-logo-hero small {
  color: #5865f2;
  font-size: clamp(0.9rem, 1.4vw, 1.08rem);
  font-weight: 700;
  line-height: 1.45;
}

.hero-pair img {
  max-height: 360px;
  background: #fff;
  box-shadow: none;
}

.lp-section > img {
  max-height: 460px;
}

.discord-cta a {
  display: block;
}

.discord-cta img {
  width: min(100%, 760px);
  max-height: 145px;
  margin: 0 auto;
}

.lp-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 22px;
}

.lp-text-panel,
.pricing-clean,
.faq {
  border-radius: 0;
}

.faq {
  width: min(calc(100% - 36px), 980px);
  margin-top: clamp(22px, 4vw, 46px);
  margin-bottom: clamp(22px, 4vw, 46px);
  border: 2px solid #5865f2;
  border-radius: 16px;
  background: #5865f2;
  box-shadow: 0 18px 54px rgba(88, 101, 242, 0.18);
}

.faq .eyebrow,
.faq .lp-heading h2 {
  color: #fff;
}

.lp-text-panel {
  display: grid;
  gap: 16px;
  text-align: left;
}

.lp-text-panel h1 {
  max-width: 520px;
  margin: 0;
  font-size: 2.8rem;
}

.lp-text-panel p:not(.eyebrow) {
  max-width: 560px;
  margin: 0;
  color: var(--muted);
  font-size: 1.08rem;
  white-space: pre-line;
}

.learn-split {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(340px, 1fr);
  align-items: center;
  gap: 28px;
}

.learn-split > img {
  max-height: 420px;
}

.info-split {
  display: grid;
  grid-template-columns: minmax(320px, 1fr) minmax(0, 0.88fr);
  align-items: center;
  gap: 30px;
}

.info-split.reverse {
  grid-template-columns: minmax(0, 0.95fr) minmax(220px, 0.42fr);
}

.info-split > img {
  display: block;
  width: 100%;
  max-height: 420px;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 18px 48px rgba(88, 101, 242, 0.12);
  object-fit: contain;
}

.info-split > img.players-collage {
  aspect-ratio: 16 / 10;
  object-fit: contain;
  object-position: center;
}

.info-split .player-icon {
  max-width: 280px;
  margin: 0 auto;
  border-radius: 50%;
}

.coaches-clean {
  background: transparent;
  color: var(--ink);
}

.lp-heading {
  max-width: 780px;
  margin: 0 auto 28px;
  text-align: center;
}

.lp-heading h2 {
  font-size: 2.35rem;
}

.lp-text-panel h1,
.lp-heading h2,
.page-heading h1 {
  -webkit-text-stroke: 1px #111;
  paint-order: stroke fill;
}

.lp-heading p:not(.eyebrow) {
  margin: 12px 0 0;
  color: var(--muted);
}

.coach-image-grid {
  display: grid;
  gap: 18px;
  max-width: 980px;
  margin: 0 auto;
}

.coach-clean-card {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  align-items: center;
  gap: 22px;
  border: 1px solid #cfd4ff;
  border-radius: 14px;
  padding: 20px;
  background: #f4f6ff;
  box-shadow: 0 12px 32px rgba(88, 101, 242, 0.1);
}

.coach-clean-card img {
  display: block;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  border: 2px solid #5865f2;
  background: #f7fbff;
  object-fit: cover;
  object-position: center;
  margin-bottom: 0;
}

.coach-placeholder {
  display: grid;
  width: 150px;
  height: 150px;
  place-items: center;
  border: 2px solid #5865f2;
  border-radius: 50%;
  background:
    linear-gradient(135deg, rgba(88, 101, 242, 0.18), transparent 45%),
    #f7fbff;
  color: #5865f2;
  font-size: 1.45rem;
  font-weight: 900;
  text-align: center;
}

.coach-clean-card div {
  margin-top: -1px;
  padding: 0 4px;
}

.coach-heading-row {
  display: grid;
  grid-template-columns: 122px auto;
  align-items: center;
  gap: 10px;
}

.coach-clean-card h3 {
  margin: 0;
  color: var(--ink);
  font-size: 1.45rem;
}

.coach-clean-card span {
  display: block;
  margin-top: 6px;
  margin-bottom: 8px;
  color: var(--deep-blue);
  font-size: 0.86rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.coach-clean-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.65;
  white-space: pre-line;
}

.coach-clean-card strong {
  display: block;
  margin-top: 10px;
  color: #14213d;
  font-size: 0.9rem;
  line-height: 1.55;
}

.coach-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-start;
}

.coach-links a {
  display: inline-flex;
  min-height: 32px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(88, 101, 242, 0.28);
  border-radius: 999px;
  padding: 6px 12px;
  background: #fff;
  color: #5865f2;
  font-size: 0.8rem;
  font-weight: 800;
  line-height: 1;
  transition:
    background-color 160ms ease,
    color 160ms ease,
    border-color 160ms ease;
}

.coach-links a:hover {
  border-color: #5865f2;
  background: #5865f2;
  color: #fff;
}

.pricing-clean {
  display: grid;
  gap: 22px;
}

.pricing-clean .lp-heading {
  max-width: 1040px;
  margin: 0 auto;
  text-align: left;
}

.pricing-clean .lp-heading > .eyebrow,
.pricing-clean .lp-heading > h2 {
  text-align: center;
}

.pricing-intro-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-top: 16px;
}

.pricing-intro-copy {
  display: grid;
  gap: 12px;
  max-width: 920px;
  margin: 0 auto;
  text-align: center;
}

.pricing-intro-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.75;
}

.discord-cta {
  padding-bottom: clamp(54px, 7vw, 90px);
}

.pricing-card {
  display: grid;
  gap: 14px;
  width: min(100%, 1040px);
  margin: 0 auto;
}

.pricing-plan-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.pricing-plan {
  position: relative;
  display: grid;
  align-content: start;
  gap: 7px;
  min-height: 202px;
  border: 2px solid #5865f2;
  border-radius: 14px;
  padding: 12px;
  background: #fff;
  box-shadow: 0 14px 32px rgba(88, 101, 242, 0.1);
  text-align: center;
}

.pricing-plan.recommended {
  border-color: #5865f2;
  box-shadow: 0 18px 42px rgba(88, 101, 242, 0.18);
}

.pricing-recommend {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  border-radius: 999px;
  padding: 4px 12px;
  background: #fff1a8;
  color: #111;
  font-size: 0.76rem;
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
  box-shadow: 0 5px 12px rgba(17, 24, 39, 0.1);
}

.pricing-plan h3 {
  margin: -12px -12px 0;
  border-radius: 11px 11px 0 0;
  padding: 12px 6px;
  background: #5865f2;
  color: #fff;
  font-size: 0.9rem;
  font-weight: 800;
  line-height: 1.6;
  letter-spacing: 0;
  white-space: nowrap;
}

.pricing-ticket-plan {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1.35;
}

.pricing-ticket-plan strong {
  flex: 0 0 auto;
  border-radius: 999px;
  padding: 1px 6px;
  background: #fff1a8;
  color: #111;
  font-size: 0.76rem;
  font-weight: 600;
  line-height: 1.35;
  white-space: nowrap;
}

.pricing-plan div {
  display: grid;
  gap: 2px;
  border-top: 1px solid rgba(88, 101, 242, 0.18);
  border-bottom: 1px solid rgba(88, 101, 242, 0.18);
  padding: 8px 0;
}

.pricing-plan span {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
}

.pricing-plan div strong {
  color: #5865f2;
  font-size: 1.68rem;
  line-height: 1.1;
}

.pricing-plan p {
  margin: 0;
  color: #14213d;
  font-weight: 900;
}

.pricing-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 800;
  text-align: center;
}

.pricing-discord-button {
  justify-self: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 13px 24px;
  background: #5865f2;
  color: #fff;
  font-size: 0.96rem;
  font-weight: 900;
  text-decoration: none;
  box-shadow: 0 14px 30px rgba(88, 101, 242, 0.22);
  transition:
    transform 160ms ease,
    background 160ms ease,
    box-shadow 160ms ease;
}

.pricing-discord-button:hover {
  transform: translateY(-2px);
  background: #4752c4;
  box-shadow: 0 18px 36px rgba(88, 101, 242, 0.3);
}

.pricing-guide {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 14px;
  margin-top: clamp(58px, 6vw, 82px);
  margin-bottom: clamp(62px, 7vw, 92px);
  border: 1px solid rgba(88, 101, 242, 0.18);
  border-radius: 14px;
  padding: clamp(34px, 4.5vw, 48px) clamp(22px, 3.5vw, 30px);
  background: #f4f6ff;
}

.pricing-guide-main {
  display: grid;
  align-content: start;
  gap: 12px;
}

.pricing-guide-main span {
  color: #5865f2;
  font-size: 0.82rem;
  font-weight: 900;
}

.pricing-guide-main h3 {
  margin: 4px 0 6px;
  color: #14213d;
  font-size: clamp(1.25rem, 2.4vw, 1.7rem);
  line-height: 1.35;
}

.pricing-guide-main p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.7;
}

.pricing-flow {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: reservation-flow;
}

.pricing-flow li {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  border-radius: 10px;
  padding: 10px 12px;
  background: #fff;
  color: #14213d;
  font-size: 0.92rem;
  font-weight: 800;
  line-height: 1.45;
  box-shadow: 0 8px 20px rgba(88, 101, 242, 0.07);
}

.pricing-flow li::before {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 50%;
  background: #5865f2;
  color: #fff;
  counter-increment: reservation-flow;
  content: counter(reservation-flow);
  font-size: 0.84rem;
  font-weight: 900;
}

.faq-title-image {
  display: block;
  width: min(225px, 70%);
  margin: 14px auto 0;
}

.faq-image-list {
  display: grid;
  gap: 14px;
  max-width: 920px;
  margin: 0 auto;
  padding: 0;
  background: transparent;
  box-shadow: none;
}

.faq-image-list img {
  display: block;
  width: 100%;
  border-radius: 8px;
  background: #fff;
  border: 1px solid #e5eef6;
  padding: 10px;
  box-shadow: 0 10px 26px rgba(88, 101, 242, 0.08);
}

.faq-code-list {
  display: grid;
  gap: 14px;
  max-width: 920px;
  margin: 0 auto;
}

.faq-code-card {
  display: grid;
  gap: 14px;
  border-radius: 12px;
  padding: clamp(18px, 3vw, 26px);
  background: #fff;
  box-shadow: 0 10px 26px rgba(88, 101, 242, 0.08);
}

.faq-row {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  align-items: center;
  gap: 18px;
}

.faq-row span {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 50%;
  background: #333;
  color: #fff;
  font-size: 1.15rem;
  font-weight: 400;
  line-height: 1;
}

.faq-row.answer span {
  background: #5865f2;
}

.faq-row h3 {
  margin: 0;
  color: #333;
  font-size: clamp(1.08rem, 2vw, 1.35rem);
  font-weight: 700;
  line-height: 1.45;
}

.faq-row p {
  margin: 0;
  color: #333;
  font-size: clamp(0.95rem, 1.6vw, 1.08rem);
  font-weight: 500;
  line-height: 1.65;
}

.faq-card-list {
  display: grid;
  gap: 14px;
  max-width: 920px;
  margin: 0 auto;
}

.faq-card-list article {
  border: 1px solid rgba(255, 247, 243, 0.16);
  border-radius: 8px;
  padding: 18px 20px;
  background: rgba(255, 255, 255, 0.96);
}

.faq-card-list h3 {
  margin: 0 0 6px;
  color: #15171f;
  font-size: 1rem;
}

.faq-card-list p {
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
}

.discord-button {
  display: flex;
  width: min(100%, 560px);
  min-height: 74px;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  border-radius: 8px;
  background: #5865f2;
  color: #fff;
  font-size: 1.25rem;
  font-weight: 900;
  box-shadow: 0 18px 42px rgba(88, 101, 242, 0.24);
}

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

.price-stack.compact div {
  padding: 18px;
}

.price-stack.compact strong {
  font-size: 1.18rem;
}

.hero-visual {
  position: relative;
  min-height: auto;
  aspect-ratio: 16 / 10;
  border-radius: 8px;
  background:
    linear-gradient(140deg, rgba(88, 101, 242, 0.92), rgba(88, 101, 242, 0.72)),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.28) 0 1px, transparent 1px 58px),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.28) 0 1px, transparent 1px 58px);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.image-hero {
  background: #5865f2;
}

.image-hero > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-visual::before {
  position: absolute;
  inset: 9%;
  border: 2px solid rgba(255, 255, 255, 0.36);
  border-radius: 8px;
  transform: rotate(-8deg);
  content: "";
}

.hero-visual::after {
  position: absolute;
  right: -10%;
  bottom: -8%;
  width: 58%;
  aspect-ratio: 1;
  background: rgba(88, 101, 242, 0.66);
  clip-path: polygon(50% 0, 100% 30%, 84% 100%, 16% 100%, 0 30%);
  content: "";
}

.image-hero::before {
  z-index: 1;
  inset: 0;
  border: 0;
  border-radius: 0;
  background: linear-gradient(180deg, transparent 58%, rgba(16, 36, 63, 0.16));
  transform: none;
}

.image-hero::after {
  display: none;
}

.section,
.page {
  padding: clamp(48px, 7vw, 86px) clamp(20px, 5vw, 72px);
}

.page {
  min-height: 72vh;
}

.narrow {
  max-width: 940px;
  margin: 0 auto;
}

.page-heading {
  max-width: 780px;
  margin-bottom: 42px;
}

.page-heading h1 {
  font-size: 4.4rem;
}

.page-heading p:not(.eyebrow) {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.intro-grid,
.band,
.split,
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: start;
}

.intro-grid > p,
.split p {
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.cards {
  display: grid;
  gap: 18px;
}

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

.card {
  min-height: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 26px;
  background: var(--panel);
  box-shadow: 0 16px 42px rgba(88, 101, 242, 0.08);
}

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

.service-card strong {
  display: inline-block;
  margin-top: 22px;
  color: var(--deep-blue);
}

.band {
  background: linear-gradient(135deg, rgba(88, 101, 242, 0.1) 0%, rgba(88, 101, 242, 0.03) 100%);
}

.coaches {
  background: #5865f2;
  color: #fff;
}

.coaches .eyebrow {
  color: var(--accent);
}

.coaches .section-heading {
  margin-bottom: 0;
}

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

.coach-card {
  display: grid;
  gap: 16px;
  align-content: start;
  min-height: 0;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  padding: 22px;
  background: rgba(255, 255, 255, 0.08);
}

.coach-photo {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
  object-fit: cover;
  object-position: top center;
}

.coach-card span {
  color: #fff;
  font-size: 0.82rem;
  font-weight: 800;
}

.coach-card p {
  margin: 0 0 12px;
  color: rgba(255, 255, 255, 0.74);
}

.coach-card strong {
  display: block;
  color: #fff;
}

.pricing-band p {
  margin: 18px 0 0;
  color: var(--muted);
}

.price-stack {
  display: grid;
  gap: 14px;
}

.price-stack div {
  border: 1px solid rgba(88, 101, 242, 0.16);
  border-radius: 8px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.72);
}

.price-stack span {
  display: block;
  color: var(--deep-blue);
  font-weight: 900;
}

.price-stack strong {
  display: block;
  margin-top: 8px;
  font-size: 1.55rem;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 28px;
}

.section-heading p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.72);
}

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

.faq-list article {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px;
  background: #fff;
}

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

.flow {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.flow li {
  display: grid;
  grid-template-columns: 44px 1fr;
  align-items: center;
  gap: 14px;
  border-bottom: 1px solid rgba(96, 112, 133, 0.22);
  padding: 14px 0;
  font-weight: 800;
}

.flow li::before {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  counter-increment: step;
  content: counter(step);
}

.cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background:
    linear-gradient(135deg, rgba(88, 101, 242, 0.2), transparent 44%),
    #5865f2;
  color: #fff;
}

.cta > div {
  display: grid;
  max-width: 760px;
  gap: 14px;
}

.cta p {
  margin: 0;
  color: rgba(255, 255, 255, 0.74);
}

.cta.compact {
  margin-top: 44px;
  border-radius: 8px;
  padding: 34px;
}

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

.info-list div {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 20px;
  border-bottom: 1px solid var(--line);
  padding: 20px 0;
}

.info-list dt {
  color: var(--muted);
  font-weight: 800;
}

.info-list dd {
  margin: 0;
}

.news-list {
  display: grid;
  gap: 16px;
}

.news-list article {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
  background: #fff;
}

.news-list time {
  color: var(--deep-blue);
  font-weight: 800;
}

.news-list h2 {
  margin-top: 6px;
  font-size: 1.35rem;
}

.news-list p,
.legal p {
  color: var(--muted);
}

.legal-card {
  border: 1px solid rgba(88, 101, 242, 0.12);
  border-radius: 8px;
  padding: clamp(22px, 4vw, 34px);
  background: #fff;
  box-shadow: 0 18px 44px rgba(88, 101, 242, 0.08);
}

.legal-card ul {
  margin: 12px 0 18px;
  padding-left: 1.25em;
  color: var(--muted);
}

.legal-card li + li {
  margin-top: 6px;
}

.legal-card section + section {
  margin-top: 26px;
}

.contact-form {
  display: grid;
  gap: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: clamp(22px, 4vw, 34px);
  background: #fff;
  box-shadow: var(--shadow);
}

.contact-form label {
  display: grid;
  gap: 8px;
  font-weight: 800;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 13px 14px;
  color: var(--ink);
  font: inherit;
}

.contact-form textarea {
  resize: vertical;
}

.honeypot {
  position: absolute;
  left: -9999px;
}

.form-message {
  margin: 0;
  border-radius: 8px;
  padding: 12px 14px;
  font-weight: 700;
}

.form-message.error {
  background: #fff1ef;
  color: var(--accent-dark);
}

.form-message.success {
  background: #edf7f1;
  color: #236b4f;
}

.legal h2 {
  margin: 34px 0 8px;
  font-size: 1.35rem;
}

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

.not-found .button {
  margin-top: 20px;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  padding: 36px clamp(20px, 5vw, 72px);
  background: #5865f2;
  color: #fff;
}

.site-footer p {
  max-width: 520px;
  margin: 12px 0 0;
  color: rgba(255, 255, 255, 0.7);
}

.site-footer .footer-disclaimer {
  max-width: 680px;
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.82rem;
  line-height: 1.7;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 18px;
  color: rgba(255, 255, 255, 0.78);
}

@media (max-width: 900px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
    padding: 12px clamp(14px, 4vw, 28px);
  }

  .site-nav {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 4px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .site-nav::-webkit-scrollbar {
    display: none;
  }

  .hero,
  .intro-grid,
  .band,
  .split,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 42px;
  }

  h1 {
    font-size: 4rem;
  }

  h2 {
    font-size: 2.35rem;
  }

  .page-heading h1 {
    font-size: 3.4rem;
  }

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

  .hero-visual {
    min-height: auto;
  }

  .cards.three {
    grid-template-columns: 1fr;
  }

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

  .hero-pair,
  .learn-split,
  .info-split,
  .info-split.reverse,
  .pricing-clean {
    grid-template-columns: 1fr;
  }

  .coded-logo-hero {
    min-height: auto;
  }

  .coach-clean-card {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

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

  .pricing-intro-grid {
    grid-template-columns: 1fr;
  }

  .pricing-guide {
    grid-template-columns: 1fr;
  }

  .pricing-clean .lp-heading,
  .lp-text-panel {
    text-align: center;
  }

  .pricing-intro-copy {
    text-align: left;
  }

  .lp-text-panel h1,
  .lp-text-panel p:not(.eyebrow) {
    margin-right: auto;
    margin-left: auto;
  }

  .info-split .player-icon {
    max-width: 220px;
  }

  .lp-text-panel h1,
  .lp-heading h2 {
    font-size: 2.45rem;
  }

  .cta,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 560px) {
  body {
    font-size: 0.98rem;
  }

  .site-header {
    gap: 10px;
    padding: 10px 12px 12px;
  }

  .brand {
    width: 100%;
    gap: 8px;
  }

  .brand img {
    width: 34px;
    height: 34px;
  }

  .brand span {
    white-space: normal;
  }

  .site-nav {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 7px;
    overflow: visible;
    padding-bottom: 0;
    font-size: 0.78rem;
  }

  .site-nav a {
    display: grid;
    min-height: 34px;
    place-items: center;
    border: 1px solid rgba(88, 101, 242, 0.18);
    border-radius: 999px;
    padding: 6px 8px;
    background: #fff;
    line-height: 1.1;
    text-align: center;
    white-space: nowrap;
  }

  .site-nav a:last-child {
    background: #5865f2;
    color: #fff;
  }

  h1 {
    font-size: 2.55rem;
  }

  .page-heading h1 {
    font-size: 2.6rem;
  }

  h2 {
    font-size: 1.9rem;
  }

  .lead {
    font-size: 1rem;
  }

  .lp-hero,
  .lp-section,
  .page {
    padding-right: 14px;
    padding-left: 14px;
  }

  .lp-hero {
    padding-top: 18px;
  }

  .hero-pair,
  .learn-split,
  .info-split,
  .info-split.reverse {
    gap: 16px;
  }

  .hero-actions {
    display: grid;
  }

  .button {
    width: 100%;
  }

  .lp-actions {
    display: grid;
  }

  .lp-hero img,
  .lp-section > img,
  .discord-cta img,
  .coach-image-grid img,
  .faq-image-list img {
    border-radius: 8px;
  }

  .lp-hero img,
  .lp-section > img,
  .coach-image-grid img {
    max-height: none;
  }

  .coded-logo-hero {
    grid-template-columns: 1fr;
    justify-items: center;
    padding: 18px 14px;
    text-align: center;
  }

  .coded-logo-hero img {
    width: min(72%, 220px);
  }

  .discord-cta img {
    max-height: none;
  }

  .hero-discord-link,
  .pricing-discord-button {
    width: 100%;
  }

  .lp-text-panel {
    gap: 12px;
  }

  .lp-text-panel h1,
  .lp-heading h2 {
    font-size: 2.08rem;
  }

  .lp-text-panel p:not(.eyebrow),
  .lp-heading p:not(.eyebrow) {
    font-size: 0.98rem;
    line-height: 1.72;
  }

  .coach-clean-card {
    gap: 14px;
    padding: 16px;
  }

  .coach-clean-card img,
  .coach-placeholder {
    width: 116px;
    height: 116px;
  }

  .coach-heading-row {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 8px;
  }

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

  .pricing-plan {
    min-height: auto;
    padding: 14px;
  }

  .pricing-plan h3 {
    margin: -14px -14px 0;
    padding: 13px 8px;
    font-size: 0.98rem;
    white-space: normal;
  }

  .pricing-ticket-plan {
    flex-wrap: wrap;
  }

  .pricing-guide {
    margin-top: 34px;
    margin-bottom: 38px;
    padding: 22px 14px;
  }

  .pricing-flow li {
    grid-template-columns: 30px minmax(0, 1fr);
    gap: 9px;
    padding: 10px;
    font-size: 0.88rem;
  }

  .pricing-flow li::before {
    width: 28px;
    height: 28px;
  }

  .faq {
    width: min(calc(100% - 20px), 980px);
    border-radius: 12px;
  }

  .faq-row {
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 10px;
  }

  .faq-row span {
    width: 34px;
    height: 34px;
    font-size: 0.98rem;
  }

  .faq-code-card {
    gap: 10px;
    padding: 16px 12px;
  }

  .price-stack.compact {
    grid-template-columns: 1fr;
  }

  .coach-photo {
    aspect-ratio: 16 / 10;
  }

  .info-list div {
    grid-template-columns: 1fr;
    gap: 6px;
    padding: 14px 0;
  }

  .legal-card {
    padding: 18px 14px;
  }

  .legal-card section + section {
    margin-top: 22px;
  }

  .footer-links {
    flex-direction: column;
    gap: 10px;
  }

  .site-footer {
    padding: 30px 16px;
  }
}

@media (max-width: 380px) {
  .site-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  h1,
  .page-heading h1 {
    font-size: 2.28rem;
  }

  .lp-text-panel h1,
  .lp-heading h2 {
    font-size: 1.9rem;
  }
}
