:root {
  --ink: #13223D;
  --paper: #E9EEEA;
  --paper-card: #FBF8F1;
  --slate: #56677A;
  --verified: #1F6E52;
  --verified-soft: #E3EFE8;
  --line: #CFD8CE;
  --danger: #B3412E;
  --pending: #B8791A;
}

@media (prefers-color-scheme: dark) {
  :root {
    --ink: #ECEFEA;
    --paper: #0E1728;
    --paper-card: #172439;
    --slate: #93A2B2;
    --verified: #3CB689;
    --verified-soft: #16281F;
    --line: #253449;
    --danger: #E2604A;
    --pending: #E0A83D;
  }
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  line-height: 1.6;
}

.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Nav ---------- */

nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px;
  max-width: 1080px;
  margin: 0 auto;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
}

.brand img {
  width: 30px;
  height: 30px;
  border-radius: 7px;
}

.brand-text {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.brand-text .dot-pro { color: var(--danger); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 14.5px;
}

.nav-links a {
  color: var(--slate);
  text-decoration: none;
}

.nav-links a:hover { color: var(--ink); }

.nav-cta {
  background: var(--verified);
  color: #fff !important;
  padding: 9px 18px;
  border-radius: 7px;
  font-weight: 600;
}

/* ---------- Hero ---------- */

.hero {
  padding: 72px 24px 80px;
}

.hero-grid {
  max-width: 1080px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 56px;
  align-items: center;
}

.hero-copy { text-align: left; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--verified);
  background: var(--verified-soft);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 16px;
  margin-bottom: 24px;
}

h1.hero-title {
  font-family: Georgia, 'Times New Roman', serif;
  font-weight: 600;
  font-size: 44px;
  line-height: 1.14;
  margin: 0 0 18px;
  letter-spacing: -0.01em;
}

.hero-sub {
  font-size: 17.5px;
  color: var(--slate);
  margin: 0 0 32px;
  max-width: 480px;
}

.hero-ctas {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 24px;
  border-radius: 9px;
  font-size: 15.5px;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid transparent;
}

.btn-primary {
  background: var(--verified);
  color: #fff;
}

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

.btn[disabled], .btn.soon {
  background: var(--paper-card);
  color: var(--slate);
  border-color: var(--line);
  cursor: default;
}

.hero-note {
  font-size: 13px;
  color: var(--slate);
  margin: 0 0 36px;
}

.hero-features {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.hero-features li {
  display: flex;
  gap: 12px;
  font-size: 14.5px;
  color: var(--slate);
  line-height: 1.5;
}

.hero-features li::before {
  content: '';
  flex: none;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--verified);
  margin-top: 7px;
}

.hero-features strong {
  color: var(--ink);
  font-weight: 600;
}

/* ---------- Slideshow ---------- */

.slideshow {
  position: relative;
  width: 220px;
  aspect-ratio: 1290 / 2796;
  flex: none;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--paper-card);
  box-shadow: 0 20px 44px -22px rgba(19, 34, 61, 0.28);
}

.slideshow img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  opacity: 0;
  animation: slideshow-cycle 21s infinite;
}

.slideshow img:nth-child(1) { animation-delay: 0s; }
.slideshow img:nth-child(2) { animation-delay: 7s; }
.slideshow img:nth-child(3) { animation-delay: 14s; }

@keyframes slideshow-cycle {
  0% { opacity: 0; }
  4% { opacity: 1; }
  29% { opacity: 1; }
  33% { opacity: 0; }
  100% { opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .slideshow img { animation: none; opacity: 0; }
  .slideshow img:first-child { opacity: 1; }
}

/* ---------- Sections ---------- */

section { padding: 84px 24px; }

.section-alt { background: var(--paper-card); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 48px;
}

.section-kicker {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--verified);
  margin-bottom: 12px;
}

h2.section-title {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 34px;
  font-weight: 600;
  margin: 0 0 14px;
  letter-spacing: -0.01em;
}

.section-desc {
  font-size: 16.5px;
  color: var(--slate);
}

/* ---------- Country/compliance chips ---------- */

.chip-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  max-width: 820px;
  margin: 0 auto;
}

.chip {
  font-size: 14px;
  font-weight: 500;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 9px 16px;
  color: var(--ink);
}

.section-alt .chip { background: var(--paper-card); }

.stat-row {
  display: flex;
  justify-content: center;
  gap: 56px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.stat { text-align: center; }

.stat-num {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 40px;
  font-weight: 600;
  color: var(--verified);
  line-height: 1;
  margin-bottom: 6px;
}

.stat-label {
  font-size: 13.5px;
  color: var(--slate);
}

/* ---------- Feature grid ---------- */

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

.feature-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 28px 24px;
}

.section-alt .feature-card { background: var(--paper-card); }

.feature-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--verified-soft);
  color: var(--verified);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 19px;
  margin-bottom: 16px;
}

.feature-card h3 {
  font-size: 17px;
  margin: 0 0 8px;
  font-weight: 600;
}

