:root {
  --navy: #17375e;
  --navy-deep: #0e2746;
  --navy-soft: #274e7b;
  --gold: #d1ae70;
  --gold-light: #f3dfb3;
  --ink: #20201f;
  --muted: #68645d;
  --paper: #f7f3ec;
  --surface: #fffdf9;
  --line: #ddd2c1;
  --white: #ffffff;
  --shadow: 0 24px 70px rgba(23, 55, 94, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  margin: 0;
}

img {
  max-width: 100%;
}

a {
  color: inherit;
}

.skip-link {
  background: var(--navy-deep);
  color: var(--white);
  left: 16px;
  padding: 10px 14px;
  position: fixed;
  top: -80px;
  z-index: 100;
}

.skip-link:focus {
  top: 16px;
}

.site-shell {
  min-height: 100vh;
  overflow: hidden;
}

.site-header {
  align-items: center;
  display: flex;
  justify-content: space-between;
  margin: 0 auto;
  max-width: 1220px;
  padding: 22px 32px;
}

.brand {
  flex-shrink: 0;
  align-items: center;
  display: inline-flex;
  gap: 12px;
  text-decoration: none;
}

.brand-mark {
  align-items: center;
  display: inline-flex;
  height: 50px;
  justify-content: center;
  width: 50px;
}

.brand-mark img {
  display: block;
  height: 100%;
  object-fit: contain;
  width: 100%;
}

.brand-name {
  white-space: nowrap;
  color: var(--navy);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.brand-name span {
  color: #9b7337;
}

.site-header nav {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  justify-content: flex-end;
}

.site-header nav a {
  color: var(--muted);
  font-size: 14px;
  font-weight: 650;
  text-decoration: none;
}

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

.hero {
  align-items: center;
  display: grid;
  gap: 70px;
  grid-template-columns: minmax(0, 1.1fr) minmax(340px, 0.9fr);
  margin: 0 auto;
  max-width: 1220px;
  min-height: 680px;
  padding: 72px 32px 110px;
}

.eyebrow {
  color: #9b7337;
  display: inline-block;
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.16em;
  margin-bottom: 20px;
  text-transform: uppercase;
}

.hero h1,
.legal-heading h1,
.delete-intro h1,
.support-hero h1 {
  color: var(--navy-deep);
  font-size: clamp(44px, 6vw, 76px);
  font-weight: 800;
  letter-spacing: -0.06em;
  line-height: 1;
  margin: 0;
}

.hero-copy > p,
.section-heading > p,
.web-section p,
.responsibility-section p,
.support-hero > p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.75;
  margin: 28px 0 0;
  max-width: 680px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  align-items: center;
  border: 1px solid transparent;
  border-radius: 13px;
  display: inline-flex;
  cursor: pointer;
  font-family: inherit;
  font-size: 14px;
  font-weight: 750;
  justify-content: center;
  min-height: 50px;
  padding: 0 21px;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.button:disabled {
  cursor: not-allowed;
  opacity: 0.62;
  transform: none;
}

.button.danger {
  background: #a12d35;
  color: var(--white);
}

.button.danger:hover:not(:disabled) {
  background: #7f1f27;
}

.button:hover {
  transform: translateY(-2px);
}

.button.primary {
  background: var(--navy);
  box-shadow: 0 14px 30px rgba(23, 55, 94, 0.2);
  color: var(--white);
}

.button.primary:hover {
  background: var(--navy-deep);
}

.button.secondary {
  background: rgba(255, 253, 249, 0.55);
  border-color: var(--line);
  color: var(--navy);
}

.release-note {
  align-items: center;
  display: flex;
  font-size: 13px !important;
  font-weight: 650;
  gap: 9px;
  margin-top: 22px !important;
}

.release-note span {
  background: #2f9161;
  border: 4px solid #dcefe4;
  border-radius: 50%;
  height: 12px;
  width: 12px;
}

.hero-visual {
  background:
    radial-gradient(circle at 70% 15%, rgba(209, 174, 112, 0.34), transparent 32%),
    linear-gradient(150deg, var(--navy) 0%, var(--navy-deep) 100%);
  border-radius: 32px;
  box-shadow: var(--shadow);
  min-height: 500px;
  overflow: hidden;
  padding: 44px;
  position: relative;
}

.hero-visual::after {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  content: "";
  height: 310px;
  position: absolute;
  right: -120px;
  top: -110px;
  width: 310px;
}

.hero-logo {
  margin: 0 auto;
  max-width: 280px;
  position: relative;
  z-index: 1;
}

.hero-logo img {
  filter: drop-shadow(0 22px 28px rgba(0, 0, 0, 0.22));
}

.study-flow {
  display: grid;
  gap: 11px;
  list-style: none;
  margin: 30px 0 0;
  padding: 0;
  position: relative;
  z-index: 1;
}

.study-flow li {
  align-items: center;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 14px;
  color: var(--white);
  display: flex;
  gap: 13px;
  padding: 12px 15px;
}

.study-flow strong {
  align-items: center;
  background: var(--gold);
  border-radius: 50%;
  color: var(--navy-deep);
  display: inline-flex;
  font-size: 12px;
  height: 28px;
  justify-content: center;
  width: 28px;
}

.study-flow span {
  font-size: 14px;
  font-weight: 650;
}

.section {
  margin: 0 auto;
  max-width: 1220px;
  padding: 110px 32px;
}

.section-heading {
  max-width: 760px;
}

.section-heading.compact {
  max-width: 650px;
}

.section-heading h2,
.web-section h2,
.responsibility-section h2,
.final-cta h2,
.support-contact h2 {
  color: var(--navy-deep);
  font-size: clamp(34px, 4.2vw, 54px);
  letter-spacing: -0.05em;
  line-height: 1.08;
  margin: 0;
}

.feature-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 54px;
}

.feature-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 20px;
  min-height: 230px;
  padding: 30px;
}

