@font-face {
  font-family: "Dojo Serif";
  src: url("/assets/fonts/dojo-serif-subset.woff2") format("woff2");
  font-display: swap;
  font-style: normal;
  font-weight: 900;
}

:root {
  color-scheme: light;
  --paper: #f6efe3;
  --paper-deep: #ecdfcd;
  --card: #fffaf1;
  --ink: #251d17;
  --muted: #685b50;
  --orange: #b8612b;
  --orange-bright: #d58135;
  --green: #3f805d;
  --line: rgb(74 49 31 / 15%);
  --serif: "Dojo Serif", "Hiragino Mincho ProN", "Yu Mincho", serif;
  --sans: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Yu Gothic", "Noto Sans JP", sans-serif;
  --shadow: 0 18px 50px rgb(72 44 25 / 12%);
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 5% 5%, rgb(213 129 53 / 12%), transparent 28rem),
    radial-gradient(circle at 95% 26%, rgb(63 128 93 / 10%), transparent 30rem),
    var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  line-height: 1.8;
  text-rendering: optimizeLegibility;
}

img {
  max-width: 100%;
}

a {
  color: inherit;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 8px;
  left: 8px;
  padding: 10px 14px;
  transform: translateY(-160%);
  border-radius: 8px;
  background: var(--ink);
  color: #fff;
}

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

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

.site-header,
.site-footer,
main {
  width: min(100% - 28px, 1180px);
  margin-inline: auto;
}

.site-header {
  min-height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.site-header nav,
.site-header .header-cta {
  display: none;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1.02rem;
  font-weight: 900;
  letter-spacing: .02em;
  text-decoration: none;
}

.brand-mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: linear-gradient(145deg, var(--orange-bright), #93441f);
  color: #fff9ef;
  box-shadow: 0 8px 22px rgb(115 58 27 / 20%);
}

.hero {
  display: grid;
  gap: clamp(24px, 6vw, 36px);
  padding: clamp(28px, 7vw, 52px) 0 clamp(54px, 10vw, 88px);
}

.kicker {
  margin: 0 0 10px;
  color: var(--orange);
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .15em;
}

h1,
h2,
h3,
.primary-cta {
  font-family: var(--serif);
  font-weight: 900;
}

h1 {
  margin: 0;
  font-size: clamp(2.65rem, 13vw, 4.5rem);
  line-height: 1.1;
  letter-spacing: -.05em;
}

h1 em {
  color: var(--orange);
  font-style: normal;
}

.hero-lead {
  margin: 20px 0 0;
  color: var(--muted);
  font-size: .98rem;
  font-weight: 650;
  line-height: 2;
}

.hero-lead br {
  display: none;
}

.hero-proof {
  overflow: hidden;
  margin-top: 22px;
  border: 1px solid rgb(74 49 31 / 13%);
  border-radius: 18px;
  background: rgb(255 250 241 / 76%);
  box-shadow: 0 10px 28px rgb(72 44 25 / 8%);
}

.proof-range {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 10px;
  margin: 0;
  padding: 11px 13px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: .72rem;
}

.proof-range span {
  color: var(--orange);
  font-size: .64rem;
  font-weight: 900;
  letter-spacing: .08em;
}

.proof-range strong {
  color: var(--ink);
  font-size: .8rem;
}

.hero-proof ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  list-style: none;
}

.hero-proof li {
  min-width: 0;
  display: grid;
  gap: 1px;
  padding: 11px 12px;
  border-right: 1px solid var(--line);
}

.hero-proof li:nth-child(2) {
  border-right: 0;
}

.hero-proof li:last-child {
  grid-column: 1 / -1;
  border-top: 1px solid var(--line);
  border-right: 0;
}

.hero-proof li strong {
  font-family: var(--serif);
  font-size: .82rem;
  line-height: 1.45;
}

.hero-proof li span {
  color: var(--muted);
  font-size: .66rem;
  font-weight: 750;
  line-height: 1.45;
}

.hero-actions {
  display: grid;
  gap: 13px;
  margin-top: 26px;
}

.public-cta {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  border: 1px solid rgb(37 29 23 / 12%);
  border-radius: 15px;
  background: var(--ink);
  color: #fff;
  font-size: .9rem;
  font-weight: 900;
  line-height: 1.3;
  text-align: center;
  text-decoration: none;
  box-shadow: 0 10px 25px rgb(52 39 29 / 14%);
}

.public-cta:hover {
  background: var(--orange);
}

.public-cta[data-cta-state="fallback"] {
  background: var(--green);
}

