@font-face {
  font-family: "Nasalization";
  src: url("../font/nasalization.otf.otf") format("opentype");
  font-weight: normal;
  font-style: normal;
}

:root {
  --navy: #071637;
  --blue: #113d91;
  --blue-bright: #346de0;
  --pink: #f03a76;
  --ink: #14213d;
  --muted: #667085;
  --line: #dce4f3;
  --surface: #ffffff;
  --soft: #f5f8ff;
  --danger: #c92a56;
  --success: #087a55;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background: var(--soft);
  font-family: "Inter", Arial, sans-serif;
  line-height: 1.65;
}

body.modal-open {
  overflow: hidden;
}

a {
  color: inherit;
}

button,
input,
textarea {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  border-bottom: 1px solid rgba(17, 61, 145, 0.1);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px);
}

.header-inner,
.page-shell,
.footer-inner {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.header-inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand img {
  display: block;
  width: auto;
  height: 54px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.site-nav a {
  color: #24324f;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--blue);
}

.hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 12% 20%, rgba(52, 109, 224, 0.5), transparent 34%),
    radial-gradient(circle at 88% 5%, rgba(240, 58, 118, 0.25), transparent 30%),
    linear-gradient(125deg, #06132e, #0d2b69);
}

.hero::after {
  position: absolute;
  inset: 0;
  content: "";
  opacity: 0.18;
  background-image: url("../groupbanner.png");
  background-position: center;
  background-size: cover;
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: min(860px, calc(100% - 40px));
  margin: 0 auto;
  padding: 76px 0 82px;
  text-align: center;
}

.eyebrow {
  margin: 0 0 14px;
  color: #c7d7ff;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 800px;
  margin: 0 auto 18px;
  font-family: "Nasalization", "Inter", sans-serif;
  font-size: clamp(36px, 6vw, 62px);
  font-weight: 400;
  line-height: 1.08;
}

.hero-copy {
  max-width: 680px;
  margin: 0 auto;
  color: #dce6ff;
  font-size: 17px;
}

.page-shell {
  padding: 54px 0 76px;
}

.content-card,
.action-card,
.contact-card {
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--surface);
  box-shadow: 0 18px 55px rgba(20, 44, 91, 0.09);
}

.action-card {
  padding: clamp(28px, 6vw, 56px);
  text-align: center;
}

.action-icon,
.contact-icon {
  display: grid;
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  place-items: center;
  border-radius: 20px;
  color: var(--blue);
  background: #eaf0ff;
}

.action-icon svg,
.contact-icon svg {
  width: 30px;
  height: 30px;
}

.action-card h2,
.contact-card h2 {
  margin: 0 0 12px;
  color: var(--navy);
  font-size: clamp(25px, 4vw, 34px);
  line-height: 1.2;
}

.action-card > p {
  max-width: 690px;
  margin: 0 auto 26px;
  color: var(--muted);
}

.notice {
  max-width: 720px;
  margin: 28px auto 0;
  padding: 16px 18px;
  border: 1px solid #f1d6df;
  border-radius: 14px;
  color: #703047;
  background: #fff7fa;
  font-size: 14px;
  text-align: left;
}

.primary-btn,
.danger-btn,
.secondary-btn {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 12px 24px;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  font-size: 15px;
  font-weight: 800;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease, opacity 160ms ease;
}

