:root {
  --navy: #10243e;
  --navy-deep: #071424;
  --panel: #0d1d31;
  --blue: #315cf4;
  --emerald: #1f9d7a;
  --gold: #e2b24a;
  --ivory: #f7f4ec;
  --mist: #b8c6d6;
  --line: rgba(226, 178, 74, 0.35);
  --blue-line: rgba(80, 120, 255, 0.3);
  --shadow: 0 32px 90px rgba(0, 0, 0, 0.48);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ivory);
  background:
    radial-gradient(circle at 50% 9%, rgba(49, 92, 244, 0.24), transparent 31rem),
    radial-gradient(circle at 15% 45%, rgba(31, 157, 122, 0.13), transparent 26rem),
    linear-gradient(180deg, #06101d 0%, #0a1a2c 52%, #06101d 100%);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

.skip-link {
  position: fixed;
  left: 1rem;
  top: -5rem;
  z-index: 20;
  padding: 0.7rem 1rem;
  border-radius: 0.4rem;
  color: var(--navy-deep);
  background: var(--ivory);
}

.skip-link:focus {
  top: 1rem;
}

.digital-card {
  width: min(560px, calc(100% - 28px));
  margin: 24px auto 52px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(18, 43, 72, 0.95), rgba(8, 22, 38, 0.98)),
    var(--navy-deep);
  box-shadow: var(--shadow);
}

.identity {
  padding: 32px 20px 28px;
  text-align: center;
}

.brand {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 22px;
}

.brand-name {
  color: var(--ivory);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 9vw, 2.7rem);
  letter-spacing: 0.15em;
  line-height: 1;
}

.brand-name::after {
  display: block;
  width: 55%;
  height: 2px;
  margin: 12px auto 8px;
  background: linear-gradient(90deg, var(--blue), var(--emerald), var(--gold));
  content: "";
}

.brand-descriptor {
  color: var(--mist);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.22em;
}

.portrait-frame {
  width: 236px;
  height: 286px;
  margin: 0 auto 24px;
  padding: 2px;
  overflow: hidden;
  border-radius: 118px 118px 28px 28px;
  background: linear-gradient(145deg, var(--gold), var(--blue) 62%, var(--emerald));
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.5), 0 0 32px rgba(49, 92, 244, 0.12);
}

.portrait-frame img {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 116px 116px 26px 26px;
  object-fit: cover;
  object-position: 50% 28%;
}

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

h1 {
  margin-bottom: 2px;
  color: var(--ivory);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2.15rem;
  font-weight: 500;
  letter-spacing: 0.12em;
}