.public-cta[data-cta-state="x"] {
  background: #151515;
}

.primary-cta {
  min-height: 59px;
  font-size: 1rem;
}

.text-link {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--ink);
  font-size: .88rem;
  font-weight: 850;
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
}

.availability {
  max-width: 38rem;
  margin: 11px 0 0;
  color: #786a5e;
  font-size: .73rem;
  line-height: 1.65;
}

.growth-loop {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.growth-loop li {
  min-width: 0;
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 0 7px;
  padding: 11px 4px 11px 0;
  border-top: 1px solid var(--line);
  background: transparent;
}

.growth-loop li > span {
  grid-row: 1 / 3;
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--orange);
  color: #fff;
  font-size: .68rem;
  font-weight: 900;
}

.growth-loop strong {
  font-size: .8rem;
  line-height: 1.4;
}

.growth-loop small {
  overflow: hidden;
  color: var(--muted);
  font-size: .65rem;
  line-height: 1.45;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hero-visual,
.journey-card,
.screen-card {
  margin: 0;
}

.hero-visual {
  position: relative;
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: -18px 8% 18%;
  z-index: -1;
  border-radius: 42% 58% 55% 45%;
  background: rgb(184 97 43 / 14%);
  filter: blur(10px);
}

.hero-visual picture,
.hero-visual img {
  display: block;
}

.hero-visual img {
  width: 100%;
  height: auto;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--card);
  box-shadow: var(--shadow);
}

.hero-visual figcaption {
  width: calc(100% - 28px);
  margin: -16px auto 0;
  position: relative;
  padding: 11px 14px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: rgb(255 250 241 / 94%);
  color: var(--muted);
  font-size: .72rem;
  font-weight: 800;
  text-align: center;
  box-shadow: 0 10px 26px rgb(72 44 25 / 10%);
}

.section {
  padding: 72px 0;
}

.section-copy {
  max-width: 620px;
}

.section-copy.centered {
  margin-inline: auto;
  text-align: center;
}

h2 {
  margin: 0;
  font-size: clamp(2rem, 10vw, 3.65rem);
  line-height: 1.25;
  letter-spacing: -.04em;
}

.section-copy > p:not(.kicker) {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: .94rem;
  font-weight: 620;
}

.plain-list {
  display: grid;
  gap: 8px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.plain-list li {
  position: relative;
  padding-left: 27px;
  color: #51463d;
  font-size: .86rem;
  font-weight: 800;
}

.plain-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--green);
  font-weight: 950;
}

.journey-grid {
  display: grid;
  gap: 22px;
  margin-top: 34px;
}

.journey-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--card);
  box-shadow: 0 12px 34px rgb(72 44 25 / 10%);
}

.journey-card picture,
.journey-card img {
  display: block;
}

.journey-card img {
  width: 100%;
  height: auto;
}

.journey-card figcaption {
  display: grid;
  gap: 2px;
  padding: 14px 16px 16px;
}

.journey-card b {
  color: var(--orange);
  font-family: var(--serif);
}

.journey-card span {
  color: var(--muted);
  font-size: .76rem;
  font-weight: 700;
}

.dojo {
  position: relative;
}

.dojo::before {
  content: "";
  position: absolute;
  inset: 30px 0;
  z-index: -1;
  background: rgb(255 250 241 / 54%);
  border-block: 1px solid rgb(74 49 31 / 8%);
}

.dojo-layout {
  display: grid;
  gap: 28px;
  margin-top: 34px;
}

.screen-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: var(--card);
  box-shadow: var(--shadow);
}

.screen-card picture,
.screen-card img {
  display: block;
}

.screen-card img {
  width: 100%;
  height: auto;
}

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

.dojo-benefits article {
  min-width: 0;
  padding: 18px 0;
  border-top: 1px solid var(--line);
}

.dojo-benefits article > span {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: rgb(184 97 43 / 12%);
  color: var(--orange);
  font-family: var(--serif);
  font-size: .78rem;
}

.dojo-benefits h3 {
  margin: 12px 0 3px;
  font-size: 1rem;
}

.dojo-benefits p {
  margin: 0;
  color: var(--muted);
  font-size: .7rem;
  line-height: 1.65;
}

.tournament-panel {
  display: grid;
  gap: 30px;
  padding: 28px 18px;
  border-radius: 28px;
  background: var(--ink);
  color: #fff9ef;
  box-shadow: 0 22px 58px rgb(37 29 23 / 18%);
}

.tournament .kicker {
  color: #f2a867;
}

.tournament .section-copy > p:not(.kicker) {
  color: #ddd2c8;
}