.primary-btn {
  color: #fff;
  background: linear-gradient(110deg, var(--blue), #234faf);
  box-shadow: 0 10px 25px rgba(17, 61, 145, 0.22);
}

.danger-btn {
  color: #fff;
  background: linear-gradient(110deg, #c92a56, var(--pink));
  box-shadow: 0 10px 25px rgba(201, 42, 86, 0.24);
}

.secondary-btn {
  color: var(--blue);
  border: 1px solid #b8c7e6;
  background: #fff;
}

.primary-btn:hover,
.danger-btn:hover,
.secondary-btn:hover {
  transform: translateY(-1px);
}

button:disabled {
  cursor: not-allowed;
  opacity: 0.58;
  transform: none !important;
}

.steps {
  display: grid;
  margin-top: 28px;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.step {
  padding: 19px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fbfcff;
  text-align: left;
}

.step-number {
  display: grid;
  width: 32px;
  height: 32px;
  margin-bottom: 11px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--blue);
  font-size: 13px;
  font-weight: 800;
}

.step strong {
  display: block;
  color: var(--navy);
  font-size: 15px;
}

.step span {
  color: var(--muted);
  font-size: 13px;
}

.content-card {
  padding: clamp(26px, 5vw, 54px);
}

.policy-meta {
  margin: 0 0 34px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

.policy-section + .policy-section {
  margin-top: 34px;
}

.policy-section h2 {
  margin: 0 0 10px;
  color: var(--navy);
  font-size: 23px;
  line-height: 1.3;
}

.policy-section h3 {
  margin: 20px 0 6px;
  color: var(--navy);
  font-size: 17px;
}

.policy-section p {
  margin: 0 0 12px;
  color: #475467;
}

.policy-section ul {
  margin: 10px 0 0;
  padding-left: 22px;
  color: #475467;
}

.policy-section li + li {
  margin-top: 7px;
}

.inline-link {
  color: var(--blue);
  font-weight: 700;
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.4fr;
  gap: 24px;
}

.contact-card {
  padding: clamp(25px, 4vw, 38px);
}

.contact-card .contact-icon {
  margin-left: 0;
}

.contact-card p {
  color: var(--muted);
}

.contact-email {
  display: block;
  margin-top: 18px;
  color: var(--blue);
  font-size: 17px;
  font-weight: 800;
  overflow-wrap: anywhere;
}

.field-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-field {
  margin-bottom: 17px;
}

.form-field label {
  display: block;
  margin-bottom: 7px;
  color: #344054;
  font-size: 14px;
  font-weight: 700;
}

.form-field input,
.form-field textarea {
  width: 100%;
  border: 1px solid #cbd5e1;
  border-radius: 12px;
  outline: none;
  color: var(--ink);
  background: #fff;
}

.form-field input {
  min-height: 49px;
  padding: 0 14px;
}

.form-field textarea {
  min-height: 150px;
  padding: 13px 14px;
  resize: vertical;
}

.form-field input:focus,
.form-field textarea:focus {
  border-color: var(--blue-bright);
  box-shadow: 0 0 0 3px rgba(52, 109, 224, 0.12);
}

.site-footer {
  color: #d7e1f8;
  background: var(--navy);
}

.footer-inner {
  min-height: 110px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.footer-inner p {
  margin: 0;
  font-size: 14px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 20px;
}

.footer-links a {
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

.footer-links a:hover {
  color: #fff;
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  padding: 20px;
  place-items: center;
  overflow-y: auto;
  background: rgba(3, 10, 29, 0.72);
  backdrop-filter: blur(7px);
}

.modal-backdrop[hidden] {
  display: none;
}

.modal {
  width: min(520px, 100%);
  padding: 28px;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.3);
}

.modal-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.modal-header h2 {
  margin: 0;
  color: var(--navy);
  font-size: 25px;
  line-height: 1.25;
}

.modal-header p {
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.modal-close {
  flex: 0 0 auto;
  display: grid;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  place-items: center;
  color: #475467;
  background: #f1f4f9;
  font-size: 25px;
  line-height: 1;
}

.deletion-form {
  margin-top: 24px;
}

.phone-control {
  display: flex;
  overflow: hidden;
  border: 1px solid #cbd5e1;
  border-radius: 12px;
  background: #fff;
}

.phone-prefix {
  display: flex;
  padding: 0 14px;
  align-items: center;
  border-right: 1px solid #d8dee9;
  color: #475467;
  background: #f7f9fc;
  font-weight: 700;
}

.phone-control input {
  border: 0;
  box-shadow: none !important;
}

.otp-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
}

.otp-row .secondary-btn {
  min-width: 124px;
  padding-inline: 18px;
}

.otp-help {
  margin: -8px 0 16px;
  color: var(--muted);
  font-size: 12px;
}

.form-status {
  display: none;
  margin: 0 0 16px;
  padding: 12px 14px;
  border-radius: 11px;
  font-size: 13px;
  font-weight: 600;
}

.form-status.is-visible {
  display: block;
}

.form-status.is-error {
  color: #8c1d40;
  background: #fff0f5;
}

.form-status.is-success {
  color: #05603f;
  background: #eafaf3;
}

.delete-submit {
  width: 100%;
}

.success-state {
  padding: 20px 0 6px;
  text-align: center;
}

.success-state[hidden] {
  display: none;
}

.success-mark {
  display: grid;
  width: 72px;
  height: 72px;
  margin: 0 auto 18px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--success);
  font-size: 36px;
}

.success-state h2 {
  margin: 0 0 10px;
  color: var(--navy);
  font-size: 26px;
}

.success-state p {
  margin: 0 0 24px;
  color: var(--muted);
}

@media (max-width: 760px) {
  .site-nav {
    gap: 16px;
  }

  .site-nav a:first-child {
    display: none;
  }

  .hero-inner {
    padding: 58px 0 62px;
  }

  .steps,
  .contact-grid,
  .field-grid {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    padding: 28px 0;
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-links {
    justify-content: flex-start;
  }
}

@media (max-width: 480px) {
  .header-inner,
  .page-shell,
  .footer-inner {
    width: min(100% - 28px, 1120px);
  }

  .brand img {
    height: 45px;
  }

  .site-nav {
    gap: 12px;
  }

  .site-nav a {
    font-size: 12px;
  }

  .hero-inner {
    width: calc(100% - 28px);
  }

  .hero-copy {
    font-size: 15px;
  }

  .modal {
    padding: 22px 18px;
  }

  .otp-row {
    grid-template-columns: 1fr;
  }

  .otp-row .secondary-btn {
    width: 100%;
  }
}