.feature-icon {
  align-items: center;
  background: var(--gold-light);
  border-radius: 10px;
  color: var(--navy);
  display: inline-flex;
  font-size: 12px;
  font-weight: 850;
  height: 38px;
  justify-content: center;
  width: 38px;
}

.feature-card h3,
.steps-grid h3 {
  color: var(--navy);
  font-size: 21px;
  letter-spacing: -0.03em;
  margin: 24px 0 12px;
}

.feature-card p,
.steps-grid p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
  margin: 0;
}

.notification-highlight {
  align-items: center;
  background:
    radial-gradient(circle at 92% 8%, rgba(209, 174, 112, 0.2), transparent 28%),
    linear-gradient(145deg, var(--navy-deep), var(--navy));
  border-radius: 32px;
  color: var(--white);
  display: grid;
  gap: 64px;
  grid-template-columns: minmax(0, 1fr) minmax(330px, 0.78fr);
  margin-bottom: 40px;
  margin-top: 40px;
  max-width: 1156px;
  padding: 72px;
}

.notification-highlight .eyebrow {
  color: var(--gold);
}

.notification-highlight h2 {
  color: var(--white);
  font-size: clamp(38px, 4.8vw, 60px);
  letter-spacing: -0.055em;
  line-height: 1.03;
  margin: 0;
}

.notification-copy > p,
.notification-copy li {
  color: #e2e9f1;
  font-size: 16px;
  line-height: 1.75;
}

.notification-copy > p {
  margin: 26px 0 22px;
}

.notification-copy ul {
  margin: 0;
  padding-left: 20px;
}

.notification-preview {
  display: grid;
  gap: 14px;
}

.notification-preview article {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 20px;
  box-shadow: 0 22px 44px rgba(0, 0, 0, 0.16);
  padding: 24px;
}

.notification-preview article:last-child {
  margin-left: 34px;
}

.notification-preview span {
  color: var(--gold-light);
  display: block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  margin-bottom: 9px;
  text-transform: uppercase;
}

.notification-preview strong {
  color: var(--white);
  display: block;
  font-size: 17px;
  line-height: 1.35;
}

.notification-preview p {
  color: #dce4ee;
  font-size: 14px;
  line-height: 1.6;
  margin: 10px 0 0;
}

