/* v7 — brand-led editorial system and guided learning path */

.p7-site {
  --p7-ink: #1d1d1f;
  --p7-muted: #6e6e73;
  --p7-surface: #f5f5f7;
  --p7-blue: #eaf3f6;
  --p7-coral: #d96157;
  --p7-line: rgba(29, 29, 31, 0.13);
  background: #fff;
  color: var(--p7-ink);
  font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", "Hiragino Kaku Gothic ProN", "Noto Sans JP", sans-serif;
  font-weight: 400;
  letter-spacing: 0.006em;
  line-height: 1.75;
}

.p7-site .p5-button-primary {
  border-radius: 999px;
  background: var(--p7-ink);
  box-shadow: none;
}

.p7-site .p5-button-primary:hover {
  background: #343437;
}

.p7-site .p5-text-link {
  border-bottom-color: rgba(29, 29, 31, 0.32);
}

/* Brand-first hero */

.p7-hero {
  padding: clamp(9rem, 12vw, 11rem) 0 clamp(4rem, 6vw, 6rem);
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 13%, rgba(220, 239, 243, 0.6), transparent 27rem),
    #fbfbfd;
}

.p7-hero-copy {
  max-width: 67rem;
  text-align: center;
}

.p7-hero-overline {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  color: var(--p7-muted);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.045em;
}

