:root {
  --background: #f7f8fc;
  --surface: #ffffff;
  --surface-soft: #f0f4ff;
  --text: #13213c;
  --muted: #65718a;
  --primary: #4b63d3;
  --primary-dark: #354bb8;
  --accent: #9b7ae5;
  --border: #e0e5ef;
  --shadow: 0 18px 55px rgba(35, 48, 84, 0.1);
  --radius-large: 28px;
  --radius-medium: 18px;
  --max-width: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--background);
  font-family:
    Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

.site-header,
main,
footer {
  width: min(calc(100% - 40px), var(--max-width));
  margin-inline: auto;
}

.site-header {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--text);
  font-size: 1rem;
  font-weight: 750;
  text-decoration: none;
}

.brand-mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  color: white;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(75, 99, 211, 0.25);
}

.brand-mark svg {
  width: 23px;
  fill: currentColor;
}

.header-link {
  color: var(--primary-dark);
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 22px;
}

.header-link:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.hero {
  min-height: 540px;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 64px;
  padding: 72px;
  overflow: hidden;
  position: relative;
  background:
    radial-gradient(circle at 90% 10%, rgba(155, 122, 229, 0.16), transparent 32%),
    linear-gradient(135deg, #fff 0%, #f3f6ff 100%);
  border: 1px solid rgba(222, 227, 239, 0.9);
  border-radius: var(--radius-large);
  box-shadow: var(--shadow);
}

.hero::before {
  content: "";
  width: 280px;
  height: 280px;
  position: absolute;
  right: -110px;
  bottom: -130px;
  background: rgba(75, 99, 211, 0.08);
  border-radius: 50%;
}

.hero-content {
  position: relative;
  z-index: 1;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--primary);
  font-size: 0.77rem;
  font-weight: 800;
  letter-spacing: 0.16em;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 620px;
  margin-bottom: 20px;
  font-size: clamp(2.75rem, 6vw, 5rem);
  line-height: 1.02;
  letter-spacing: -0.055em;
}

.hero-copy {
  max-width: 570px;
  margin-bottom: 32px;
  color: var(--muted);
  font-size: 1.12rem;
}

.primary-button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  color: white;
  background: var(--primary);
  border: 0;
  border-radius: 13px;
  box-shadow: 0 10px 24px rgba(75, 99, 211, 0.22);
  font: inherit;
  font-size: 0.94rem;
  font-weight: 750;
  text-decoration: none;
  cursor: pointer;
  transition:
    background 160ms ease,
    transform 160ms ease,
    box-shadow 160ms ease;
}

.primary-button:hover {
  background: var(--primary-dark);
  box-shadow: 0 12px 28px rgba(75, 99, 211, 0.3);
  transform: translateY(-1px);
}

.primary-button:focus-visible,
a:focus-visible,
summary:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgba(75, 99, 211, 0.28);
  outline-offset: 3px;
}

.hero-visual {
  min-height: 330px;
  display: grid;
  place-items: center;
  position: relative;
}

.visual-card {
  width: 190px;
  height: 190px;
  display: grid;
  place-items: center;
  position: relative;
  z-index: 2;
  background: linear-gradient(145deg, #667be0, #856bd5);
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 52px;
  box-shadow:
    0 34px 60px rgba(75, 99, 211, 0.27),
    inset 0 1px 0 rgba(255, 255, 255, 0.35);
  transform: rotate(-4deg);
}

.visual-card svg {
  width: 92px;
  fill: white;
}

.visual-card .visual-detail {
  fill: none;
  stroke: #667be0;
  stroke-linecap: round;
  stroke-width: 4;
}

.visual-orbit {
  position: absolute;
  border: 1px solid rgba(75, 99, 211, 0.18);
  border-radius: 50%;
}

.orbit-one {
  width: 280px;
  height: 280px;
}

.orbit-two {
  width: 350px;
  height: 350px;
  border-style: dashed;
  transform: rotate(20deg);
}

.section {
  padding-block: 112px 12px;
}

.section-heading {
  max-width: 650px;
  margin-bottom: 38px;
}

.section-heading h2,
.contact-copy h2 {
  margin-bottom: 12px;
  font-size: clamp(2rem, 4vw, 3.1rem);
  line-height: 1.12;
  letter-spacing: -0.035em;
}

.section-heading > p:last-child,
.contact-copy > p {
  color: var(--muted);
}

.help-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.help-card {
  min-height: 255px;
  padding: 30px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-medium);
  box-shadow: 0 10px 32px rgba(35, 48, 84, 0.055);
}

