:root {
  --navy: #0b2344;
  --navy-2: #132f55;
  --gold: #b99a5d;
  --gold-2: #d7c39b;
  --text: #12233f;
  --muted: #6d7685;
  --line: #e6e9ee;
  --white: #fff;
  --warm: #f8f6f1;
  --shadow: 0 20px 60px rgba(15, 35, 65, .10);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--white);
  font-family: "Hiragino Mincho ProN", "Yu Mincho", "Noto Serif JP", serif;
  line-height: 1.8;
}

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

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

.container {
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, .88);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(230, 233, 238, .7);
}

.header-inner {
  height: 72px;
  display: flex;
  align-items: center;
  gap: 32px;
  width: min(1240px, calc(100% - 40px));
  margin: 0 auto;
}

.logo {
  font-size: 25px;
  letter-spacing: .06em;
  font-weight: 700;
  color: var(--navy);
  white-space: nowrap;
}

.global-nav {
  display: flex;
  gap: 28px;
  margin-left: auto;
  font-size: 13px;
}

.header-cta {
  padding: 12px 20px;
  color: #fff;
  background: var(--navy);
  border-radius: 3px;
  font-size: 13px;
}

.menu-button {
  display: none;
}

.hero {
  position: relative;
  height: 100vh;
  min-height: 760px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(255,255,255,.72) 0%,
    rgba(255,255,255,.42) 32%,
    rgba(255,255,255,.06) 68%
  );
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-inner {
  position: relative;
  padding-top: 130px;
}

.eyebrow {
  color: var(--navy-2);
  font-size: 13px;
  letter-spacing: .08em;
  margin: 0 0 12px;
  font-family: "Times New Roman", "Yu Mincho", serif;
}

.hero h1 {
  font-size: clamp(46px, 6vw, 78px);
  line-height: 1.35;
  font-weight: 500;
  margin: 0 0 24px;
  letter-spacing: .08em;
}

.hero-copy {
  font-size: 18px;
  color: #253958;
  margin-bottom: 36px;
}

.hero-actions,
.cta-card .btn {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 190px;
  padding: 14px 24px;
  border-radius: 3px;
  font-weight: 700;
  font-size: 14px;
  transition: .25s ease;
}

.btn.primary {
  background: var(--navy);
  color: #fff;
}

.btn.secondary,
.btn.ghost {
  background: rgba(255,255,255,.82);
  border: 1px solid #c9d0db;
}

.btn.gold {
  background: var(--gold);
  color: #fff;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.feature-strip {
  position: relative;
  margin-top: 110px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: rgba(255,255,255,.88);
  box-shadow: var(--shadow);
  border: 1px solid rgba(230,233,238,.9);
  border-radius: 8px;
}

.feature-strip div {
  padding: 28px 24px;
  text-align: center;
  border-right: 1px solid var(--line);
}

.feature-strip div:last-child {
  border-right: none;
}

.feature-strip span {
  display: block;
  color: var(--navy);
  font-size: 18px;
  font-weight: 700;
}

.feature-strip small {
  color: var(--muted);
}

.section {
  padding: 105px 0;
}

.section-no {
  color: var(--gold-2);
  font-family: Georgia, serif;
  font-size: 48px;
  line-height: 1;
  margin-right: 26px;
}

.section-heading h2,
.section-title h2,
.section-title-row h2 {
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.55;
  font-weight: 500;
  margin: 0 0 18px;
}

.section-heading p,
.section-title p,
.course-copy p {
  color: var(--muted);
}

.split {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 70px;
  align-items: center;
}

.compare-card {
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: var(--shadow);
}

.compare-head,
.compare-row {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1fr;
}

.compare-head strong {
  padding: 22px;
  text-align: center;
  font-size: 15px;
}

.compare-head strong:last-child {
  background: var(--navy);
  color: #fff;
}

.compare-row {
  border-top: 1px solid var(--line);
}

.compare-row > * {
  margin: 0;
  padding: 15px 18px;
  border-right: 1px solid var(--line);
}

.compare-row p:last-child {
  color: var(--gold);
  font-weight: 700;
  border-right: 0;
}