.notification-preview article > div {
  display: flex;
  gap: 20px;
  margin-top: 18px;
}

.notification-preview b {
  color: var(--gold-light);
  font-size: 12px;
}

.steps-section {
  background: var(--navy-deep);
  border-radius: 32px;
  color: var(--white);
  max-width: 1156px;
  padding: 72px;
}

.steps-section .eyebrow {
  color: var(--gold);
}

.steps-section h2,
.steps-section h3 {
  color: var(--white);
}

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

.steps-grid article > span {
  color: var(--gold);
  font-size: 42px;
  font-weight: 800;
}

.steps-grid p {
  color: #dce4ee;
}

.web-section,
.responsibility-section,
.final-cta,
.support-contact {
  align-items: center;
  display: flex;
  gap: 60px;
  justify-content: space-between;
}

.web-section {
  border-bottom: 1px solid var(--line);
}

.web-section > div {
  max-width: 740px;
}

.status-chip {
  background: var(--gold-light);
  border: 1px solid #e0c68f;
  border-radius: 999px;
  color: var(--navy);
  flex: 0 0 auto;
  font-size: 13px;
  font-weight: 750;
  padding: 12px 17px;
}

.responsibility-section {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 28px;
  margin-bottom: 40px;
  margin-top: 40px;
  max-width: 1156px;
  padding: 54px;
}

.responsibility-icon {
  align-items: center;
  background: var(--gold);
  border-radius: 50%;
  color: var(--navy-deep);
  display: flex;
  flex: 0 0 auto;
  font-size: 28px;
  font-weight: 900;
  height: 72px;
  justify-content: center;
  width: 72px;
}

.final-cta {
  padding-bottom: 90px;
  padding-top: 90px;
}

.final-cta > div:first-child {
  max-width: 690px;
}

.final-cta .hero-actions {
  flex: 0 0 auto;
  margin-top: 0;
}

.site-footer {
  border-top: 1px solid var(--line);
  display: grid;
  gap: 34px;
  grid-template-columns: 1fr auto;
  margin: 0 auto;
  max-width: 1220px;
  padding: 60px 32px 34px;
}

.footer-brand {
  align-items: center;
  display: flex;
  gap: 14px;
}

.footer-brand .brand-mark {
  height: 44px;
  width: 44px;
}

.footer-brand div {
  display: grid;
  gap: 3px;
}

.footer-brand strong {
  color: var(--navy);
}

.footer-brand div span,
.footer-links a {
  color: var(--muted);
  font-size: 13px;
}

.footer-links {
  align-items: flex-end;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-links a {
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--navy);
}

.copyright {
  border-top: 1px solid var(--line);
  color: #89837a;
  font-size: 12px;
  grid-column: 1 / -1;
  margin: 0;
  padding-top: 22px;
}

.legal-page,
.delete-page,
.support-page {
  margin: 0 auto;
  max-width: 1160px;
  padding: 80px 32px 120px;
}

.legal-heading,
.delete-intro,
.support-hero {
  border-bottom: 1px solid var(--line);
  padding-bottom: 58px;
}

.legal-heading h1,
.delete-intro h1,
.support-hero h1 {
  font-size: clamp(42px, 6vw, 64px);
}

.legal-heading p,
.delete-intro p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
  margin: 22px 0 0;
}

.delete-intro p {
  max-width: 760px;
}

.legal-layout {
  align-items: start;
  display: grid;
  gap: 70px;
  grid-template-columns: 270px minmax(0, 1fr);
  padding-top: 60px;
}

.legal-summary {
  background: var(--navy-deep);
  border-radius: 20px;
  color: var(--white);
  padding: 27px;
  position: sticky;
  top: 24px;
}

