:root {
  --navy: #0b1d2a;
  --navy-2: #102737;
  --navy-3: #152f43;
  --off-white: #f7f4ee;
  --sand: #efe7d7;
  --gold: #c9a560;
  --gold-soft: #dcc28a;
  --text: #0d1b26;
  --muted: #586877;
  --surface: #ffffff;
  --line: #e1d7c5;
  --shadow: 0 24px 60px rgba(11, 29, 42, 0.18);
  --radius-lg: 22px;
  --radius-md: 16px;
  --radius-sm: 12px;
  --max-width: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "IBM Plex Sans", "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--off-white);
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
}

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

.container {
  width: min(100% - 2.5rem, var(--max-width));
  margin: 0 auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(247, 244, 238, 0.95);
  border-bottom: 1px solid rgba(225, 215, 197, 0.6);
  backdrop-filter: blur(10px);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.logo-mark {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, var(--gold), var(--navy));
  box-shadow: 0 10px 24px rgba(11, 29, 42, 0.35);
}

.logo-text {
  font-family: "Fraunces", "Times New Roman", serif;
  font-size: 1.1rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  font-size: 0.95rem;
}

.nav-links a {
  padding: 0.35rem 0;
  position: relative;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width 0.3s ease;
}

.nav-links a:hover::after,
.nav-links a:focus-visible::after {
  width: 100%;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.8rem 1.4rem;
  border-radius: 999px;
  font-weight: 600;
  border: 1px solid transparent;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
  cursor: pointer;
  font-size: 0.95rem;
}

.btn-primary {
  background: var(--navy);
  color: var(--off-white);
  box-shadow: 0 14px 30px rgba(11, 29, 42, 0.25);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 18px 40px rgba(11, 29, 42, 0.3);
}

.btn-secondary {
  background: transparent;
  border-color: var(--navy);
  color: var(--navy);
}

.btn-secondary:hover,
.btn-secondary:focus-visible {
  background: rgba(11, 29, 42, 0.06);
  transform: translateY(-2px);
}

.btn-ghost {
  background: transparent;
  border-color: var(--line);
  color: var(--navy);
}

.section {
  padding: 5rem 0;
}

.section-title {
  font-family: "Fraunces", "Times New Roman", serif;
  font-size: clamp(2rem, 3vw, 2.6rem);
  margin: 0 0 1rem;
}

.section-kicker {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.75rem;
  color: var(--muted);
  margin-bottom: 0.75rem;
}

.hero {
  position: relative;
  padding: 7rem 0 6rem;
  color: var(--off-white);
  background: linear-gradient(120deg, rgba(11, 29, 42, 0.85), rgba(11, 29, 42, 0.55)),
    var(--hero-image);
  background-size: cover;
  background-position: center;
}

.hero-content {
  max-width: 620px;
}

.hero h1 {
  font-family: "Fraunces", "Times New Roman", serif;
  font-size: clamp(2.6rem, 4vw, 3.6rem);
  margin: 0 0 1.2rem;
}

.hero p {
  font-size: 1.1rem;
  color: rgba(247, 244, 238, 0.9);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}

.hero-card {
  margin-top: 2.5rem;
  display: inline-flex;
  gap: 1.5rem;
  padding: 1.2rem 1.6rem;
  border-radius: var(--radius-md);
  background: rgba(16, 39, 55, 0.7);
  border: 1px solid rgba(201, 165, 96, 0.35);
  backdrop-filter: blur(6px);
}

.hero-card span {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  font-size: 0.85rem;
  color: rgba(247, 244, 238, 0.8);
}

.hero-card strong {
  font-size: 1.1rem;
  color: var(--off-white);
}

.trust-bar {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
  padding: 2rem;
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow);
  transform: translateY(-3rem);
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--navy-2);
  font-weight: 600;
}

.trust-item svg {
  width: 24px;
  height: 24px;
  color: var(--gold);
}

.grid {
  display: grid;
  gap: 2rem;
}

.feature-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.card {
  background: var(--surface);
  border-radius: var(--radius-md);
  padding: 1.8rem;
  border: 1px solid rgba(225, 215, 197, 0.7);
  box-shadow: 0 18px 40px rgba(15, 35, 51, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 50px rgba(15, 35, 51, 0.12);
}

.card h3 {
  font-family: "Fraunces", "Times New Roman", serif;
  margin-top: 0.75rem;
  margin-bottom: 0.5rem;
}

.card svg {
  width: 28px;
  height: 28px;
  color: var(--gold);
}

.split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2.5rem;
  align-items: center;
}

.image-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.image-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.image-card .image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11, 29, 42, 0) 0%, rgba(11, 29, 42, 0.7) 100%);
}

.image-card .image-label {
  position: absolute;
  left: 1.5rem;
  bottom: 1.5rem;
  color: var(--off-white);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
}

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
}

.step {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 1.5rem;
  border-radius: var(--radius-md);
  background: var(--sand);
}

.step-number {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--off-white);
  display: grid;
  place-items: center;
  font-weight: 600;
}