.help-card h3 {
  margin-bottom: 8px;
  font-size: 1.17rem;
}

.help-card p {
  margin-bottom: 0;
  color: var(--muted);
}

.card-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  margin-bottom: 24px;
  color: var(--primary);
  background: var(--surface-soft);
  border-radius: 14px;
}

.card-icon svg,
.response-note svg {
  width: 24px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.faq-section {
  max-width: 830px;
  margin-inline: auto;
}

.faq-list {
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-medium);
  box-shadow: 0 10px 32px rgba(35, 48, 84, 0.055);
}

details {
  border-bottom: 1px solid var(--border);
}

details:last-child {
  border-bottom: 0;
}

summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 26px;
  font-weight: 750;
  cursor: pointer;
  list-style: none;
}

summary::-webkit-details-marker {
  display: none;
}

summary::after {
  content: "+";
  width: 26px;
  height: 26px;
  flex: 0 0 26px;
  display: grid;
  place-items: center;
  color: var(--primary);
  background: var(--surface-soft);
  border-radius: 50%;
  font-size: 1.2rem;
  font-weight: 500;
}

details[open] summary::after {
  content: "−";
}

details p {
  max-width: 720px;
  margin: -7px 26px 24px;
  color: var(--muted);
}

.contact-section {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 70px;
  align-items: start;
  padding: 80px;
  margin-top: 100px;
  background: #182442;
  border-radius: var(--radius-large);
  box-shadow: var(--shadow);
}

.contact-copy,
.contact-copy h2 {
  color: white;
}

.contact-copy > p {
  color: #b9c2d6;
}

.contact-email {
  display: inline-block;
  color: #c7d0ff;
  font-weight: 700;
  text-underline-offset: 4px;
}

.contact-copy .eyebrow {
  color: #aebcff;
}

.response-note {
  display: flex;
  gap: 14px;
  margin-top: 34px;
}

.response-note > span {
  width: 42px;
  height: 42px;
  display: grid;
  flex: 0 0 42px;
  place-items: center;
  color: #b8c4ff;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 12px;
}

.response-note strong {
  font-size: 0.94rem;
}

.response-note p {
  margin: 1px 0 0;
  color: #9eabc3;
  font-size: 0.85rem;
}

.support-form {
  padding: 30px;
  background: white;
  border-radius: var(--radius-medium);
}

.support-form label {
  display: grid;
  gap: 7px;
  margin-bottom: 18px;
  color: #35415b;
  font-size: 0.84rem;
  font-weight: 700;
}

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

input,
select,
textarea {
  width: 100%;
  color: var(--text);
  background: #fafbfe;
  border: 1px solid #dbe1ec;
  border-radius: 11px;
  font: inherit;
  font-size: 0.94rem;
}

input,
select {
  height: 46px;
  padding: 0 13px;
}

textarea {
  min-height: 140px;
  padding: 12px 13px;
  resize: vertical;
}

input:hover,
select:hover,
textarea:hover {
  border-color: #b9c3d7;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--primary);
  outline: none;
}

.submit-button {
  width: 100%;
}

.form-note {
  margin: 15px 0 0;
  color: var(--muted);
  font-size: 0.75rem;
  text-align: center;
}

.hidden-field {
  position: absolute;
  left: -10000px;
}

footer {
  min-height: 130px;
  display: flex;
  align-items: center;
  gap: 24px;
  color: var(--muted);
  font-size: 0.82rem;
}

footer p {
  margin: 0 auto 0 0;
}

footer a {
  text-decoration: none;
}

footer a:hover {
  color: var(--primary);
}

.thanks-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 20px;
}

.thanks-card {
  width: min(100%, 590px);
  padding: 60px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-large);
  box-shadow: var(--shadow);
  text-align: center;
}

.thanks-icon {
  width: 72px;
  height: 72px;
  display: grid;
  place-items: center;
  margin: 0 auto 26px;
  color: white;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-radius: 22px;
  font-size: 2rem;
}

.thanks-card h1 {
  margin-bottom: 14px;
  font-size: clamp(2.2rem, 8vw, 3.5rem);
}

.thanks-card p {
  margin-bottom: 28px;
  color: var(--muted);
}

.policy-layout {
  padding-top: 28px;
}