.legal-summary strong {
  color: var(--gold-light);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.legal-summary p {
  color: #e2e9f1;
  font-size: 14px;
  line-height: 1.7;
  margin: 16px 0 24px;
}

.legal-summary a {
  color: var(--gold-light);
  font-size: 13px;
  font-weight: 750;
}

.legal-content section + section {
  border-top: 1px solid var(--line);
  margin-top: 34px;
  padding-top: 34px;
}

.legal-content h2,
.delete-page h2,
.faq-section h2 {
  color: var(--navy);
  font-size: 24px;
  letter-spacing: -0.035em;
  margin: 0 0 18px;
}

.legal-content h3 {
  color: var(--ink);
  font-size: 16px;
  margin: 26px 0 9px;
}

.legal-content p,
.legal-content li,
.data-explainer p,
.data-explainer li,
.deletion-steps p,
.faq-list p,
.support-contact p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.78;
}

.legal-content p {
  margin: 0 0 14px;
}

.legal-content ul,
.data-explainer ul {
  padding-left: 20px;
}

.legal-content a,
.support-note a,
.faq-list a {
  color: var(--navy);
  font-weight: 700;
}

.deletion-steps {
  display: grid;
  margin-top: 52px;
}

.deletion-steps article {
  display: grid;
  gap: 24px;
  grid-template-columns: 52px minmax(0, 1fr);
  padding: 27px 0;
}

.deletion-steps article + article {
  border-top: 1px solid var(--line);
}

.deletion-steps article > span {
  align-items: center;
  background: var(--gold-light);
  border-radius: 50%;
  color: var(--navy);
  display: flex;
  font-size: 16px;
  font-weight: 850;
  height: 44px;
  justify-content: center;
  width: 44px;
}

.deletion-steps h2 {
  margin-bottom: 6px;
}

.deletion-steps p {
  margin: 0;
}

.delete-action {
  align-items: center;
  background: var(--navy-deep);
  border-radius: 24px;
  color: var(--white);
  display: flex;
  gap: 36px;
  justify-content: space-between;
  margin-top: 40px;
  padding: 36px;
}

.delete-action h2 {
  color: var(--white);
  margin-bottom: 8px;
}

.delete-action p {
  color: #e2e9f1;
  font-size: 14px;
  line-height: 1.6;
  margin: 0;
}

.delete-action .button.primary {
  background: var(--gold);
  box-shadow: none;
  color: var(--navy-deep);
  flex: 0 0 auto;
}

.data-explainer {
  display: grid;
  gap: 34px;
  grid-template-columns: repeat(2, 1fr);
  padding: 64px 0 30px;
}

.data-explainer > div {
  border-top: 3px solid var(--gold);
  padding-top: 23px;
}

.data-explainer p {
  margin: 0;
}

.support-note {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
  margin: 22px 0 0;
  padding: 18px 20px;
}

.support-hero {
  text-align: center;
}

.support-hero > p {
  margin-left: auto;
  margin-right: auto;
}

.support-hero .button {
  margin-top: 30px;
}

.faq-section {
  padding: 72px 0;
}

.faq-list {
  border-top: 1px solid var(--line);
  margin-top: 38px;
}

.faq-list details {
  border-bottom: 1px solid var(--line);
  padding: 22px 4px;
}

.faq-list summary {
  color: var(--navy-deep);
  cursor: pointer;
  font-size: 17px;
  font-weight: 750;
  padding-right: 30px;
}

.faq-list p {
  margin: 16px 0 2px;
  max-width: 840px;
}

.support-contact {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 38px;
}

.support-contact > div {
  min-width: 0;
}

.support-contact h2 {
  font-size: clamp(25px, 4vw, 38px);
  overflow-wrap: anywhere;
}

.support-contact p {
  margin-bottom: 0;
  max-width: 690px;
}

.not-found {
  align-items: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 100vh;
  padding: 40px 20px;
  text-align: center;
}

.not-found img {
  margin-bottom: 26px;
  max-width: 170px;
}

.not-found h1 {
  color: var(--navy-deep);
  font-size: clamp(38px, 7vw, 62px);
  letter-spacing: -0.055em;
  margin: 0;
}

.not-found p {
  color: var(--muted);
  font-size: 17px;
  margin: 20px 0 30px;
}

.download-page {
  margin: 0 auto;
  max-width: 1160px;
  padding: 72px 32px 120px;
}