.note {
  padding: 12px 14px;
  border-left: 3px solid var(--green);
  border-radius: 0 10px 10px 0;
  background: rgb(255 255 255 / 7%);
  font-size: .78rem !important;
}

.share {
  display: grid;
  gap: 30px;
  align-items: center;
}

.share .note {
  background: rgb(63 128 93 / 10%);
  color: #4d5b51 !important;
}

.plans {
  position: relative;
}

.start-flow {
  margin-top: 30px;
  padding: 22px 18px;
  scroll-margin-top: 90px;
  border: 1px solid rgb(63 128 93 / 24%);
  border-radius: 22px;
  background: rgb(255 250 241 / 76%);
}

.start-flow h3 {
  margin: 0;
  color: var(--green);
  font-size: 1.15rem;
  text-align: center;
}

.start-flow ol {
  display: grid;
  gap: 0;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.start-flow li {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 11px;
  padding: 15px 0;
  border-top: 1px solid var(--line);
}

.start-flow li > span {
  width: 31px;
  height: 31px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  font-size: .74rem;
  font-weight: 900;
}

.start-flow strong {
  font-size: .88rem;
}

.start-flow p {
  margin: 3px 0 0;
  color: var(--muted);
  font-size: .72rem;
  line-height: 1.65;
}

.plan-grid {
  display: grid;
  gap: 18px;
  margin-top: 34px;
}

.plan-card {
  padding: 26px 20px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgb(255 250 241 / 88%);
  box-shadow: var(--shadow);
}

.plan-card.premium {
  border-color: rgb(184 97 43 / 35%);
  background: linear-gradient(145deg, #fff9ef, #f4dfc7);
}

.plan-label {
  width: max-content;
  margin: 0;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgb(63 128 93 / 12%);
  color: var(--green);
  font-size: .72rem;
  font-weight: 900;
}

.premium .plan-label {
  background: rgb(184 97 43 / 12%);
  color: var(--orange);
}

.plan-card h3 {
  margin: 16px 0 0;
  font-size: 1.55rem;
}

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

.plan-card li {
  position: relative;
  padding-left: 24px;
  color: #54493f;
  font-size: .84rem;
  font-weight: 750;
}

.plan-card li::before {
  content: "●";
  position: absolute;
  left: 2px;
  color: var(--green);
  font-size: .56rem;
}

.premium li::before {
  color: var(--orange);
}

.plan-summary {
  margin: 0;
  padding-top: 13px;
  border-top: 1px solid var(--line);
  color: var(--green);
  font-size: .76rem;
  font-weight: 900;
}

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

.price-options p {
  display: grid;
  gap: 2px;
  margin: 0;
  padding: 12px;
  border: 1px solid rgb(184 97 43 / 22%);
  border-radius: 13px;
  background: rgb(255 250 241 / 72%);
}

.price-options span {
  color: var(--muted);
  font-size: .68rem;
  font-weight: 800;
}

.price-options strong {
  color: var(--orange);
  font-family: var(--serif);
  font-size: 1.1rem;
}

.trial-copy {
  margin: 13px 0 0;
  color: var(--ink);
  font-size: .78rem;
}

.renewal-copy {
  margin: 7px 0 0;
  color: var(--muted);
  font-size: .68rem;
  line-height: 1.7;
}

.faq-list {
  max-width: 790px;
  display: grid;
  gap: 10px;
  margin: 30px auto 0;
}

.faq-list details {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgb(255 250 241 / 80%);
}

.faq-list summary {
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 16px;
  cursor: pointer;
  font-family: var(--serif);
  font-size: .9rem;
  font-weight: 900;
  list-style: none;
}

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

.faq-list summary::after {
  content: "+";
  color: var(--orange);
  font-family: var(--sans);
  font-size: 1.35rem;
  line-height: 1;
}

.faq-list details[open] summary::after {
  content: "−";
}

.faq-list details p {
  margin: 0;
  padding: 0 16px 17px;
  color: var(--muted);
  font-size: .82rem;
}

.faq-list details a {
  color: #075da8;
  font-weight: 800;
}

.closing {
  margin: 50px 0 64px;
  padding: 48px 20px;
  border-radius: 28px;
  background:
    radial-gradient(circle at 80% 10%, rgb(213 129 53 / 30%), transparent 18rem),
    var(--ink);
  color: #fff9ef;
  text-align: center;
}

.closing .kicker {
  color: #f2a867;
}

.closing h2 {
  font-size: clamp(2.25rem, 11vw, 4.5rem);
}

.closing > p:not(.kicker) {
  margin: 18px auto 0;
  color: #ddd2c8;
  font-size: .84rem;
}

.closing .primary-cta {
  width: min(100%, 310px);
  margin: 24px auto 0;
  background: #fff9ef;
  color: var(--ink);
}

.closing .primary-cta[data-cta-state="fallback"] {
  background: #dff0e4;
  color: #1e5038;
}

.closing .availability {
  margin-inline: auto;
  color: #ddd2c8;
}

.site-footer {
  display: grid;
  justify-items: start;
  gap: 18px;
  padding: 30px 0 42px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
}

.site-footer nav a {
  color: var(--ink);
  font-size: .76rem;
  font-weight: 800;
  text-decoration: none;
}

.site-footer p {
  margin: 0;
  font-size: .72rem;
}

@media (min-width: 560px) {
  .hero-actions {
    grid-template-columns: minmax(220px, 300px) auto;
    align-items: center;
  }

  .text-link {
    justify-content: start;
  }

  .hero-lead br {
    display: initial;
  }

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

  .hero-proof li:nth-child(2) {
    border-right: 1px solid var(--line);
  }

  .hero-proof li:last-child {
    grid-column: auto;
    border-top: 0;
  }

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

  .dojo-benefits article {
    padding-block: 20px;
  }
}

@media (min-width: 768px) {
  .site-header,
  .site-footer,
  main {
    width: min(100% - 48px, 1180px);
  }

  .site-header {
    min-height: 82px;
  }

  .site-header nav {
    display: flex;
    gap: 20px;
  }

  .site-header nav a {
    color: var(--ink);
    font-size: .76rem;
    font-weight: 850;
    text-decoration: none;
  }

  .site-header nav a:hover,
  .site-footer nav a:hover {
    color: var(--orange);
  }

  .hero {
    padding-top: 48px;
  }

  .growth-loop {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

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

  .journey-card figcaption {
    min-height: 86px;
  }

  .dojo-layout {
    grid-template-columns: minmax(300px, .9fr) minmax(0, 1.1fr);
    align-items: center;
    gap: 44px;
  }

  .tournament-panel {
    padding: 44px;
  }

  .share {
    grid-template-columns: minmax(300px, 1fr) minmax(0, .9fr);
    gap: 48px;
  }

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

  .start-flow li {
    align-content: start;
    padding: 8px 18px;
    border-top: 0;
    border-left: 1px solid var(--line);
  }

  .start-flow li:first-child {
    border-left: 0;
  }

  .site-footer {
    grid-template-columns: 1fr auto auto;
    align-items: center;
    justify-items: initial;
  }
}

@media (min-width: 900px) {
  .site-header .header-cta {
    min-height: 40px;
    display: inline-flex;
    padding: 8px 13px;
    font-size: .7rem;
  }

  .hero {
    grid-template-columns: minmax(0, .92fr) minmax(460px, 1.08fr);
    align-items: center;
    gap: 54px;
    padding: 54px 0 90px;
  }

  .hero-visual img {
    height: auto;
    aspect-ratio: auto;
    object-fit: initial;
  }

  .section {
    padding: 104px 0;
  }

  .training > .section-copy {
    margin-left: 5%;
  }

  .journey-card img {
    height: auto;
    aspect-ratio: auto;
    object-fit: initial;
  }

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

  .tournament-panel {
    grid-template-columns: minmax(0, .85fr) minmax(480px, 1.15fr);
    align-items: center;
    gap: 54px;
  }

  .landscape img {
    height: auto;
    aspect-ratio: auto;
    object-fit: initial;
  }

  .plan-card {
    padding: 34px;
  }
}

@media (min-width: 1180px) {
  h1 {
    font-size: 5.1rem;
  }

  .hero {
    gap: 64px;
  }
}

@media (max-width: 340px) {
  .site-header,
  .site-footer,
  main {
    width: min(100% - 20px, 1180px);
  }

  .brand {
    font-size: .94rem;
  }

  .brand-mark {
    width: 34px;
    height: 34px;
  }

  h1 {
    font-size: 2.45rem;
  }

  h2 {
    font-size: 1.85rem;
  }

  .growth-loop {
    grid-template-columns: 1fr;
  }

  .dojo-benefits {
    grid-template-columns: 1fr;
  }

  .tournament-panel {
    padding-inline: 14px;
  }
}

@media (max-width: 767px) {
  .hero-visual img,
  .journey-card img,
  .screen-card img {
    height: auto;
    aspect-ratio: auto;
    object-fit: initial;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}
