@font-face {
  font-family: "DM Sans";
  src: url("assets/dm-sans.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 1000;
  font-display: swap;
}

:root {
  font-family: "DM Sans", system-ui, sans-serif;
  color: #10203d;
  background: #f0f4fa;
  font-synthesis: none;
  --navy: #0b1d3e;
  --blue: #153e99;
  --muted: #455772;
  --line: #dce4ef;
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; }
main { overflow-wrap: anywhere; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
h1, h2, h3, p { margin: 0; }

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

.wrap {
  width: min(896px, calc(100% - 40px));
  margin-inline: auto;
}

.hero {
  color: #fff;
  background:
    radial-gradient(ellipse at 97% 8%, #1b4a98 0%, transparent 65%),
    linear-gradient(125deg, #08152c 25%, #122c58 100%);
}

.masthead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  padding-block: 22px;
  border-bottom: 1px solid #a9c3ef36;
}

.masthead img { display: block; height: auto; }
.demo { color: #c5d5ef; font-size: .76rem; }

.hero-content { padding-block: clamp(34px, 7vw, 65px) clamp(52px, 8vw, 78px); }

.plan {
  display: inline-block;
  border: 1px solid #9dc0ff7a;
  border-radius: 100px;
  padding: 6px 13px;
  background: #3562a944;
  color: #e1edff;
  font-size: .87rem;
  font-weight: 700;
}

h1 {
  margin-top: 15px;
  font-size: clamp(2.25rem, 6.8vw, 4.7rem);
  font-weight: 650;
  line-height: 1.02;
  letter-spacing: -.065em;
  overflow-wrap: anywhere;
}

.intro {
  max-width: 52ch;
  margin-top: 21px;
  color: #e1eafa;
  font-size: clamp(.98rem, 2vw, 1.13rem);
  line-height: 1.55;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 22px;
  margin-top: 21px;
  color: #c5d5ef;
  font-size: .83rem;
}

.main { position: relative; margin-top: -26px; padding-bottom: 50px; }

.jump {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  width: fit-content;
  max-width: 100%;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 8px 22px #0b1d3e12;
}

.jump a {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  padding: 8px 14px;
  border-radius: 8px;
  color: var(--blue);
  font-size: .88rem;
  font-weight: 750;
  text-align: center;
  text-decoration: none;
}

.jump a:last-child { background: #e8f0ff; }
.jump a:hover { background: #dbe8fc; }
.scope, .investment { margin-top: clamp(32px, 6vw, 52px); scroll-margin-top: 18px; }

h2 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  line-height: 1.1;
  letter-spacing: -.052em;
}

.scope-items { display: grid; gap: 10px; margin-top: 18px; }

details {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
}

summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 17px clamp(15px, 3vw, 25px);
  border-radius: 14px;
  cursor: pointer;
  list-style: none;
}

summary::-webkit-details-marker { display: none; }
summary:hover { background: #f8faff; }
.summary-text { display: grid; gap: 4px; }
.summary-text strong { font-size: 1.17rem; line-height: 1.2; letter-spacing: -.025em; }
.summary-text > span { color: var(--muted); font-size: .87rem; line-height: 1.4; }

.toggle {
  position: relative;
  flex: 0 0 29px;
  height: 29px;
  border-radius: 50%;
  background: #e9f1ff;
  color: var(--blue);
}

.toggle::before, .toggle::after {
  position: absolute;
  inset: 50% auto auto 50%;
  width: 11px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transform: translate(-50%, -50%);
  content: "";
}

.toggle::after { transform: translate(-50%, -50%) rotate(90deg); }
details[open] .toggle::after { display: none; }

.scope-body {
  margin-inline: clamp(15px, 3vw, 25px);
  padding-block: 17px 23px;
  border-top: 1px solid var(--line);
  line-height: 1.45;
}

.check-list { display: grid; gap: 11px; padding: 0; margin: 0; list-style: none; }
.check-list li { position: relative; padding-left: 22px; }

.check-list li::before {
  content: "";
  position: absolute;
  top: .36em;
  left: 2px;
  width: 6px;
  height: 10px;
  border: solid #2357b7;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.consulting li > span { display: block; margin-top: 2px; color: var(--muted); }
.mastermind { margin-bottom: 14px; font-weight: 700; }
.education-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.education-grid > div { padding: 14px; border-radius: 10px; background: #f0f5fd; }
.education-grid h3 { font-size: 1rem; }
.education-grid ul { margin: 8px 0 0; padding-left: 20px; color: var(--muted); }
.education-grid li + li { margin-top: 4px; }

.investment {
  border-radius: 18px;
  background: var(--navy);
  padding: clamp(18px, 4.8vw, 36px);
  color: #fff;
}

.investment-heading p { margin-top: 8px; color: #d6e2f8; }
.price-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 20px; }
.price-card { padding: clamp(14px, 3vw, 22px); border: 1px solid #536b96; border-radius: 12px; background: #18315b; }
.price-card h3 { font-size: .96rem; color: #dce8ff; }
.price { margin-top: 4px; font-weight: 750; font-size: clamp(1.58rem, 4vw, 2.3rem); line-height: 1.15; letter-spacing: -.048em; }
.price-note { margin-top: 6px; color: #d6e2f8; font-size: .88rem; }
.media-note { margin-top: 18px; font-size: .9rem; color: #d6e2f8; line-height: 1.5; }
.media-note strong { color: #fff; }
.media-note span { display: block; white-space: pre-line; }
.scope-note { margin-top: 15px; color: var(--muted); font-size: .92rem; line-height: 1.5; }
.price-grid:has(.price-card:only-child) { grid-template-columns: 1fr; }
.empty { min-height: 100vh; }

.contact {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  min-height: 48px;
  margin-top: 21px;
  padding: 10px 12px;
  border: 0;
  border-radius: 9px;
  background: #b4ecf3;
  color: #0a2c42;
  font-size: .97rem;
  font-weight: 800;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
}

.contact:hover { background: #d0f7fa; }

dialog {
  width: min(410px, calc(100% - 36px));
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: #fff;
  color: var(--navy);
}

dialog::backdrop { background: #08152cc7; }
dialog h2 { font-size: 1.55rem; }
dialog p { margin-top: 10px; line-height: 1.48; }

@media (max-width: 520px) {
  .masthead { padding-block: 18px; }
  .masthead img { width: 94px; }
  .education-grid, .price-grid { grid-template-columns: 1fr; }
  .check-list { font-size: .95rem; }
}