.role {
  margin-bottom: 8px;
  color: var(--mist);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.tagline {
  margin-bottom: 14px;
  color: var(--gold);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1rem;
  letter-spacing: 0.1em;
}

.verified {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 24px;
  padding: 7px 15px;
  border: 1px solid rgba(31, 157, 122, 0.55);
  border-radius: 999px;
  color: #c9f3e6;
  background: rgba(31, 157, 122, 0.1);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.verified span {
  display: grid;
  width: 18px;
  height: 18px;
  place-items: center;
  border-radius: 50%;
  color: var(--navy-deep);
  background: var(--emerald);
}

.actions {
  display: grid;
  gap: 11px;
  text-align: left;
}

.action {
  display: grid;
  width: 100%;
  min-height: 68px;
  grid-template-columns: 34px minmax(0, 1fr) 18px;
  align-items: center;
  gap: 10px;
  padding: 11px 14px;
  border: 1px solid var(--blue-line);
  border-radius: 16px;
  color: var(--ivory);
  background: linear-gradient(135deg, rgba(20, 45, 75, 0.92), rgba(11, 27, 47, 0.96));
  cursor: pointer;
  transition: border-color 180ms ease, transform 180ms ease, background 180ms ease;
}

.action:hover {
  border-color: rgba(226, 178, 74, 0.78);
  background: linear-gradient(135deg, rgba(28, 57, 94, 0.98), rgba(14, 35, 59, 0.98));
  transform: translateY(-2px);
}

.action:focus-visible,
.launch-cta:focus-visible,
.brand:focus-visible {
  outline: 3px solid rgba(247, 244, 236, 0.9);
  outline-offset: 3px;
}

.action-primary {
  border-color: var(--gold);
  color: var(--navy-deep);
  background: linear-gradient(115deg, var(--gold), #f0cf7f);
}

.action-primary:hover {
  border-color: #f4d887;
  background: linear-gradient(115deg, #edc769, #f7dfa0);
}

.action-icon {
  color: var(--gold);
  font-size: 1.3rem;
  text-align: center;
}

.action-primary .action-icon,
.action-primary .action-arrow {
  color: var(--navy-deep);
}

.action-copy {
  min-width: 0;
}

.action-copy strong,
.action-copy small {
  display: block;
}

.action-copy strong {
  color: var(--ivory);
  font-size: 0.86rem;
  letter-spacing: 0.035em;
}

.action-primary .action-copy strong {
  color: var(--navy-deep);
}

.action-copy small {
  overflow: hidden;
  color: var(--mist);
  font-size: 0.74rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.action-primary .action-copy small {
  color: rgba(7, 20, 36, 0.8);
}

.action-arrow {
  color: var(--mist);
  font-size: 1.45rem;
  text-align: right;
}

.save-help {
  margin: 24px 6px 0;
  color: #99a9bb;
  font-size: 0.69rem;
  line-height: 1.65;
}

.save-help strong {
  color: var(--ivory);
}

.share-status {
  min-height: 1.2em;
  margin: 7px 0 0;
  color: #a9e5d2;
  font-size: 0.72rem;
}

.content-section {
  padding: 30px 22px;
  border-top: 1px solid rgba(226, 178, 74, 0.22);
  background: rgba(4, 15, 27, 0.38);
}

.section-kicker {
  margin-bottom: 8px;
  color: var(--emerald);
  font-size: 0.63rem;
  font-weight: 800;
  letter-spacing: 0.2em;
}

.content-section h2 {
  margin-bottom: 12px;
  color: var(--ivory);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.65rem;
  font-weight: 500;
}

.content-section > p:not(.section-kicker) {
  color: #bdc7d3;
  font-size: 0.93rem;
  line-height: 1.75;
}

.service-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
  margin-top: 20px;
}

.service-grid span {
  padding: 11px 8px;
  border: 1px solid rgba(49, 92, 244, 0.25);
  border-radius: 11px;
  color: #d8e0e9;
  background: rgba(16, 36, 62, 0.5);
  font-size: 0.72rem;
  text-align: center;
}

.launch-panel {
  padding: 20px;
  border: 1px solid rgba(226, 178, 74, 0.48);
  border-radius: 17px;
  background:
    linear-gradient(135deg, rgba(49, 92, 244, 0.09), rgba(31, 157, 122, 0.08)),
    rgba(8, 24, 42, 0.8);
}

.launch-panel strong {
  display: block;
  margin-bottom: 6px;
  color: var(--gold);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.35rem;
  font-weight: 500;
}

.launch-panel p {
  color: #b9c5d2;
  font-size: 0.85rem;
  line-height: 1.7;
}

.launch-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 2px;
  padding: 11px 15px;
  border-radius: 9px;
  color: var(--ivory);
  background: var(--blue);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

footer {
  padding: 28px 18px 25px;
  border-top: 1px solid rgba(226, 178, 74, 0.18);
  color: #7f91a5;
  text-align: center;
}

footer p {
  margin-bottom: 8px;
  font-size: 0.6rem;
  letter-spacing: 0.12em;
}

footer span {
  font-size: 0.67rem;
}

@media (max-width: 520px) {
  .digital-card {
    width: min(100% - 16px, 560px);
    margin-top: 8px;
    border-radius: 22px;
  }

  .identity {
    padding-inline: 13px;
  }

  .brand-name {
    font-size: clamp(1.78rem, 8.8vw, 2.3rem);
  }

  .portrait-frame {
    width: 218px;
    height: 265px;
  }

  h1 {
    font-size: 1.9rem;
  }

  .role {
    font-size: 0.64rem;
  }

  .action {
    min-height: 66px;
    padding-inline: 11px;
  }

  .action-copy strong {
    font-size: 0.79rem;
  }

  .action-copy small {
    font-size: 0.69rem;
  }

  .content-section {
    padding-inline: 17px;
  }
}

@media (max-width: 385px) {
  .service-grid {
    grid-template-columns: 1fr;
  }

  .action-copy strong {
    font-size: 0.74rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