.feature-card p {
  font-size: 14.5px;
  color: var(--slate);
  margin: 0;
}

/* ---------- Language grid ---------- */

.lang-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 10px;
  max-width: 820px;
  margin: 0 auto;
}

.lang-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14.5px;
  background: var(--paper-card);
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 11px 14px;
}

.section-alt .lang-item { background: var(--paper); }

.lang-flag { font-size: 17px; }

/* ---------- Tax profile proof shots ---------- */

.proof-shots {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 32px;
  flex-wrap: wrap;
  margin-top: 48px;
}

.proof-shots figure {
  margin: 0;
  text-align: center;
}

.proof-shots img {
  display: block;
  width: 300px;
  max-width: 100%;
  border-radius: 14px;
  border: 1px solid var(--line);
  box-shadow: 0 20px 44px -22px rgba(19, 34, 61, 0.28);
}

.proof-shots figcaption {
  margin-top: 12px;
  font-size: 13px;
  color: var(--slate);
}

/* ---------- Device row ---------- */

.device-row {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.device-row figure {
  margin: 0;
  text-align: center;
}

.device-row img {
  display: block;
  height: 320px;
  width: auto;
  border-radius: 14px;
  border: 1px solid var(--line);
  box-shadow: 0 20px 44px -22px rgba(19, 34, 61, 0.28);
}

.device-row figcaption {
  margin-top: 12px;
  font-size: 13px;
  font-weight: 600;
  color: var(--slate);
}

.device-row-note {
  margin: 28px 0 0;
  text-align: center;
  font-size: 13px;
  color: var(--slate);
}

/* ---------- Pricing ---------- */

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 900px;
  margin: 0 auto;
}

.price-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 28px 24px;
}

.section-alt .price-card { background: var(--paper-card); }

.price-card.featured {
  border-color: var(--verified);
  box-shadow: 0 0 0 1px var(--verified);
}

.price-name {
  font-weight: 700;
  font-size: 15px;
  margin-bottom: 6px;
}

.price-amount {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 30px;
  font-weight: 600;
  margin-bottom: 14px;
}

.price-amount span {
  font-size: 13px;
  font-weight: 400;
  color: var(--slate);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.price-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 14px;
  color: var(--slate);
}

.price-card li {
  padding: 7px 0;
  border-top: 1px solid var(--line);
}

.price-card li:first-child { border-top: none; }

/* ---------- Closing CTA ---------- */

.closing {
  text-align: center;
  padding: 84px 24px;
}

.closing h2 {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 32px;
  font-weight: 600;
  margin: 0 0 16px;
}

.closing p {
  color: var(--slate);
  font-size: 16px;
  max-width: 480px;
  margin: 0 auto 32px;
}

/* ---------- Footer ---------- */

footer {
  border-top: 1px solid var(--line);
  padding: 40px 24px;
}

.footer-inner {
  max-width: 1080px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 13.5px;
  color: var(--slate);
}

.footer-links {
  display: flex;
  gap: 22px;
}

.footer-links a {
  color: var(--slate);
  text-decoration: none;
}

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

/* ---------- Support page ---------- */

.support-wrap {
  max-width: 640px;
  margin: 0 auto;
  padding: 72px 24px 100px;
}

.support-wrap h1 {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 32px;
  margin: 0 0 12px;
}

.support-wrap > p.lead {
  color: var(--slate);
  font-size: 16px;
  margin-bottom: 40px;
}

.support-card {
  background: var(--paper-card);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 20px;
}

.support-card h2 {
  font-size: 16px;
  margin: 0 0 8px;
}

.support-card p {
  font-size: 14.5px;
  color: var(--slate);
  margin: 0 0 12px;
}

.support-card a.email {
  display: inline-block;
  color: var(--verified);
  font-weight: 600;
  text-decoration: none;
  font-size: 15px;
}

.faq-item {
  padding: 18px 0;
  border-top: 1px solid var(--line);
}

.faq-item:first-child { border-top: none; }

.faq-item h3 {
  font-size: 15.5px;
  margin: 0 0 6px;
}

.faq-item p {
  font-size: 14.5px;
  color: var(--slate);
  margin: 0;
}

/* ---------- Responsive ---------- */

@media (max-width: 640px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-copy { text-align: center; }
  .hero-sub { margin-left: auto; margin-right: auto; }
  .hero-ctas { justify-content: center; }
  .hero-features { text-align: left; max-width: 420px; margin: 0 auto; }
  .slideshow { width: 180px; margin: 0 auto; }
}

@media (max-width: 760px) {
  .nav-links { display: none; }
  h1.hero-title { font-size: 34px; }
  .hero-sub { font-size: 16.5px; }
  .feature-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  h2.section-title { font-size: 26px; }
  section { padding: 56px 20px; }
  .stat-row { gap: 32px; }
  .device-row img { height: 220px; }
  .proof-shots img { width: 230px; }
}
