:root {
  --p7-ink: #173445;
  --p7-blue: #2c5f73;
  --p7-blue-deep: #17475c;
  --p7-sage: #6f8068;
  --p7-clay: #c86b3c;
  --p7-soft: #eef5f6;
  --p7-sage-soft: #f1f5ef;
  --p7-line: #d9e5e8;
  --p7-text: #445b68;
  --p7-white: #fff;
  --p7-shadow: 0 18px 48px rgba(23, 52, 69, 0.09);
  --p7-radius: 24px;
}

.sshi-p7-wrap,
.sshi-p7-portal {
  color: var(--p7-text);
  background: #fff;
}

.sshi-p7-shell {
  width: min(1160px, calc(100% - 40px));
  margin-inline: auto;
}

.sshi-p7-hero,
.sshi-p7-portal-hero {
  padding: clamp(74px, 9vw, 124px) 0;
  background:
    radial-gradient(circle at 92% 8%, rgba(200, 107, 60, 0.11), transparent 29%),
    radial-gradient(circle at 5% 86%, rgba(111, 128, 104, 0.12), transparent 30%),
    linear-gradient(135deg, #fff 0%, #f2f8f9 100%);
  border-bottom: 1px solid var(--p7-line);
}

.sshi-p7-hero.compact {
  padding: clamp(58px, 7vw, 94px) 0;
}

.sshi-p7-eyebrow,
.sshi-p7-heading > span,
.sshi-p7-panel > span,
.sshi-p7-card > span,
.sshi-p7-two article > span {
  display: block;
  margin-bottom: 14px;
  color: var(--p7-blue);
  font-size: .77rem;
  font-weight: 850;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.sshi-p7-hero h1,
.sshi-p7-portal-hero h1,
.sshi-p7-heading h2,
.sshi-p7-panel h2,
.sshi-p7-final h2,
.sshi-p7-two h2 {
  margin: 0;
  color: var(--p7-ink);
  font-family: "Newsreader", Georgia, serif;
  line-height: 1.04;
  letter-spacing: -.035em;
}

.sshi-p7-hero h1,
.sshi-p7-portal-hero h1 {
  max-width: 940px;
  font-size: clamp(3rem, 7vw, 6.1rem);
}

.sshi-p7-hero p,
.sshi-p7-portal-hero p {
  max-width: 820px;
  margin: 24px 0 0;
  font-size: clamp(1.08rem, 1.8vw, 1.3rem);
  line-height: 1.75;
}

.sshi-p7-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
  margin-top: 30px;
}

.sshi-p7-button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 13px 21px;
  border: 2px solid var(--p7-clay);
  border-radius: 999px;
  background: var(--p7-clay);
  color: #fff !important;
  font-weight: 800;
  line-height: 1.2;
  text-decoration: none !important;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.sshi-p7-button:hover,
.sshi-p7-button:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(200, 107, 60, .24);
}

.sshi-p7-button.is-secondary {
  border-color: var(--p7-blue);
  background: transparent;
  color: var(--p7-blue-deep) !important;
}

.sshi-p7-button:focus-visible,
.sshi-p7-wrap a:focus-visible,
.sshi-p7-portal a:focus-visible,
.sshi-p7-upload-form input:focus-visible,
.sshi-p7-upload-form select:focus-visible {
  outline: 3px solid rgba(44, 95, 115, .32);
  outline-offset: 3px;
}

.sshi-p7-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.sshi-p7-trust span {
  padding: 8px 13px;
  border: 1px solid rgba(44, 95, 115, .2);
  border-radius: 999px;
  background: rgba(255, 255, 255, .84);
  color: var(--p7-blue-deep);
  font-size: .85rem;
  font-weight: 750;
}

.sshi-p7-section {
  padding: clamp(64px, 8vw, 104px) 0;
}

.sshi-p7-section.is-soft {
  background: var(--p7-soft);
  border-block: 1px solid var(--p7-line);
}

.sshi-p7-heading {
  max-width: 780px;
  margin-bottom: 36px;
}

.sshi-p7-heading h2,
.sshi-p7-two h2,
.sshi-p7-panel h2,
.sshi-p7-final h2 {
  font-size: clamp(2.2rem, 4.2vw, 4.2rem);
}

.sshi-p7-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.sshi-p7-card,
.sshi-p7-panel,
.sshi-p7-boundary,
.sshi-p7-process article,
.sshi-p7-range-grid > div,
.sshi-p7-inline-link {
  border: 1px solid var(--p7-line);
  border-radius: var(--p7-radius);
  background: #fff;
  box-shadow: var(--p7-shadow);
}

.sshi-p7-card {
  min-height: 290px;
  padding: 28px;
}

.sshi-p7-card-number {
  color: var(--p7-clay) !important;
  font-size: 1rem !important;
}

.sshi-p7-card h3 {
  margin: 0 0 12px;
  color: var(--p7-ink);
  font-size: 1.45rem;
}

.sshi-p7-card p {
  min-height: 94px;
  line-height: 1.65;
}

.sshi-p7-card a {
  color: var(--p7-blue-deep);
  font-weight: 800;
}

.sshi-p7-two {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, .85fr);
  gap: 28px;
  align-items: start;
}

.sshi-p7-boundary {
  padding: 30px;
  border-color: rgba(200, 107, 60, .3);
  background: #fffaf7;
}

.sshi-p7-boundary h3 {
  margin-top: 0;
  color: var(--p7-ink);
  font-size: 1.35rem;
}