.wide-image-band {
  margin-top: 72px;
  margin-bottom: 0;
  position: relative;
  height: 230px;
  overflow: hidden;
}

.wide-image-band img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.wide-image-band::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(9,35,68,.8), rgba(9,35,68,.08));
}

.wide-image-band div {
  position: absolute;
  left: calc((100vw - min(1120px, calc(100vw - 48px))) / 2);
  top: 50%;
  transform: translateY(-50%);
  color: #fff;
  z-index: 1;
  font-size: 32px;
  line-height: 1.8;
}

.section-title-row {
  display: flex;
  align-items: flex-start;
  margin-bottom: 44px;
}

.centered {
  text-align: center;
  max-width: 740px;
  margin: 0 auto 44px;
}

.course-layout {
  display: grid;
  grid-template-columns: 270px 1fr;
  gap: 24px;
}

.course-tabs {
  display: grid;
  gap: 10px;
}

.course-tab {
  display: grid;
  grid-template-columns: 82px 1fr;
  align-items: center;
  gap: 12px;
  border: 1px solid var(--line);
  background: #fff;
  padding: 8px;
  color: var(--text);
  text-align: left;
  cursor: pointer;
  border-radius: 4px;
  transition: .2s ease;
}

.course-tab img {
  width: 82px;
  height: 58px;
  object-fit: cover;
  border-radius: 3px;
}

.course-tab.active {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
}

.course-detail {
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  display: grid;
  grid-template-columns: 1fr .9fr;
  gap: 30px;
  padding: 42px;
  min-height: 450px;
}

.course-copy h3 {
  font-size: 28px;
  margin: 0 0 16px;
}