.policy-hero {
  padding: 76px;
  background:
    radial-gradient(circle at 90% 10%, rgba(155, 122, 229, 0.17), transparent 34%),
    linear-gradient(135deg, #fff 0%, #f1f5ff 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius-large);
  box-shadow: var(--shadow);
}

.policy-hero h1 {
  margin-bottom: 18px;
}

.policy-intro {
  max-width: 720px;
  margin-bottom: 24px;
  color: var(--muted);
  font-size: 1.08rem;
}

.policy-date {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.policy-grid {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: 58px;
  align-items: start;
  padding-top: 70px;
}

.policy-summary {
  padding: 24px;
  position: sticky;
  top: 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-medium);
  box-shadow: 0 10px 32px rgba(35, 48, 84, 0.055);
}

.policy-summary h2 {
  margin-bottom: 14px;
  font-size: 1.05rem;
}

.policy-summary ul {
  margin: 0 0 20px;
  padding-left: 18px;
  color: var(--muted);
  font-size: 0.86rem;
}

.policy-summary li + li {
  margin-top: 9px;
}

.policy-summary a,
.policy-content a {
  color: var(--primary-dark);
  font-weight: 700;
  text-underline-offset: 3px;
}

.policy-content {
  min-width: 0;
}

.policy-content > section {
  padding-bottom: 36px;
  margin-bottom: 38px;
  border-bottom: 1px solid var(--border);
}

.policy-content h2 {
  margin-bottom: 14px;
  font-size: 1.45rem;
  letter-spacing: -0.02em;
}

.policy-content h3 {
  margin-bottom: 7px;
  font-size: 1rem;
}

.policy-content p,
.policy-content li {
  color: var(--muted);
}

.policy-content ul {
  padding-left: 22px;
}

.policy-content li + li {
  margin-top: 10px;
}

.service-list {
  display: grid;
  gap: 14px;
  margin-top: 24px;
}

.service-list > div {
  padding: 22px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
}

.service-list p {
  margin-bottom: 8px;
}

.policy-content .policy-contact {
  padding: 36px;
  margin-bottom: 0;
  background: #182442;
  border: 0;
  border-radius: var(--radius-medium);
}

.policy-contact h2 {
  color: white;
}

.policy-contact p:not(.eyebrow) {
  color: #b9c2d6;
}

.policy-contact .eyebrow {
  color: #aebcff;
}

.policy-contact .primary-button {
  color: white;
  text-decoration: none;
}

@media (max-width: 860px) {
  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 25px;
    padding: 54px 38px;
  }

  .hero-visual {
    min-height: 260px;
  }

  .visual-card {
    width: 155px;
    height: 155px;
    border-radius: 42px;
  }

  .visual-card svg {
    width: 75px;
  }

  .orbit-one {
    width: 220px;
    height: 220px;
  }

  .orbit-two {
    width: 275px;
    height: 275px;
  }

  .contact-section {
    grid-template-columns: 1fr;
    gap: 36px;
    padding: 52px 38px;
  }

  .policy-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .policy-summary {
    position: static;
  }
}

@media (max-width: 620px) {
  .site-header,
  main,
  footer {
    width: min(calc(100% - 24px), var(--max-width));
  }

  .site-header {
    min-height: 70px;
  }

  .header-link {
    font-size: 0.82rem;
  }

  .header-nav {
    gap: 13px;
  }

  .hero {
    padding: 44px 24px;
    border-radius: 22px;
  }

  .hero-copy {
    font-size: 1rem;
  }

  .hero-visual {
    min-height: 220px;
  }

  .help-grid,
  .field-row {
    grid-template-columns: 1fr;
  }

  .help-card {
    min-height: auto;
    padding: 24px;
  }

  .section {
    padding-top: 82px;
  }

  summary {
    padding: 20px;
  }

  details p {
    margin-inline: 20px;
  }

  .contact-section {
    padding: 38px 20px;
    margin-top: 80px;
    border-radius: 22px;
  }

  .support-form {
    padding: 22px 18px;
  }

  footer {
    min-height: 150px;
    flex-wrap: wrap;
    justify-content: center;
    padding-block: 35px;
  }

  footer p {
    width: 100%;
    margin: 0;
    text-align: center;
  }

  .thanks-card {
    padding: 42px 24px;
  }

  .policy-layout {
    padding-top: 12px;
  }

  .policy-hero {
    padding: 44px 24px;
    border-radius: 22px;
  }

  .policy-grid {
    padding-top: 44px;
  }

  .policy-content .policy-contact {
    padding: 28px 22px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