.sshi-p7-boundary p,
.sshi-p7-boundary li,
.sshi-p7-two p,
.sshi-p7-checklist li {
  line-height: 1.7;
}

.sshi-p7-checklist,
.sshi-p7-boundary ul {
  display: grid;
  gap: 12px;
  padding-left: 22px;
}

.sshi-p7-process {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.sshi-p7-process article {
  padding: 25px;
}

.sshi-p7-process strong {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  margin-bottom: 22px;
  border-radius: 50%;
  background: var(--p7-blue);
  color: #fff;
}

.sshi-p7-process h3 {
  color: var(--p7-ink);
}

.sshi-p7-final {
  padding: clamp(62px, 8vw, 96px) 0;
  background: var(--p7-blue-deep);
  color: #fff;
}

.sshi-p7-final h2 {
  max-width: 850px;
  color: #fff;
}

.sshi-p7-final .sshi-p7-button.is-secondary {
  border-color: #fff;
  color: #fff !important;
}

.sshi-p7-inline-link {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  margin: 34px 0;
  padding: 28px;
  background: var(--p7-sage-soft);
}

.sshi-p7-inline-link span {
  color: var(--p7-blue);
  font-size: .77rem;
  font-weight: 850;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.sshi-p7-inline-link h2 {
  margin: 8px 0 10px;
  color: var(--p7-ink);
  font-family: "Newsreader", Georgia, serif;
}

.sshi-p7-portal-hero {
  padding: clamp(50px, 7vw, 82px) 0;
}

.sshi-p7-portal-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.sshi-p7-panel {
  padding: 28px;
}

.sshi-p7-panel.is-wide,
.sshi-p7-boundary.is-wide {
  grid-column: 1 / -1;
}

.sshi-p7-panel h2 {
  margin-bottom: 22px;
  font-size: clamp(1.9rem, 3vw, 2.8rem);
}

.sshi-p7-summary {
  padding-top: 20px;
  border-top: 1px solid var(--p7-line);
}

.sshi-p7-summary h3 {
  color: var(--p7-ink);
}

.sshi-p7-summary small,
.sshi-p7-record-list span,
.sshi-p7-document-grid span,
.sshi-p7-document-grid small,
.sshi-p7-range-grid small {
  color: #647985;
  font-size: .85rem;
}

.sshi-p7-record-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.sshi-p7-record-list li {
  display: grid;
  gap: 5px;
  padding: 14px 0;
  border-bottom: 1px solid var(--p7-line);
}

.sshi-p7-record-list strong,
.sshi-p7-document-grid strong {
  color: var(--p7-ink);
}

.sshi-p7-range-grid,
.sshi-p7-document-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.sshi-p7-range-grid > div,
.sshi-p7-document-grid > div {
  padding: 22px;
}

.sshi-p7-range-grid strong {
  display: block;
  margin: 10px 0;
  color: var(--p7-clay);
  font-family: "Newsreader", Georgia, serif;
  font-size: 2rem;
}

.sshi-p7-document-grid > div {
  display: grid;
  gap: 7px;
  border: 1px solid var(--p7-line);
  border-radius: 18px;
  background: var(--p7-soft);
}

.sshi-p7-document-grid a {
  color: var(--p7-blue-deep);
  font-weight: 800;
}

.sshi-p7-timeline {
  display: grid;
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.sshi-p7-timeline li {
  display: grid;
  grid-template-columns: 170px 1fr;
  gap: 22px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--p7-line);
}

.sshi-p7-timeline time {
  color: var(--p7-blue);
  font-weight: 800;
}

.sshi-p7-timeline strong {
  color: var(--p7-ink);
}

.sshi-p7-upload-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.sshi-p7-upload-form label {
  display: grid;
  gap: 8px;
  color: var(--p7-ink);
  font-weight: 750;
}

.sshi-p7-upload-form select,
.sshi-p7-upload-form input[type="file"] {
  width: 100%;
  min-height: 50px;
  padding: 10px 12px;
  border: 1px solid #b9ccd3;
  border-radius: 12px;
  background: #fff;
}

.sshi-p7-upload-form p {
  grid-column: 1 / -1;
  margin: 0;
  font-size: .9rem;
}

.sshi-p7-notice {
  width: min(1160px, calc(100% - 40px));
  margin: 22px auto 0;
  padding: 15px 18px;
  border-radius: 14px;
  font-weight: 750;
}

.sshi-p7-notice.is-success {
  border: 1px solid #9bc5a7;
  background: #eef8f0;
  color: #285c35;
}

.sshi-p7-notice.is-error {
  border: 1px solid #e3aaa0;
  background: #fff3f0;
  color: #8b3424;
}

@media (max-width: 980px) {
  .sshi-p7-card-grid,
  .sshi-p7-process {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .sshi-p7-two,
  .sshi-p7-inline-link {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .sshi-p7-shell {
    width: min(100% - 28px, 1160px);
  }

  .sshi-p7-card-grid,
  .sshi-p7-process,
  .sshi-p7-portal-grid,
  .sshi-p7-range-grid,
  .sshi-p7-document-grid,
  .sshi-p7-upload-form {
    grid-template-columns: 1fr;
  }

  .sshi-p7-panel.is-wide,
  .sshi-p7-boundary.is-wide {
    grid-column: auto;
  }

  .sshi-p7-actions,
  .sshi-p7-actions .sshi-p7-button,
  .sshi-p7-upload-form .sshi-p7-button {
    width: 100%;
  }

  .sshi-p7-timeline li {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .sshi-p7-upload-form p {
    grid-column: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  .sshi-p7-button {
    transition: none;
  }
}