.badges {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.badges span {
  border: 1px solid #d9c79e;
  color: var(--navy);
  padding: 4px 12px;
  font-size: 13px;
  border-radius: 3px;
}

dl {
  margin: 0;
}

dt {
  font-weight: 700;
  color: var(--gold);
  margin-top: 18px;
}

dd {
  margin: 4px 0 0;
  color: #31435f;
}

.text-link {
  display: inline-block;
  margin-top: 28px;
  color: var(--navy);
  font-weight: 700;
  border-bottom: 1px solid var(--navy);
}

.course-map img {
  height: 100%;
  width: 100%;
  object-fit: contain;
}

.usecase {
  background: var(--warm);
}

.usecase-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.usecase-grid article {
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 10px 36px rgba(15, 35, 65, .06);
}

.usecase-grid img {
  width: 100%;
  height: 240px;
  object-fit: cover;
}

.usecase-grid h3 {
  font-size: 22px;
  line-height: 1.6;
  margin: 26px 26px 10px;
}

.usecase-grid p,
.usecase-grid a {
  margin-left: 26px;
  margin-right: 26px;
}

.usecase-grid p {
  color: var(--muted);
}

.usecase-grid a {
  display: inline-block;
  margin-bottom: 28px;
  color: var(--navy);
  font-weight: 700;
}

.price-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.price-grid article {
  border: 1px solid #d9c79e;
  padding: 42px 30px;
  text-align: center;
  background: #fff;
  box-shadow: 0 10px 30px rgba(15, 35, 65, .05);
}

.price-grid .featured {
  transform: none;
  box-shadow: var(--shadow);
  border-color: var(--gold);
}

.plan-name {
  color: var(--gold);
  letter-spacing: .12em;
}

.price-grid h3 {
  font-size: 24px;
}

.price-grid strong {
  display: block;
  font-size: 34px;
  margin: 22px 0 6px;
  color: var(--navy);
}

.price-grid span {
  color: var(--muted);
}

.aircraft-main {
  display: grid;
  grid-template-columns: 1.35fr .65fr;
  gap: 28px;
  align-items: stretch;
}

.aircraft-photo {
  width: 100%;
  height: 450px;
  object-fit: cover;
  border-radius: 4px;
}

.spec-card {
  border: 1px solid #d9c79e;
  padding: 34px;
  background: #fff;
}

.spec-card h3 {
  font-size: 26px;
  text-align: center;
  border-bottom: 1px solid var(--line);
  padding-bottom: 20px;
  margin-top: 0;
}

.spec-card dl {
  line-height: 1.3;
}

.spec-card dl div,
.spec-card dt,
.spec-card dd {
  font-size: 14px;
}

.gallery {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.gallery img {
  height: 175px;
  width: 100%;
  object-fit: cover;
  border-radius: 4px;
}

.gallery figcaption {
  text-align: center;
  color: var(--muted);
  font-size: 13px;
  margin-top: 8px;
}

.spec-strip {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border: 1px solid var(--line);
  margin-top: 30px;
}

.spec-strip div {
  padding: 22px 14px;
  text-align: center;
  border-right: 1px solid var(--line);
}

.spec-strip div:last-child {
  border-right: none;
}

.spec-strip strong {
  display: block;
  color: var(--navy);
}

.spec-strip span {
  color: var(--muted);
  font-size: 13px;
}

.appeal {
  padding-bottom: 0;
  background: linear-gradient(180deg, #fff 0%, #f6f8fb 100%);
}

.appeal-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--line);
  background: rgba(255,255,255,.88);
  box-shadow: var(--shadow);
  position: relative;
  z-index: 1;
}

.appeal-grid article {
  padding: 42px 34px;
  text-align: center;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.appeal-grid h3 {
  font-size: 20px;
}

.appeal-grid p,
.safety-grid p,
.flow-steps p {
  color: var(--muted);
}

.mountain-bg {
  width: 100%;
  height: 360px;
  object-fit: cover;
  margin-top: -40px;
}

.safety {
  background: var(--warm);
}

.safety-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.safety-grid article {
  background: #fff;
  padding: 34px;
  border: 1px solid var(--line);
}

.flow-steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border: 1px solid var(--line);
}

.flow-steps article {
  padding: 32px 24px;
  border-right: 1px solid var(--line);
  position: relative;
}

.flow-steps article:last-child {
  border-right: none;
}

.flow-steps span {
  display: inline-flex;
  width: 34px;
  height: 34px;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  font-size: 12px;
}

.faq-cta {
  background: #fff;
}

.faq-cta-layout {
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  gap: 34px;
  align-items: stretch;
}

.faq-box {
  border: 1px solid var(--line);
  padding: 34px;
}

.compact {
  margin-bottom: 24px;
}

.compact .section-no {
  font-size: 38px;
}

.accordion button {
  width: 100%;
  padding: 18px 10px;
  background: #fff;
  border: 0;
  border-bottom: 1px solid var(--line);
  text-align: left;
  color: var(--text);
  font: inherit;
  cursor: pointer;
  position: relative;
}

.accordion button::after {
  content: "+";
  position: absolute;
  right: 8px;
}

.accordion button.active::after {
  content: "-";
}

.accordion div {
  display: none;
  padding: 16px 8px;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
}

.cta-card {
  position: relative;
  min-height: 430px;
  overflow: hidden;
  border-radius: 4px;
}

.cta-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cta-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(11,35,68,.25), rgba(11,35,68,.75));
}

.cta-card > div {
  position: absolute;
  z-index: 1;
  right: 56px;
  top: 50%;
  transform: translateY(-50%);
  color: #fff;
}

.cta-card h2 {
  font-size: 42px;
  line-height: 1.6;
  font-weight: 500;
}

.contact-band {
  position: relative;
  background: #f7f5ef;
  border-top: 1px solid var(--line);
  overflow: hidden;
}

.contact-inner {
  min-height: 118px;
  display: flex;
  align-items: center;
  gap: 40px;
  position: relative;
  z-index: 1;
}

.contact-inner p {
  font-size: 20px;
}

.contact-inner strong {
  font-size: 32px;
  color: var(--navy);
}

.contact-inner span {
  color: var(--muted);
}

.contact-band img {
  position: absolute;
  right: 4%;
  bottom: 0;
  width: 320px;
  opacity: .8;
}

.site-footer {
  padding: 38px 0;
  border-top: 1px solid var(--line);
}

.footer-inner {
  display: flex;
  align-items: center;
  gap: 34px;
}

.footer-inner nav {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-left: auto;
  font-size: 13px;
  color: var(--muted);
}

.footer-inner p {
  color: var(--muted);
  font-size: 12px;
}

.page-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: .2s ease;
}

