.gf-ghin-page {
  --ghin-navy: #071b35;
  --ghin-blue: #0b477c;
  --ghin-gold: #c9a44c;
  --ghin-ink: #17243a;
  --ghin-muted: #58657a;
  --ghin-line: #d8e0ea;
  color: var(--ghin-ink);
  margin: 0 auto;
  max-width: 1240px;
  padding: clamp(28px, 4vw, 58px) 20px clamp(56px, 7vw, 90px);
  width: 100%;
}

.gf-ghin-form,
.gf-ghin-page,
.gf-ghin-page * {
  box-sizing: border-box;
}

.gf-ghin-form {
  max-width: 100%;
  min-width: 0;
}

.gf-ghin-hero {
  background:
    linear-gradient(110deg, rgba(7, 27, 53, 0.98), rgba(11, 71, 124, 0.9)),
    radial-gradient(circle at 80% 15%, rgba(201, 164, 76, 0.24), transparent 34%);
  border-left: 4px solid var(--ghin-gold);
  color: #fff;
  margin-bottom: clamp(24px, 4vw, 42px);
  overflow: hidden;
  padding: clamp(28px, 4vw, 50px);
  position: relative;
}

.gf-ghin-hero::after {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  content: "";
  height: 260px;
  position: absolute;
  right: -90px;
  top: -130px;
  width: 260px;
}