.download-hero {
  align-items: center;
  display: grid;
  gap: 60px;
  grid-template-columns: minmax(0, 1fr) 270px;
  padding: 36px 0 76px;
}

.download-hero h1 {
  color: var(--navy-deep);
  font-size: clamp(44px, 6vw, 70px);
  letter-spacing: -0.06em;
  line-height: 1;
  margin: 0;
}

.download-hero p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.75;
  margin: 26px 0 0;
  max-width: 690px;
}

.download-hero img {
  filter: drop-shadow(0 20px 28px rgba(23, 55, 94, 0.18));
}

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

.store-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 26px;
  display: flex;
  flex-direction: column;
  min-height: 360px;
  padding: 36px;
}

.store-card.available {
  border-top: 5px solid var(--gold);
}

.store-card.planned {
  border-top: 5px solid #a9b4c1;
}

.store-card-heading {
  align-items: center;
  display: flex;
  gap: 16px;
}

.platform-icon {
  align-items: center;
  background: var(--navy);
  border-radius: 16px;
  color: var(--gold-light);
  display: inline-flex;
  font-size: 20px;
  height: 56px;
  justify-content: center;
  width: 56px;
}

.store-status {
  color: var(--muted);
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.store-card h2 {
  color: var(--navy-deep);
  font-size: 27px;
  letter-spacing: -0.04em;
  margin: 3px 0 0;
}

.store-card > p {
  color: var(--muted);
  flex: 1;
  font-size: 15px;
  line-height: 1.75;
  margin: 28px 0;
}

.store-button {
  align-items: flex-start;
  align-self: flex-start;
  background: var(--navy-deep);
  border-radius: 13px;
  color: var(--white);
  display: inline-flex;
  flex-direction: column;
  min-width: 190px;
  padding: 11px 20px;
  text-decoration: none;
}

.store-button small {
  font-size: 10px;
  letter-spacing: 0.04em;
}

.store-button strong {
  font-size: 19px;
}

.store-button:not(.disabled):hover {
  background: var(--navy);
}

.store-button.disabled {
  background: #737c87;
  cursor: not-allowed;
  opacity: 0.75;
}

.official-download-note {
  align-items: center;
  background: var(--navy-deep);
  border-radius: 26px;
  color: var(--white);
  display: flex;
  gap: 28px;
  margin-top: 46px;
  padding: 38px;
}

.official-download-note h2,
.download-help h2 {
  color: inherit;
  font-size: 26px;
  letter-spacing: -0.04em;
  margin: 0 0 9px;
}

.official-download-note p {
  color: #e2e9f1;
  line-height: 1.7;
  margin: 0;
}

.download-help {
  align-items: center;
  border-bottom: 1px solid var(--line);
  display: flex;
  gap: 28px;
  justify-content: space-between;
  padding: 68px 0 12px;
}

.download-help h2 {
  color: var(--navy-deep);
}

.download-help p {
  color: var(--muted);
  line-height: 1.7;
  margin: 0;
}

.download-help .button {
  flex: 0 0 auto;
}

[hidden] {
  display: none !important;
}

.portal-shell {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: var(--shadow);
  padding: 38px;
}

.portal-heading {
  align-items: center;
  border-bottom: 1px solid var(--line);
  display: flex;
  gap: 24px;
  justify-content: space-between;
  padding-bottom: 28px;
}

.portal-heading .eyebrow {
  margin-bottom: 9px;
}

.portal-heading h2 {
  color: var(--navy-deep);
  font-size: clamp(28px, 4vw, 42px);
  letter-spacing: -0.045em;
  margin: 0;
}

.auth-panel {
  align-items: start;
  display: grid;
  gap: 46px;
  grid-template-columns: minmax(0, 0.9fr) minmax(300px, 1.1fr);
  padding-top: 34px;
}

.auth-panel h3,
.release-details h3,
.completion-panel h3 {
  color: var(--navy-deep);
  font-size: 23px;
  letter-spacing: -0.035em;
  margin: 0 0 10px;
}

.auth-panel p,
.ticket-note,
.completion-panel p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
  margin: 0;
}