.page-top.visible {
  opacity: 1;
  pointer-events: auto;
}

@media (max-width: 980px) {
  .global-nav,
  .header-cta {
    display: none;
  }

  .menu-button {
    display: inline-grid;
    gap: 5px;
    margin-left: auto;
    border: 0;
    background: transparent;
  }

  .menu-button span {
    display: block;
    width: 26px;
    height: 2px;
    background: var(--navy);
  }

  .feature-strip,
  .split,
  .course-layout,
  .course-detail,
  .usecase-grid,
  .price-grid,
  .aircraft-main,
  .appeal-grid,
  .safety-grid,
  .flow-steps,
  .faq-cta-layout,
  .spec-strip {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 680px;
  }

  .feature-strip {
    margin-top: 70px;
  }

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

  .flow-steps article,
  .feature-strip div,
  .spec-strip div {
    border-right: none;
    border-bottom: 1px solid var(--line);
  }

  .footer-inner,
  .contact-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 28px, 1120px);
  }

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

  .hero-bg::after {
    background: rgba(255,255,255,.72);
  }

  .section {
    padding: 72px 0;
  }

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

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

  .cta-card > div {
    left: 26px;
    right: 26px;
  }

  .cta-card h2 {
    font-size: 30px;
  }
}


/* icon styles */
.header-cta{
  display:inline-flex;
  align-items:center;
  gap:8px;
}

.header-cta img{
  width:16px;
  height:16px;
  filter:brightness(0) invert(1);
}

.feature-strip img{
  width:34px;
  height:34px;
  object-fit:contain;
  margin:0 auto 12px;
}

.appeal-grid article img{
  width:38px;
  height:38px;
  object-fit:contain;
  margin:0 auto 18px;
}

.flow-steps article img{
  width:42px;
  height:42px;
  object-fit:contain;
  margin:0 0 16px;
}


/* layout fix: connect comparison image band directly to usecase section */
.comparison {
  padding-bottom: 0 !important;
}

.comparison .wide-image-band {
  margin-bottom: 0 !important;
}

.comparison + .usecase {
  margin-top: 0 !important;
  padding-top: 64px !important;
}

/* layout fix: align all three price cards */
.price-grid {
  align-items: stretch !important;
}

.price-grid article {
  height: 100%;
}

.price-grid .featured {
  transform: none !important;
}


/* final patch: keep prior layout fixes and add latest refinements */

/* Keep wide image band connected directly to the ivory usecase section */
.comparison {
  padding-bottom: 0 !important;
}

.comparison .wide-image-band {
  margin-bottom: 0 !important;
}

.comparison + .usecase {
  margin-top: 0 !important;
  padding-top: 64px !important;
}

/* Keep all plan cards aligned */
.price-grid {
  align-items: stretch !important;
}

.price-grid article {
  height: 100%;
}

.price-grid .featured {
  transform: none !important;
  border-color: #d9c79e !important;
  box-shadow: 0 10px 30px rgba(15, 35, 65, .05) !important;
}

/* final CTA: match design mockup, left aligned text and horizontal buttons */
.cta-card::after {
  background: linear-gradient(90deg, rgba(11,35,68,.74), rgba(11,35,68,.28)) !important;
}

.cta-card > div {
  left: 56px !important;
  right: 56px !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  text-align: left !important;
}

.cta-card h2 {
  margin: 0 0 28px !important;
}

.cta-actions {
  display: flex !important;
  flex-direction: row !important;
  gap: 18px !important;
  align-items: center !important;
  justify-content: flex-start !important;
  flex-wrap: wrap !important;
}

.cta-actions .btn {
  min-width: 190px;
}

.cta-card .btn.ghost {
  color: #fff;
  border-color: rgba(255,255,255,.72);
  background: rgba(255,255,255,.08);
}

/* Appeal icons and text spacing */
.appeal-grid article img {
  width: 38px;
  height: 38px;
  object-fit: contain;
  margin: 0 auto 18px;
}

@media (max-width: 640px) {
  .cta-card > div {
    left: 26px !important;
    right: 26px !important;
  }

  .cta-actions {
    flex-direction: column !important;
    align-items: flex-start !important;
  }
}