.p7-hero-overline span {
  color: var(--p7-coral);
  font-family: "Manrope", sans-serif;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.p7-hero h1 {
  margin: 1.55rem 0 0;
  font-size: clamp(3.6rem, 7.6vw, 7.25rem);
  font-weight: 600;
  letter-spacing: -0.058em;
  line-height: 1.02;
  text-wrap: balance;
}

.p7-hero h1 small {
  display: block;
  margin-bottom: 0.75rem;
  color: var(--p7-muted);
  font-size: 0.2em;
  font-weight: 500;
  letter-spacing: 0.1em;
  line-height: 1;
}

.p7-hero-copy > p:last-of-type {
  max-width: 46rem;
  margin: 1.8rem auto 0;
  color: var(--p7-muted);
  font-size: clamp(0.98rem, 1.25vw, 1.12rem);
  line-height: 2;
  text-wrap: pretty;
}

.p7-hero-actions {
  margin-top: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.3rem;
  flex-wrap: wrap;
}

.p7-hero-deck {
  margin-top: clamp(3.5rem, 6vw, 5.5rem);
}

.p7-hero-deck .p5-deck {
  border: 0;
  border-radius: 1.75rem;
  box-shadow: 0 2rem 6rem rgba(26, 44, 57, 0.13);
}

.p7-site .p7-hero-deck .p5-deck-viewport {
  height: clamp(28rem, 37vw, 33rem);
}

.p7-hero-deck .p5-deck-slide {
  padding: clamp(1.7rem, 3vw, 2.7rem);
}

.p7-hero-deck .p5-deck-watermark {
  display: none;
}

.p7-hero-deck .p5-deck-controls {
  min-height: 4.5rem;
}

/* Guided entry */

.p7-start {
  padding: clamp(5.5rem, 8vw, 8rem) 0;
  background: #fff;
}

.p7-start-head {
  max-width: 58rem;
}

.p7-start-head > p:first-child {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  color: var(--p7-muted);
  font-size: 0.76rem;
  font-weight: 500;
}

.p7-start-head > p:first-child span {
  color: var(--p7-coral);
  font-family: "Manrope", sans-serif;
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.p7-start-head h2 {
  margin-top: 1rem;
  font-size: clamp(2.65rem, 5.1vw, 5.1rem);
  font-weight: 600;
  letter-spacing: -0.052em;
  line-height: 1.18;
  text-wrap: balance;
}

.p7-start-head > p:last-child {
  max-width: 44rem;
  margin-top: 1.25rem;
  color: var(--p7-muted);
  font-size: 0.96rem;
  line-height: 2;
}

.p7-start-layout {
  margin-top: clamp(3rem, 6vw, 5.5rem);
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
  align-items: start;
  gap: clamp(3rem, 7vw, 7rem);
}

.p7-start-feature {
  position: sticky;
  top: 7rem;
  display: block;
}

.p7-start-feature figure {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 1.6rem;
  background: var(--p7-blue);
}

.p7-start-feature figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 700ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.p7-start-feature:hover figure img {
  transform: scale(1.025);
}

.p7-start-feature > div {
  padding: 1.5rem 0.25rem 0;
}

.p7-start-feature > div > p {
  color: var(--p7-coral);
  font-size: 0.72rem;
  font-weight: 600;
}

.p7-start-feature h3 {
  max-width: 39rem;
  margin-top: 0.45rem;
  font-size: clamp(1.7rem, 3vw, 2.75rem);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.42;
}

.p7-start-feature > div > span {
  width: max-content;
  margin-top: 1rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding-bottom: 0.25rem;
  border-bottom: 1px solid currentColor;
  font-size: 0.82rem;
  font-weight: 600;
}

.p7-curriculum {
  border-top: 1px solid var(--p7-line);
}

.p7-curriculum li {
  border-bottom: 1px solid var(--p7-line);
}

.p7-curriculum a {
  min-height: 8.2rem;
  display: grid;
  grid-template-columns: 2.4rem 1fr auto;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 0.2rem;
}

.p7-curriculum a > span {
  color: var(--p7-coral);
  font-family: "Manrope", sans-serif;
  font-size: 0.68rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.p7-curriculum p {
  color: var(--p7-muted);
  font-size: 0.68rem;
  font-weight: 500;
}

.p7-curriculum h3 {
  margin-top: 0.2rem;
  font-size: clamp(1.05rem, 1.6vw, 1.35rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.5;
  transition: transform 240ms ease;
}

.p7-curriculum small {
  margin-top: 0.35rem;
  display: block;
  color: var(--p7-muted);
  font-size: 0.74rem;
  line-height: 1.65;
}

.p7-curriculum a:hover h3 {
  transform: translateX(0.25rem);
}

/* Keep the long homepage visually consistent and quiet. */

.p7-site .p6-x {
  background: var(--p7-surface);
  color: var(--p7-ink);
}

.p7-site .p6-x-grid {
  opacity: 0.25;
  background-image:
    linear-gradient(rgba(29, 29, 31, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(29, 29, 31, 0.045) 1px, transparent 1px);
}

.p7-site .p6-section-head-dark .p6-section-label,
.p7-site .p6-section-head-dark > p,
.p7-site .p6-x-lead,
.p7-site .p6-x-flow p,
.p7-site .p6-x-caution,
.p7-site .p6-x-benefits p,
.p7-site .p6-x-source,
.p7-site .p6-x-source a {
  color: var(--p7-muted);
}

.p7-site .p6-x-explainer {
  border: 0;
  border-radius: 1.5rem;
  background: #fff;
  box-shadow: 0 1.5rem 4rem rgba(35, 55, 68, 0.08);
}

.p7-site .p6-x-flow,
.p7-site .p6-x-flow > li,
.p7-site .p6-x-benefits,
.p7-site .p6-x-benefits article + article {
  border-color: var(--p7-line);
}

.p7-site .p6-x-flow > li > span {
  border-color: rgba(29, 29, 31, 0.24);
}

.p7-site .p6-x-explainer figure::before {
  background: linear-gradient(145deg, rgba(137, 203, 211, 0.22), rgba(234, 243, 246, 0.4));
}

.p7-site .p6-journal-grid figure,
.p7-site .p6-journal-grid .is-feature figure {
  aspect-ratio: 16 / 9;
  border-radius: 1.1rem;
  background: var(--p7-blue);
}

.p7-site .p6-journal-grid article:not(.is-evidence) figure::before,
.p7-site .p6-journal-grid article:not(.is-evidence) figure::after {
  display: none;
}

.p7-site .p6-journal-grid figure img {
  object-fit: cover;
  filter: none;
  transform: none;
}

.p7-site .p6-journal-grid article:hover figure img {
  transform: scale(1.025);
}

.p7-site .p6-journal-grid article > div > a {
  width: max-content;
  margin-top: 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding-bottom: 0.2rem;
  border-bottom: 1px solid currentColor;
  font-size: 0.76rem;
  font-weight: 600;
}

/* Complete beginner guide */

.p7-guide-hero {
  padding: 7.5rem 0 clamp(4.5rem, 7vw, 7rem);
  overflow: hidden;
  background: #fbfbfd;
}

.p7-breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--p7-muted);
  font-size: 0.7rem;
}

.p7-breadcrumb b {
  color: var(--p7-ink);
  font-weight: 500;
}

.p7-guide-hero-copy {
  max-width: 65rem;
  margin: clamp(4rem, 7vw, 6.5rem) auto 0;
  text-align: center;
}

.p7-guide-label {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--p7-coral);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.p7-guide-label > span {
  width: 1.8rem;
  height: 1px;
  background: currentColor;
}

.p7-guide-hero-copy .p7-guide-label {
  justify-content: center;
}

.p7-guide-hero h1 {
  margin: 1.2rem 0 0;
  font-size: clamp(3rem, 6.2vw, 6.4rem);
  font-weight: 600;
  letter-spacing: -0.057em;
  line-height: 1.15;
  text-wrap: balance;
}

.p7-guide-hero h1 em {
  color: var(--p7-coral);
  font-style: normal;
}

.p7-guide-hero-copy > p:nth-of-type(2) {
  max-width: 49rem;
  margin: 1.6rem auto 0;
  color: var(--p7-muted);
  font-size: 1rem;
  line-height: 2;
}

.p7-guide-hero dl {
  max-width: 53rem;
  margin: 2.3rem auto 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--p7-line);
  border-bottom: 1px solid var(--p7-line);
}

.p7-guide-hero dl > div {
  padding: 1rem;
}

.p7-guide-hero dl > div + div {
  border-left: 1px solid var(--p7-line);
}

.p7-guide-hero dt {
  color: var(--p7-coral);
  font-size: 0.65rem;
  font-weight: 600;
}

.p7-guide-hero dd {
  margin-top: 0.35rem;
  color: var(--p7-muted);
  font-size: 0.76rem;
  line-height: 1.65;
}

.p7-guide-cover {
  margin-top: clamp(3.5rem, 7vw, 6.5rem);
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 1.8rem;
  background: var(--p7-blue);
  box-shadow: 0 2rem 6rem rgba(31, 54, 68, 0.11);
}

.p7-guide-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.p7-guide-summary {
  padding: clamp(4.5rem, 7vw, 6.5rem) 0;
  background: var(--p7-surface);
}

.p7-guide-summary h2 {
  max-width: 49rem;
  margin-top: 1rem;
  font-size: clamp(2.2rem, 4.5vw, 4.4rem);
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 1.25;
}

.p7-guide-stages {
  margin-top: 3rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--p7-line);
  border-bottom: 1px solid var(--p7-line);
}

.p7-guide-stages > div {
  min-height: 13rem;
  padding: 1.6rem 1.5rem 1.8rem;
}

.p7-guide-stages > div + div {
  border-left: 1px solid var(--p7-line);
}

.p7-guide-stages span {
  color: var(--p7-coral);
  font-family: "Manrope", sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
}

.p7-guide-stages h3 {
  margin-top: 0.8rem;
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.p7-guide-stages p {
  margin-top: 0.55rem;
  color: var(--p7-muted);
  font-size: 0.82rem;
  line-height: 1.85;
}

.p7-guide-note {
  max-width: 54rem;
  margin-top: 1.5rem;
  padding-left: 1rem;
  border-left: 2px solid var(--p7-coral);
  color: var(--p7-muted);
  font-size: 0.85rem;
  line-height: 1.9;
}

.p7-guide-layout {
  padding: clamp(4.5rem, 7vw, 7rem) 0 clamp(6rem, 9vw, 9rem);
  display: grid;
  grid-template-columns: 15rem minmax(0, 48rem);
  align-items: start;
  justify-content: center;
  gap: clamp(4rem, 8vw, 8rem);
}

.p7-guide-toc {
  position: sticky;
  top: 7rem;
}

.p7-guide-toc > p {
  padding-bottom: 0.8rem;
  border-bottom: 1px solid var(--p7-line);
  color: var(--p7-muted);
  font-size: 0.68rem;
  font-weight: 600;
}

.p7-guide-toc a {
  display: grid;
  grid-template-columns: 1.8rem 1fr;
  gap: 0.1rem 0.65rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--p7-line);
}

.p7-guide-toc a > span {
  grid-row: span 2;
  color: var(--p7-coral);
  font-family: "Manrope", sans-serif;
  font-size: 0.62rem;
  font-weight: 700;
}

.p7-guide-toc b {
  font-size: 0.78rem;
  font-weight: 600;
}

.p7-guide-toc small {
  color: var(--p7-muted);
  font-size: 0.62rem;
  line-height: 1.55;
}

.p7-guide-body {
  min-width: 0;
}

.p7-guide-chapter {
  padding: 0 0 clamp(5.5rem, 9vw, 8rem);
  scroll-margin-top: 7rem;
}

.p7-guide-chapter + .p7-guide-chapter {
  padding-top: clamp(5rem, 8vw, 7rem);
  border-top: 1px solid var(--p7-line);
}

.p7-guide-chapter h2 {
  margin-top: 1rem;
  font-size: clamp(2.25rem, 4.6vw, 4rem);
  font-weight: 600;
  letter-spacing: -0.048em;
  line-height: 1.28;
  text-wrap: balance;
}

.p7-guide-chapter > p {
  margin-top: 1.4rem;
  color: #45454a;
  font-size: 1rem;
  line-height: 2.05;
  text-wrap: pretty;
}

.p7-guide-chapter mark {
  padding: 0.08em 0.1em;
  background: linear-gradient(transparent 58%, rgba(217, 97, 87, 0.23) 58%);
  color: inherit;
}

.p7-guide-flow {
  margin-top: 2.2rem;
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  align-items: center;
  gap: 0.65rem;
}

.p7-guide-flow > div {
  min-height: 8.5rem;
  padding: 1rem;
  display: grid;
  align-content: space-between;
  border-radius: 0.9rem;
  background: var(--p7-surface);
}

.p7-guide-flow span {
  color: var(--p7-coral);
  font-family: "Manrope", sans-serif;
  font-size: 0.66rem;
  font-weight: 700;
}

.p7-guide-flow b {
  font-size: 0.8rem;
  font-weight: 600;
  line-height: 1.65;
}

.p7-guide-flow i {
  color: var(--p7-muted);
  font-style: normal;
}

.p7-pauu-callout {
  margin-top: 2.2rem;
  padding: 1.1rem 1.5rem 1.1rem 0.8rem;
  display: grid;
  grid-template-columns: 7rem 1fr;
  align-items: center;
  gap: 1rem;
  border-radius: 1.2rem;
  background: var(--p7-blue);
}

.p7-pauu-callout img {
  width: 100%;
  height: auto;
}

.p7-pauu-callout b,
.p7-pauu-callout span {
  display: block;
}

.p7-pauu-callout b {
  font-size: 0.98rem;
  font-weight: 600;
}

.p7-pauu-callout span {
  margin-top: 0.35rem;
  color: var(--p7-muted);
  font-size: 0.78rem;
  line-height: 1.8;
}

.p7-guide-inline-image {
  margin-top: 2.3rem;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 1.3rem;
  background: var(--p7-blue);
}

.p7-guide-inline-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.p7-guide-table-wrap {
  margin-top: 2.3rem;
  overflow-x: auto;
  border-top: 1px solid var(--p7-ink);
  border-bottom: 1px solid var(--p7-ink);
}

.p7-guide-table-wrap table {
  width: 100%;
  min-width: 42rem;
  border-collapse: collapse;
  font-size: 0.78rem;
  line-height: 1.75;
  text-align: left;
}

.p7-guide-table-wrap th,
.p7-guide-table-wrap td {
  padding: 1rem 0.8rem;
  border-bottom: 1px solid var(--p7-line);
  vertical-align: top;
}

.p7-guide-table-wrap thead th {
  color: var(--p7-muted);
  font-size: 0.66rem;
  font-weight: 600;
}

.p7-guide-table-wrap tbody th {
  color: var(--p7-coral);
  font-weight: 600;
  white-space: nowrap;
}

.p7-guide-result {
  margin-top: 2rem !important;
  padding: 1rem 1.2rem;
  border-left: 3px solid var(--p7-coral);
  background: #fff8f7;
}

.p7-guide-result b,
.p7-guide-result span {
  display: block;
}

.p7-guide-result b {
  color: var(--p7-coral);
  font-size: 0.7rem;
  font-weight: 600;
}

.p7-guide-result span {
  margin-top: 0.25rem;
  font-size: 0.85rem;
}

.p7-guide-actions,
.p7-guide-post-list {
  margin-top: 2.2rem;
  border-top: 1px solid var(--p7-line);
}

.p7-guide-actions li,
.p7-guide-post-list article {
  padding: 1.35rem 0;
  border-bottom: 1px solid var(--p7-line);
}

.p7-guide-actions li {
  display: grid;
  grid-template-columns: 2.2rem 1fr;
  gap: 1rem;
}

.p7-guide-actions li > span {
  color: var(--p7-coral);
  font-family: "Manrope", sans-serif;
  font-size: 0.68rem;
  font-weight: 700;
}

.p7-guide-actions h3,
.p7-guide-post-list h3 {
  font-size: 1.18rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.p7-guide-actions p,
.p7-guide-post-list p {
  margin-top: 0.35rem;
  color: var(--p7-muted);
  font-size: 0.82rem;
  line-height: 1.85;
}

.p7-guide-post-list article {
  display: grid;
  grid-template-columns: 7rem minmax(11rem, 0.75fr) 1fr;
  align-items: baseline;
  gap: 1.2rem;
}

.p7-guide-post-list article > span {
  color: var(--p7-coral);
  font-size: 0.7rem;
  font-weight: 600;
}

.p7-guide-rule {
  margin-top: 2rem;
  padding: 1.25rem 1.4rem;
  display: grid;
  grid-template-columns: 8rem 1fr;
  gap: 1rem;
  border-radius: 1rem;
  background: var(--p7-surface);
}

.p7-guide-rule span {
  color: var(--p7-coral);
  font-size: 0.7rem;
  font-weight: 600;
}

.p7-guide-rule p {
  font-size: 0.84rem;
  line-height: 1.85;
}

.p7-formula {
  margin-top: 2.2rem;
  padding: 1.7rem;
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
  border-radius: 1.2rem;
  background: var(--p7-surface);
}

.p7-formula p {
  text-align: center;
}

.p7-formula span,
.p7-formula b {
  display: block;
}

.p7-formula span {
  color: var(--p7-muted);
  font-size: 0.67rem;
}

.p7-formula b {
  margin-top: 0.25rem;
  font-family: "Manrope", -apple-system, sans-serif;
  font-size: clamp(1.3rem, 2.5vw, 1.9rem);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.035em;
}

.p7-formula i {
  color: var(--p7-coral);
  font-family: "Manrope", sans-serif;
  font-size: 1.25rem;
  font-style: normal;
}

.p7-guide-caption {
  margin-top: 0.7rem !important;
  color: var(--p7-muted) !important;
  font-size: 0.7rem !important;
  line-height: 1.7 !important;
}

.p7-guide-finish {
  margin-top: 2.1rem;
  padding: 1.6rem;
  border-radius: 1.2rem;
  background: var(--p7-blue);
}

.p7-guide-finish h3 {
  font-size: 1.15rem;
  font-weight: 600;
}

.p7-guide-finish ol {
  margin-top: 1rem;
  display: grid;
  gap: 0.65rem;
}

.p7-guide-finish li {
  display: grid;
  grid-template-columns: 1.7rem 1fr;
  gap: 0.7rem;
  font-size: 0.83rem;
  line-height: 1.75;
}

.p7-guide-finish li span {
  color: var(--p7-coral);
  font-family: "Manrope", sans-serif;
  font-size: 0.67rem;
  font-weight: 700;
}

.p7-guide-next {
  padding: clamp(2rem, 4vw, 3.5rem);
  display: grid;
  grid-template-columns: 12rem 1fr;
  align-items: center;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  border-radius: 1.6rem;
  background: var(--p7-blue);
}

.p7-guide-next > img {
  width: 100%;
  height: auto;
}

.p7-guide-next h2 {
  margin-top: 0.8rem;
  font-size: clamp(1.8rem, 3.5vw, 3rem);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1.35;
}

.p7-guide-next > div > p {
  margin-top: 0.8rem;
  color: var(--p7-muted);
  font-size: 0.85rem;
  line-height: 1.9;
}

.p7-guide-next .p5-button {
  margin-top: 1.4rem;
}

@media (max-width: 980px) {
  .p7-start-layout {
    grid-template-columns: 1fr;
  }

  .p7-start-feature {
    position: static;
  }

  .p7-guide-layout {
    grid-template-columns: 1fr;
    gap: 3.5rem;
  }

  .p7-guide-toc {
    position: static;
  }

  .p7-guide-toc nav {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0 1.5rem;
  }
}

@media (max-width: 720px) {
  .p7-hero {
    padding: 7.5rem 0 3.5rem;
  }

  .p7-hero-overline {
    align-items: center;
    flex-direction: column;
    gap: 0.35rem;
  }

  .p7-hero h1 {
    font-size: clamp(2.65rem, 13.5vw, 4rem);
    letter-spacing: -0.06em;
    line-height: 1.08;
  }

  .p7-hero h1 small {
    margin-bottom: 0.55rem;
    font-size: 0.26em;
  }

  .p7-hero-copy > p:last-of-type {
    font-size: 0.9rem;
    line-height: 1.9;
  }

  .p7-hero-actions {
    align-items: stretch;
    flex-direction: column;
    gap: 0.7rem;
  }

  .p7-hero-actions .p5-button {
    width: 100%;
  }

  .p7-hero-actions .p5-text-link {
    width: max-content;
    margin-inline: auto;
  }

  .p7-hero-deck {
    margin-top: 3rem;
  }

  .p7-site .p7-hero-deck .p5-deck-viewport {
    height: 36rem;
  }

  .p7-hero-deck .p5-deck {
    border-radius: 1.15rem;
  }

  .p7-start {
    padding: 4.75rem 0;
  }

  .p7-start-head h2 {
    font-size: 2.55rem;
    line-height: 1.25;
  }

  .p7-start-layout {
    margin-top: 2.8rem;
    gap: 3rem;
  }

  .p7-start-feature figure {
    border-radius: 1rem;
  }

  .p7-start-feature h3 {
    font-size: 1.65rem;
  }

  .p7-curriculum a {
    min-height: 7.4rem;
    grid-template-columns: 1.9rem 1fr auto;
    gap: 0.7rem;
  }

  .p7-curriculum small {
    display: none;
  }

  .p7-guide-hero {
    padding: 6.4rem 0 4rem;
  }

  .p7-guide-hero-copy {
    margin-top: 3rem;
    text-align: left;
  }

  .p7-guide-hero-copy .p7-guide-label {
    justify-content: flex-start;
  }

  .p7-guide-hero h1 {
    font-size: 2.55rem;
    line-height: 1.28;
  }

  .p7-guide-hero-copy > p:nth-of-type(2) {
    font-size: 0.9rem;
  }

  .p7-guide-hero dl {
    grid-template-columns: 1fr;
  }

  .p7-guide-hero dl > div {
    display: grid;
    grid-template-columns: 6rem 1fr;
    gap: 1rem;
    text-align: left;
  }

  .p7-guide-hero dl > div + div {
    border-top: 1px solid var(--p7-line);
    border-left: 0;
  }

  .p7-guide-cover {
    margin-top: 3rem;
    border-radius: 1rem;
  }

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

  .p7-guide-stages > div {
    min-height: auto;
    padding: 1.35rem 0.4rem;
  }

  .p7-guide-stages > div + div {
    border-top: 1px solid var(--p7-line);
    border-left: 0;
  }

  .p7-guide-layout {
    padding: 4rem 0 5.5rem;
  }

  .p7-guide-toc nav {
    grid-template-columns: 1fr;
  }

  .p7-guide-chapter h2 {
    font-size: 2.25rem;
    line-height: 1.35;
  }

  .p7-guide-chapter > p {
    font-size: 0.94rem;
  }

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

  .p7-guide-flow > div {
    min-height: 6.5rem;
  }

  .p7-guide-flow i {
    text-align: center;
    transform: rotate(90deg);
  }

  .p7-pauu-callout {
    grid-template-columns: 5.5rem 1fr;
    padding-right: 1rem;
  }

  .p7-guide-inline-image {
    border-radius: 0.9rem;
  }

  .p7-guide-post-list article {
    grid-template-columns: 1fr;
    gap: 0.35rem;
  }

  .p7-guide-rule {
    grid-template-columns: 1fr;
    gap: 0.35rem;
  }

  .p7-formula {
    grid-template-columns: 1fr;
  }

  .p7-formula i {
    text-align: center;
  }

  .p7-guide-next {
    grid-template-columns: 7rem 1fr;
    padding: 1.5rem;
    gap: 1rem;
  }

  .p7-guide-next .p7-guide-label,
  .p7-guide-next > div > p {
    grid-column: 1 / -1;
  }

  .p7-guide-next .p5-button {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .p7-start-feature figure img,
  .p7-curriculum h3,
  .p7-site .p6-journal-grid figure img {
    transition: none;
  }
}