.auth-form {
  display: grid;
  gap: 11px;
}

.auth-workspace {
  min-width: 0;
}

.auth-mode-switch {
  background: #e8e1d7;
  border-radius: 13px;
  display: grid;
  gap: 4px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-bottom: 20px;
  padding: 4px;
}

.auth-mode-switch button {
  background: transparent;
  border: 0;
  border-radius: 10px;
  color: var(--muted);
  cursor: pointer;
  font: inherit;
  font-size: 13px;
  font-weight: 750;
  min-height: 42px;
  padding: 8px 12px;
}

.auth-mode-switch button[aria-pressed="true"] {
  background: var(--white);
  box-shadow: 0 2px 8px rgba(23, 55, 94, 0.1);
  color: var(--navy-deep);
}

.auth-form label:not(.checkbox-field) {
  color: var(--navy-deep);
  font-size: 13px;
  font-weight: 750;
}

.auth-form input[type="email"],
.auth-form input[type="password"] {
  appearance: none;
  background: var(--white);
  border: 1px solid #c8bdad;
  border-radius: 12px;
  color: var(--ink);
  font: inherit;
  min-height: 50px;
  padding: 10px 14px;
  width: 100%;
}

.auth-form input:focus {
  border-color: var(--navy-soft);
  box-shadow: 0 0 0 3px rgba(39, 78, 123, 0.14);
  outline: none;
}

.auth-form .button {
  margin-top: 8px;
  width: 100%;
}