.testimonials {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.testimonial {
  background: var(--surface);
  padding: 1.6rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(225, 215, 197, 0.7);
}

.testimonial span {
  display: block;
  margin-top: 1rem;
  font-weight: 600;
  color: var(--navy-2);
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  background: rgba(201, 165, 96, 0.15);
  color: var(--navy);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.cta-band {
  background: linear-gradient(120deg, rgba(11, 29, 42, 1), rgba(16, 39, 55, 0.8));
  color: var(--off-white);
  padding: 3.5rem 0;
}

.cta-band .container {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: flex-start;
}

.footer {
  padding: 3rem 0 2rem;
  background: var(--navy-2);
  color: rgba(247, 244, 238, 0.8);
}

.footer a {
  color: inherit;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer h4 {
  margin: 0 0 0.75rem;
  font-family: "Fraunces", "Times New Roman", serif;
  color: var(--off-white);
}

.footer small {
  display: block;
  margin-top: 1rem;
  font-size: 0.8rem;
  color: rgba(247, 244, 238, 0.6);
}

.checklist {
  display: grid;
  gap: 1rem;
}

.check-item {
  display: flex;
  gap: 0.9rem;
  padding: 1rem 1.2rem;
  border-radius: var(--radius-md);
  background: var(--surface);
  border: 1px solid rgba(225, 215, 197, 0.8);
  align-items: flex-start;
}

.check-item svg {
  width: 22px;
  height: 22px;
  color: var(--gold);
  flex-shrink: 0;
}

.faq details {
  background: var(--surface);
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  border: 1px solid rgba(225, 215, 197, 0.8);
}

.faq details + details {
  margin-top: 1rem;
}

.faq summary {
  cursor: pointer;
  font-weight: 600;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.price-card {
  padding: 2rem;
  border-radius: var(--radius-md);
  background: var(--surface);
  border: 1px solid rgba(225, 215, 197, 0.8);
  position: relative;
}

.price-card.popular {
  border: 2px solid var(--gold);
  box-shadow: var(--shadow);
}

.price-card .price {
  font-size: 2rem;
  font-weight: 700;
  color: var(--navy);
}

.price-card ul {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0;
}

.price-card li {
  padding: 0.4rem 0;
  color: var(--muted);
}

.login-wrap {
  min-height: calc(100vh - 80px);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  align-items: center;
  padding: 4rem 0;
}

.login-panel {
  background: var(--surface);
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.login-panel h1 {
  font-family: "Fraunces", "Times New Roman", serif;
}

.form-group {
  display: grid;
  gap: 0.5rem;
  margin-bottom: 1.2rem;
}

input,
select {
  padding: 0.8rem 1rem;
  border-radius: 12px;
  border: 1px solid rgba(88, 104, 119, 0.3);
  font-size: 1rem;
}

input:focus,
select:focus {
  outline: 2px solid rgba(201, 165, 96, 0.5);
  border-color: var(--gold);
}

.checkbox {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.95rem;
}

.social-buttons {
  display: grid;
  gap: 0.6rem;
  margin-top: 1rem;
}

.social-buttons button {
  width: 100%;
}

.app-shell {
  padding: 2.5rem 0 4rem;
}

.app-topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2.5rem;
}

.app-topbar .user {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-weight: 600;
}

.avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--navy));
}

.account-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}

.account-card {
  background: var(--navy-3);
  color: var(--off-white);
  padding: 1.6rem;
  border-radius: var(--radius-md);
  position: relative;
}

.account-card small {
  color: rgba(247, 244, 238, 0.7);
}

.account-card strong {
  display: block;
  font-size: 1.6rem;
  margin: 1rem 0;
}

.account-card .pill {
  display: inline-flex;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  background: rgba(201, 165, 96, 0.2);
  color: var(--gold-soft);
  font-size: 0.75rem;
}

.activity-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2rem;
  margin-top: 2rem;
}

.table {
  width: 100%;
  border-collapse: collapse;
}

.table th,
.table td {
  text-align: left;
  padding: 0.9rem 0.4rem;
  border-bottom: 1px solid rgba(225, 215, 197, 0.8);
  font-size: 0.95rem;
}

.quick-actions {
  display: grid;
  gap: 0.8rem;
}

.quick-actions button {
  width: 100%;
}

.donut {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: conic-gradient(
    var(--gold) 0% 35%,
    #4f6f86 35% 60%,
    #9ab3c1 60% 80%,
    #e2d8c8 80% 100%
  );
  display: grid;
  place-items: center;
  position: relative;
  margin: 1.5rem auto 0;
}

.donut::after {
  content: "";
  width: 120px;
  height: 120px;
  background: var(--off-white);
  border-radius: 50%;
  position: absolute;
}

.donut span {
  position: relative;
  font-weight: 700;
  color: var(--navy);
}

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.notice {
  padding: 1rem 1.2rem;
  border-radius: var(--radius-md);
  background: rgba(201, 165, 96, 0.12);
  border: 1px solid rgba(201, 165, 96, 0.35);
  color: var(--navy);
}

@media (max-width: 900px) {
  .nav-links {
    display: none;
  }

  .hero-card {
    flex-direction: column;
    align-items: flex-start;
  }

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

@media (max-width: 640px) {
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .trust-bar {
    transform: translateY(0);
  }

  .cta-band .container {
    align-items: stretch;
  }
}

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

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .btn,
  .card {
    transition: none;
  }
}

:focus-visible {
  outline: 2px dashed var(--gold);
  outline-offset: 3px;
}
