:root {
  color-scheme: light;
  --ink: #13213a;
  --night: #101b32;
  --blue: #304bc9;
  --lime: #d5fc54;
  --muted: #4d5d78;
  --rule: #d9e1ef;
  font: 16px/1.65 "Hiragino Sans", "Yu Gothic", Meiryo, system-ui, sans-serif;
  color: var(--ink);
  background: #f5f7fc;
}

*, *::before, *::after { box-sizing: border-box; }
body, h1, h2, p { margin: 0; }
a { color: inherit; text-underline-offset: .23em; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 4px; }
.skip { position: absolute; z-index: 3; left: 12px; top: 12px; clip-path: inset(50%); }
.skip:focus { clip-path: none; padding: .65rem; color: var(--ink); background: #fff; }
.price-wrap { width: min(100% - 56px, 1060px); margin-inline: auto; }

.price-header {
  position: relative;
  z-index: 1;
  background: var(--night);
  color: #fff;
  border-bottom: 1px solid #ffffff29;
}
.header-inner {
  min-height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .6rem 1.3rem;
}
.price-brand { width: 145px; flex: 0 0 auto; text-decoration: none; font-weight: 760; }
.price-brand svg { display: block; width: 100%; height: auto; }
.price-header nav { display: flex; align-items: center; gap: clamp(12px, 3vw, 25px); }
.price-header nav a { font-size: .86rem; font-weight: 680; text-decoration: none; }
.price-header nav a:hover { text-decoration: underline; }

.price-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(48px, 6.2vw, 92px) 0 clamp(68px, 7.6vw, 112px);
  color: #fff;
  background: var(--night);
}
.price-photo {
  position: absolute;
  z-index: -2;
  inset: 0 0 0 auto;
  width: min(74%, 1120px);
  height: 100%;
  object-fit: cover;
  object-position: 75% 50%;
}
.price-hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(90deg, #101b32 12%, #101b32f2 33%, #101b3278 68%, #101b321f),
    linear-gradient(0deg, #101b326e, transparent 70%);
}
.price-kicker { margin-bottom: .65rem; color: var(--lime); font-size: .86rem; font-weight: 760; }
.price-hero h1 { font-size: clamp(2.35rem, 5.15vw, 4.25rem); line-height: 1.15; letter-spacing: -.055em; }
.price-intro { max-width: 29rem; margin-block: 1.06rem 1.35rem; color: #e2eaf9; }
.price-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .55rem; }
.price-button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: .6rem;
  min-height: 46px;
  padding: .52rem .9rem;
  border: 1px solid transparent;
  border-radius: 8px;
  font-size: .9rem;
  font-weight: 740;
  text-align: center;
  text-decoration: none;
}
.price-button.primary { color: #14210d; background: var(--lime); }
.price-button.outline { color: #fff; background: #101b3299; border-color: #ffffff7a; }
.price-button.plan-link { color: var(--blue); border-color: #9baade; margin-top: auto; }
.price-button:hover { filter: brightness(.94); }
.price-header :focus-visible, .price-hero :focus-visible { outline-color: var(--lime); }

.plan-section { position: relative; z-index: 0; margin-top: -37px; scroll-margin-top: 1rem; }
.plan-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.price-plan {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: clamp(19px, 3vw, 34px);
  border: 1px solid var(--rule);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 14px 35px #1c315617;
}
.price-plan.team-plan { border-color: #a6b5ed; background: #eef2ff; }
.price-plan h2 { font-size: clamp(1.07rem, 2.4vw, 1.42rem); line-height: 1.3; }
.plan-title { display: flex; flex-wrap: wrap; align-items: center; gap: .32rem .7rem; }
.price-tag {
  padding: .12rem .48rem;
  border-radius: 5px;
  color: #233ca2;
  background: #dbe3ff;
  font-size: .75rem;
  font-weight: 760;
}
.price-value {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: .08rem .28rem;
  margin-block: .5rem .85rem;
  font-weight: 740;
}
.price-value strong {
  color: var(--ink);
  font-size: clamp(2.7rem, 6vw, 4rem);
  font-variant-numeric: tabular-nums;
  letter-spacing: -.05em;
  line-height: 1;
}
.team-plan .price-value strong { color: #243cac; }
.price-value small, .price-muted { color: var(--muted); font-size: .81rem; }
.price-value small { margin-inline-start: .36rem; }
.plan-details { padding: 0; margin: 0 0 .95rem; list-style: none; font-size: .94rem; }
.plan-details li { position: relative; padding-inline-start: 1.23rem; margin-bottom: .3rem; }
.plan-details li::before {
  content: "";
  position: absolute;
  left: .1rem;
  top: .53em;
  width: .56rem;
  height: .32rem;
  border: solid var(--blue);
  border-width: 0 0 2px 2px;
  transform: rotate(-45deg);
}
.plan-status {
  width: 100%;
  padding-top: .72rem;
  margin-top: auto;
  border-top: 1px solid #bfcbed;
  color: #3d4f78;
  font-size: .82rem;
}

.price-questions { padding-block: clamp(40px, 7vw, 72px); }
.price-questions h2 { font-size: clamp(1.65rem, 3.3vw, 2.45rem); letter-spacing: -.035em; }
.question-list { margin-top: 1.2rem; }
.question-list details { border-top: 1px solid var(--rule); }
.question-list details:last-child { border-bottom: 1px solid var(--rule); }
.question-list summary {
  display: flex;
  min-height: 52px;
  gap: .7rem;
  align-items: center;
  justify-content: space-between;
  padding: .66rem .25rem;
  list-style: none;
  cursor: pointer;
  font-weight: 740;
}
.question-list summary::-webkit-details-marker { display: none; }
.question-list summary::after { content: "+"; color: var(--blue); font-size: 1.35rem; line-height: 1; }
.question-list details[open] summary::after { content: "−"; }
.question-list details p { padding: 0 .25rem .85rem; color: var(--muted); }
.price-support { padding-block: 18px; border-top: 1px solid var(--rule); color: var(--muted); font-size: .9rem; overflow-wrap: anywhere; }
.price-support a { color: var(--blue); font-weight: 740; }

@media (max-width: 650px) {
  .price-wrap { width: min(100% - 32px, 1060px); }
  .header-inner { padding-block: 10px; flex-wrap: wrap; }
  .price-header nav { flex-wrap: wrap; }
  .price-brand { width: 123px; }
  .price-photo { width: 100%; height: clamp(185px, 55vw, 300px); object-position: 75% 45%; }
  .price-hero { padding-top: clamp(135px, 38vw, 217px); padding-bottom: 56px; }
  .price-hero::after { background: linear-gradient(180deg, #101b321a, #101b3266 105px, #101b32 254px); }
  .price-hero h1 { font-size: clamp(2.1rem, 8.9vw, 3.5rem); }
  .plan-section { margin-top: -25px; }
  .plan-grid { grid-template-columns: 1fr; gap: 11px; }
}