.gf-ghin-eyebrow,
.gf-ghin-summary-label {
  color: var(--ghin-gold);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.gf-ghin-title {
  color: #fff;
  font-size: clamp(2rem, 4vw, 3.35rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.04;
  margin: 10px 0 14px;
  max-width: 800px;
}

.gf-ghin-description {
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(1rem, 1.5vw, 1.12rem);
  line-height: 1.65;
  margin: 0 0 20px;
  max-width: 720px;
}

.gf-ghin-notice {
  background: rgba(201, 164, 76, 0.14);
  border: 1px solid rgba(225, 194, 115, 0.48);
  color: #fff4d5;
  display: inline-block;
  margin: 0 0 18px;
  padding: 9px 13px;
}

.gf-ghin-manual-link {
  color: #fff;
  display: block;
  font-weight: 750;
  text-decoration-color: var(--ghin-gold);
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
  width: fit-content;
}

.gf-ghin-manual-link:hover,
.gf-ghin-manual-link:focus-visible {
  color: #f4d98f;
}

.gf-ghin-layout {
  align-items: start;
  display: grid;
  gap: clamp(24px, 4vw, 48px);
  grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1.28fr);
  min-width: 0;
}

.gf-ghin-content {
  display: grid;
  gap: 18px;
  position: sticky;
  top: 116px;
}

.gf-ghin-content,
.gf-ghin-form-card,
.gf-ghin-summary-card,
.gf-ghin-fields-row,
.gf-ghin-fieldset {
  min-width: 0;
}

.gf-ghin-summary-card,
.gf-ghin-form-card,
.gf-payment-success {
  background: #fff;
  border: 1px solid var(--ghin-line);
  border-radius: 3px;
  box-shadow: 0 18px 48px rgba(7, 27, 53, 0.08);
}

.gf-ghin-summary-card {
  border-top: 3px solid var(--ghin-gold);
  padding: clamp(22px, 3vw, 30px);
}

.gf-ghin-summary-card h2,
.gf-ghin-benefits h2,
.gf-ghin-form-card h2,
.gf-payment-success h1 {
  color: var(--ghin-navy);
  font-size: 1.32rem;
  font-weight: 800;
  line-height: 1.25;
  margin: 0 0 14px;
}

.gf-ghin-price {
  color: var(--ghin-navy);
  font-size: clamp(1.9rem, 3vw, 2.45rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
  margin: 22px 0 9px;
}

.gf-ghin-price span {
  color: var(--ghin-muted);
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.gf-ghin-period {
  color: var(--ghin-muted);
  font-weight: 700;
}

.gf-ghin-benefits {
  background: #f5f7fa;
  border-left: 3px solid #b7c3d2;
  padding: 24px 26px;
}

.gf-ghin-benefits-list {
  margin: 0;
  padding-left: 20px;
}

.gf-ghin-benefits-list li {
  line-height: 1.5;
  margin-bottom: 9px;
}

.gf-ghin-trust-note,
.gf-payment-warning,
.gf-payment-pending-message,
.gf-payment-success-message {
  border-radius: 2px;
  line-height: 1.55;
  padding: 13px 15px;
}

.gf-ghin-trust-note {
  background: #eff7f3;
  border: 1px solid #c8e2d5;
  color: #234b36;
}

.gf-payment-warning {
  background: #fff7e9;
  border: 1px solid #e9ca8e;
  color: #694713;
  margin-bottom: 20px;
}

.gf-payment-pending-message {
  background: #edf5ff;
  border: 1px solid #bed8f4;
  color: #183d67;
}

.gf-payment-success-message {
  background: #eff7f3;
  border: 1px solid #c8e2d5;
  color: #234b36;
}

.gf-ghin-form-card {
  border-top: 3px solid var(--ghin-navy);
  padding: clamp(22px, 4vw, 38px);
}

.gf-ghin-form-clarification {
  color: var(--ghin-muted);
  line-height: 1.6;
  margin: -3px 0 28px;
}

.gf-ghin-fieldset {
  border: 0;
  border-top: 1px solid var(--ghin-line);
  margin: 28px 0 0;
  min-width: 0;
  padding: 24px 0 0;
}

.gf-ghin-fieldset > legend {
  color: var(--ghin-navy);
  float: none;
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  margin: 0 0 18px;
  padding: 0;
  text-transform: uppercase;
  width: auto;
}

.gf-ghin-fields-row {
  display: grid;
  gap: 0 16px;
}

.gf-ghin-fields-row--names {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.gf-ghin-fields-row--two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.gf-ghin-form-card .form-item {
  margin: 0 0 18px;
  min-width: 0;
}

.gf-ghin-form-card label {
  color: #23324a;
  display: inline-block;
  font-size: 0.92rem;
  font-weight: 750;
  margin-bottom: 7px;
}

.gf-ghin-form-card input:not([type="submit"]):not([type="checkbox"]):not([type="radio"]) {
  background: #fff;
  border: 1px solid #bac6d5;
  border-radius: 2px;
  color: var(--ghin-ink);
  min-height: 48px;
  padding: 9px 12px;
  transition: border-color 160ms ease, box-shadow 160ms ease;
  width: 100%;
}

.gf-ghin-form-card input:not([type="submit"]):not([type="checkbox"]):not([type="radio"]):hover {
  border-color: #8495ab;
}

.gf-ghin-form-card input:not([type="submit"]):focus-visible,
.gf-ghin-manual-link:focus-visible,
.gf-ghin-submit:focus-visible,
.gf-payment-success a:focus-visible {
  box-shadow: 0 0 0 3px rgba(201, 164, 76, 0.42);
  outline: 2px solid var(--ghin-navy);
  outline-offset: 2px;
}

.gf-ghin-form-card .form-item--error-message {
  color: #9b211c;
  font-weight: 700;
  margin-top: 7px;
}

.gf-ghin-form-card .error {
  border-color: #b72b25 !important;
}

.gf-ghin-form-card .description {
  color: var(--ghin-muted);
  font-size: 0.84rem;
  line-height: 1.45;
  margin-top: 6px;
}

.gf-ghin-payment-context {
  background: #f4f6f9;
  border-left: 3px solid var(--ghin-gold);
  margin-top: 28px;
  padding: 18px 20px;
}

.gf-ghin-payment-context h3 {
  color: var(--ghin-navy);
  font-size: 1rem;
  margin: 0 0 8px;
}

.gf-ghin-payment-context p {
  line-height: 1.5;
  margin: 5px 0;
}

.gf-ghin-actions {
  margin: 22px 0 0;
}

.gf-ghin-submit {
  background: var(--ghin-blue);
  border: 1px solid var(--ghin-blue);
  border-radius: 2px;
  color: #fff;
  font-size: 1rem;
  font-weight: 800;
  min-height: 50px;
  padding: 12px 20px;
  transition: background-color 160ms ease, border-color 160ms ease;
  width: 100%;
}

.gf-ghin-submit:hover,
.gf-ghin-submit:focus-visible {
  background: var(--ghin-navy);
  border-color: var(--ghin-navy);
}

.gf-ghin-submit:disabled,
.gf-ghin-submit.is-processing {
  cursor: wait;
  opacity: 0.72;
}

.gf-ghin-processing-status {
  color: var(--ghin-muted);
  font-size: 0.9rem;
  font-weight: 700;
  margin-top: 10px;
  text-align: center;
}

.gf-payment-success {
  border-top: 4px solid var(--ghin-gold);
  margin: 42px auto 72px;
  max-width: 840px;
  padding: clamp(24px, 5vw, 42px);
}

.gf-payment-confirmation-table {
  margin: 22px 0;
  width: 100%;
}

.gf-payment-confirmation-table th,
.gf-payment-confirmation-table td {
  border-bottom: 1px solid var(--ghin-line);
  padding: 12px;
  text-align: left;
}

@media (max-width: 980px) {
  .gf-ghin-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .gf-ghin-content {
    position: static;
  }

  .gf-ghin-fields-row--names {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .gf-ghin-page {
    max-width: 100%;
    padding: 18px 14px 52px;
  }

  .gf-ghin-hero {
    border-left-width: 3px;
    padding: 25px 20px;
  }

  .gf-ghin-manual-link,
  .gf-ghin-notice {
    max-width: 100%;
    overflow-wrap: anywhere;
  }

  .gf-ghin-fields-row--names,
  .gf-ghin-fields-row--two {
    grid-template-columns: 1fr;
  }

  .gf-ghin-summary-card,
  .gf-ghin-form-card {
    padding: 22px 18px;
  }

  .gf-payment-confirmation-table,
  .gf-payment-confirmation-table tbody,
  .gf-payment-confirmation-table tr,
  .gf-payment-confirmation-table th,
  .gf-payment-confirmation-table td {
    display: block;
    width: 100%;
  }

  .gf-payment-confirmation-table th {
    border-bottom: 0;
    padding-bottom: 2px;
  }

  .gf-payment-confirmation-table td {
    padding-top: 2px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .gf-ghin-form-card input,
  .gf-ghin-submit {
    transition: none;
  }
}