.text-button {
  background: transparent;
  border: 0;
  color: var(--navy);
  cursor: pointer;
  font: inherit;
  font-size: 13px;
  font-weight: 750;
  padding: 9px 4px;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.text-button:disabled {
  cursor: not-allowed;
  opacity: 0.6;
}

.portal-message,
.inline-status {
  border-radius: 12px;
  font-size: 14px;
  line-height: 1.55;
  padding: 13px 15px;
}

.portal-message {
  margin: 24px 0 0;
}

.portal-message[data-type="info"],
.inline-status[data-type="info"] {
  background: #e9f0f8;
  color: var(--navy-deep);
}

.portal-message[data-type="success"],
.inline-status[data-type="success"] {
  background: #e1f2e8;
  color: #1d6742;
}

.portal-message[data-type="warning"],
.inline-status[data-type="warning"] {
  background: #fff1cd;
  color: #73540f;
}

.portal-message[data-type="error"],
.inline-status[data-type="error"] {
  background: #f9e3e5;
  color: #81252d;
}

.account-summary {
  min-width: 0;
}

.account-summary > span {
  color: var(--muted);
  display: block;
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 0.08em;
  margin-bottom: 7px;
  text-transform: uppercase;
}

.account-summary > strong {
  color: var(--navy-deep);
  display: block;
  overflow-wrap: anywhere;
}

.inline-status {
  margin-top: 18px !important;
}

.release-details {
  border-left: 3px solid var(--gold);
  padding-left: 26px;
}

.release-details dl {
  display: grid;
  gap: 10px;
  margin: 20px 0 24px;
}

.release-details dl > div {
  display: grid;
  gap: 14px;
  grid-template-columns: 88px minmax(0, 1fr);
}

.release-details dt {
  color: var(--muted);
  font-size: 12px;
  font-weight: 750;
  text-transform: uppercase;
}

.release-details dd {
  color: var(--ink);
  font-size: 14px;
  margin: 0;
}

.release-details .hash-row dd {
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 12px;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.ticket-note {
  margin-top: 12px;
}

.account-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  grid-column: 1 / -1;
}

.future-stores {
  margin-top: 46px;
}

.deletion-portal {
  margin-top: 48px;
}

.danger-panel {
  border-top: 4px solid #a12d35;
  margin-top: 30px;
  padding-top: 30px;
}

.checkbox-field {
  align-items: flex-start;
  color: var(--muted);
  display: flex;
  font-size: 13px;
  gap: 10px;
  line-height: 1.55;
  margin: 8px 0;
}

.checkbox-field input {
  flex: 0 0 auto;
  height: 18px;
  margin-top: 2px;
  width: 18px;
}

.completion-panel {
  align-items: center;
  display: flex;
  gap: 20px;
  padding-top: 32px;
}

.completion-panel > span {
  align-items: center;
  background: #e1f2e8;
  border-radius: 50%;
  color: #1d6742;
  display: flex;
  flex: 0 0 auto;
  font-size: 24px;
  font-weight: 850;
  height: 52px;
  justify-content: center;
  width: 52px;
}

@media (max-width: 900px) {
  .hero {
    gap: 52px;
    grid-template-columns: 1fr;
  }

  .hero-visual {
    margin: 0 auto;
    max-width: 560px;
    width: 100%;
  }

  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .notification-highlight {
    grid-template-columns: 1fr;
  }

  .legal-layout {
    gap: 38px;
    grid-template-columns: 1fr;
  }

  .legal-summary {
    position: static;
  }
}

@media (max-width: 720px) {
  .site-header {
    align-items: flex-start;
    gap: 20px;
  }

  .site-header nav {
    gap: 10px 16px;
    max-width: 230px;
  }

  .hero,
  .section,
  .download-page,
  .legal-page,
  .delete-page,
  .support-page,
  .site-footer {
    padding-left: 20px;
    padding-right: 20px;
  }

  .section {
    padding-bottom: 78px;
    padding-top: 78px;
  }

  .steps-section,
  .notification-highlight,
  .responsibility-section {
    border-radius: 0;
    margin-left: 0;
    margin-right: 0;
    max-width: none;
  }

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

  .web-section,
  .responsibility-section,
  .final-cta,
  .support-contact {
    align-items: flex-start;
    flex-direction: column;
  }

  .download-hero {
    grid-template-columns: 1fr;
  }

  .download-hero img {
    margin: 0 auto;
    max-width: 240px;
  }

  .store-grid {
    grid-template-columns: 1fr;
  }

  .download-help {
    align-items: flex-start;
    flex-direction: column;
  }

  .auth-panel {
    gap: 30px;
    grid-template-columns: 1fr;
  }

  .account-actions {
    grid-column: auto;
  }

  .final-cta .hero-actions {
    margin-top: 0;
  }

  .site-footer {
    grid-template-columns: 1fr;
  }

  .footer-links {
    align-items: flex-start;
  }
}

@media (max-width: 560px) {
  .brand-mark {
    height: 42px;
    width: 42px;
  }

  .brand-name {
    font-size: 19px;
  }

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

  .hero {
    min-height: 0;
    padding-bottom: 72px;
    padding-top: 48px;
  }

  .hero h1,
  .download-hero h1,
  .legal-heading h1,
  .delete-intro h1,
  .support-hero h1 {
    font-size: 40px;
  }

  .hero-actions,
  .delete-action {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .store-card {
    min-height: 0;
    padding: 28px;
  }

  .store-button {
    align-self: stretch;
  }

  .official-download-note {
    align-items: flex-start;
    flex-direction: column;
    padding: 28px;
  }

  .hero-visual {
    min-height: 0;
    padding: 28px;
  }

  .hero-logo {
    max-width: 220px;
  }

  .feature-grid,
  .data-explainer {
    grid-template-columns: 1fr;
  }

  .feature-card {
    min-height: 0;
  }

  .notification-highlight {
    padding: 44px 20px;
  }

  .notification-preview article:last-child {
    margin-left: 0;
  }

  .responsibility-section,
  .support-contact {
    padding: 30px 20px;
  }

  .delete-action {
    padding: 28px;
  }

  .portal-shell {
    border-radius: 20px;
    padding: 24px;
  }

  .portal-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .release-details {
    border-left: 0;
    border-top: 3px solid var(--gold);
    padding-left: 0;
    padding-top: 22px;
  }

  .release-details dl > div {
    gap: 4px;
    grid-template-columns: 1fr;
  }
}

*:focus-visible {
  outline: 3px solid rgba(209, 174, 112, 0.85);
  outline-offset: 3px;
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
