:root {
  --navy: #07182b;
  --navy-2: #0c2742;
  --navy-3: #123453;
  --red: #d71920;
  --red-dark: #a90f16;
  --gold: #e8b64c;
  --gold-dark: #8a5b00;
  --paper: #f7f3ea;
  --white: #ffffff;
  --ink: #17212b;
  --muted: #5d6873;
  --line: #ddd5c3;
  --soft: #eee8d9;
  --shadow: 0 22px 55px rgba(4, 20, 36, 0.22);
  --radius: 22px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 17px;
  line-height: 1.6;
}

img {
  max-width: 100%;
}

a {
  color: var(--red-dark);
  text-underline-offset: 0.16em;
}

a:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -10rem;
  z-index: 20;
  padding: 0.75rem 1rem;
  border-radius: 999px;
  background: var(--gold);
  color: #111827;
  font-weight: 700;
}

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

.site-header {
  position: absolute;
  z-index: 10;
  top: 0;
  left: 0;
  right: 0;
  color: var(--white);
}

.header-inner,
.section-inner,
.footer-inner {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1rem 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  color: var(--white);
  font-size: 1.9rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-decoration: none;
}

.brand img {
  width: 120px;
  height: 120px;
  border-radius: 28px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.32);
}

.main-nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.35rem 1.1rem;
  font-size: 0.95rem;
}

.main-nav a {
  color: var(--white);
  font-weight: 700;
  text-decoration: none;
}

.main-nav a:hover { text-decoration: underline; }

.language-link {
  padding: 0.42rem 0.72rem;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 999px;
  background: rgba(7, 24, 43, 0.5);
}

.hero {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background: var(--navy);
}

.hero::before {
  position: absolute;
  inset: 0;
  background-image: url("assets/photo-hero-pal80.webp");
  background-position: center;
  background-size: cover;
  content: "";
}

.en-page .hero::before {
  background-image: url("../assets/photo-hero-pal80.webp");
}

.hero::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(3, 15, 27, 0.94) 0%, rgba(3, 15, 27, 0.82) 48%, rgba(3, 15, 27, 0.34) 100%);
  content: "";
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: min(1180px, calc(100% - 40px));
  min-height: 760px;
  margin: 0 auto;
  padding: 11.5rem 0 5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-copy { max-width: 700px; }

.eyebrow,
.coming-soon {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  border-radius: 999px;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.eyebrow {
  margin: 0 0 1rem;
  padding: 0.35rem 0.7rem;
  background: var(--red);
  color: var(--white);
  font-size: 0.82rem;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  font-size: clamp(4.8rem, 13vw, 10rem);
  line-height: 0.88;
  letter-spacing: -0.055em;
  text-shadow: 0 8px 36px rgba(0, 0, 0, 0.45);
}

.hero h1 span { color: var(--gold); }

.slogan {
  max-width: 620px;
  margin: 1.4rem 0 1rem;
  color: #fff7df;
  font-size: clamp(1.65rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.12;
}

.hero-lead {
  max-width: 610px;
  margin: 0;
  color: #eef4f8;
  font-size: 1.16rem;
}

.coming-soon {
  margin-top: 1.7rem;
  padding: 0.72rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.13);
  color: var(--white);
  backdrop-filter: blur(8px);
}

.coming-soon::before {
  width: 0.62rem;
  height: 0.62rem;
  margin-right: 0.55rem;
  border-radius: 50%;
  background: var(--gold);
  content: "";
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.8rem;
  max-width: 880px;
  margin: 3.2rem 0 0;
  padding: 0;
  list-style: none;
}

.hero-stats li {
  padding: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 16px;
  background: rgba(4, 20, 36, 0.72);
}

.hero-stats strong {
  display: block;
  color: var(--gold);
  font-size: 1.65rem;
  line-height: 1;
}

.hero-stats span {
  display: block;
  margin-top: 0.4rem;
  color: #e7edf2;
  font-size: 0.9rem;
  line-height: 1.35;
}

.proof-strip {
  background: var(--navy);
  color: var(--white);
}

.proof-strip .section-inner {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-top: 1.25rem;
  padding-bottom: 1.25rem;
}

.proof-strip img {
  width: 150px;
  height: 150px;
  border-radius: 32px;
  flex-shrink: 0;
}

.proof-strip p { margin: 0; }
.proof-strip strong { color: var(--gold); }

.section {
  padding: 5.2rem 0;
}

.section.alt { background: var(--white); }
.section.navy { background: var(--navy); color: var(--white); }
.section.soft { background: var(--soft); }

.section-heading {
  max-width: 760px;
  margin-bottom: 2.2rem;
}

.section-heading.center {
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.section-kicker {
  margin: 0 0 0.55rem;
  color: var(--red-dark);
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.navy .section-kicker { color: var(--gold); }

h2 {
  margin: 0;
  font-size: clamp(2rem, 5vw, 3.35rem);
  line-height: 1.08;
  letter-spacing: -0.035em;
}

h3 {
  margin: 0 0 0.65rem;
  font-size: 1.28rem;
  line-height: 1.25;
}

.section-heading p:last-child,
.lead {
  color: var(--muted);
  font-size: 1.08rem;
}

.navy .section-heading p:last-child,
.navy .lead { color: #cfdae4; }

.card-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.feature-card,
.exam-card,
.price-card,
.step-card {
  border-radius: var(--radius);
}

.feature-card {
  min-height: 100%;
  padding: 1.45rem;
  border: 1px solid var(--line);
  background: var(--white);
  box-shadow: 0 12px 32px rgba(23, 33, 43, 0.07);
}

.feature-card .number {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 1rem;
  border-radius: 50%;
  background: var(--navy);
  color: var(--gold);
  font-weight: 900;
}

.feature-card p,
.exam-card p,
.price-card p,
.step-card p { color: var(--muted); }

.feature-card p { margin-bottom: 0; }

.two-column {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.1rem;
}

.exam-card {
  position: relative;
  overflow: hidden;
  padding: 2rem;
  background: var(--navy-2);
  color: var(--white);
  box-shadow: var(--shadow);
}

.exam-card::before {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 7px;
  background: var(--red);
  content: "";
}

.exam-card.second::before { background: var(--gold); }
.exam-card p { color: #d5e0ea; }

.exam-code {
  margin: 0 0 0.5rem;
  color: var(--gold);
  font-size: 0.88rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.exam-card h3 { font-size: 1.65rem; }

.exam-card ul,
.check-list {
  margin: 1.1rem 0 0;
  padding-left: 1.25rem;
}

.exam-card li + li,
.check-list li + li { margin-top: 0.45rem; }

.notice {
  margin-top: 1.1rem;
  padding: 1.1rem 1.25rem;
  border-left: 6px solid var(--red);
  border-radius: 0 16px 16px 0;
  background: #fff2f2;
  color: #571216;
}

.notice strong { color: #7f1116; }

.preview-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 3rem;
  align-items: center;
}

.phone-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.2rem;
  align-items: start;
}

.phone-row figure { margin: 0; }

.phone-row img {
  width: 100%;
  height: auto;
  border: 8px solid #101820;
  border-radius: 34px;
  box-shadow: var(--shadow);
}

.phone-row figcaption {
  margin-top: 0.7rem;
  color: #cfdae4;
  font-size: 0.92rem;
  text-align: center;
}

.step-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.step-card {
  padding: 1.5rem;
  background: var(--white);
  border: 1px solid var(--line);
}

.step-card .step-number {
  color: var(--red);
  font-size: 2.25rem;
  font-weight: 900;
  line-height: 1;
}

.price-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.1rem;
  align-items: stretch;
}

.price-card {
  padding: 2rem;
  border: 1px solid var(--line);
  background: var(--white);
}

.price-card.premium {
  border: 3px solid var(--gold);
  background: var(--navy);
  color: var(--white);
  box-shadow: var(--shadow);
}

.price-card.premium p,
.price-card.premium li { color: #dce5ee; }

.price-label {
  margin: 0 0 0.45rem;
  color: var(--red-dark);
  font-size: 0.86rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.premium .price-label { color: var(--gold); }

.price {
  margin: 0.3rem 0;
  font-size: 2.6rem;
  font-weight: 900;
  line-height: 1;
}

.price small {
  font-size: 1rem;
  font-weight: 700;
}

.faq-list {
  display: grid;
  gap: 0.75rem;
  max-width: 920px;
  margin: 0 auto;
}

.faq-list details {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--white);
}

.faq-list summary {
  padding: 1.05rem 1.2rem;
  cursor: pointer;
  font-weight: 800;
}

.faq-list details p {
  margin: 0;
  padding: 0 1.2rem 1.15rem;
  color: var(--muted);
}

.launch-panel {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1.5rem;
  align-items: center;
  padding: 2rem;
  border-radius: var(--radius);
  background: var(--white);
  color: var(--ink);
  box-shadow: var(--shadow);
}

.launch-panel img {
  width: 200px;
  height: 200px;
  border-radius: 35px;
}

.launch-panel h2 { font-size: 2.15rem; }
.launch-panel p { color: var(--muted); }

.store-badges {
  display: grid;
  gap: 0.7rem;
}

.store-badge {
  min-width: 190px;
  padding: 0.8rem 1rem;
  border: 1px solid #9aa5af;
  border-radius: 13px;
  background: #101820;
  color: var(--white);
  text-align: center;
  font-weight: 800;
}

.store-badge small {
  display: block;
  color: #cbd5e1;
  font-size: 0.75rem;
  font-weight: 600;
}

.site-footer {
  padding: 3rem 0;
  background: #04101d;
  color: #dbe4ec;
}

.footer-grid {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 2rem;
  align-items: start;
}

.site-footer img {
  width: 120px;
  height: 120px;
  border-radius: 28px;
}

.site-footer p { margin: 0.35rem 0; }
.site-footer a { color: #ffd97a; }
.footer-title { color: var(--white); font-size: 1.25rem; font-weight: 900; }
.disclaimer { max-width: 680px; color: #aebbc7; font-size: 0.92rem; }

@media (max-width: 940px) {
  .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .preview-layout { grid-template-columns: 1fr; }
  .launch-panel { grid-template-columns: auto 1fr; }
  .store-badges { grid-column: 1 / -1; grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 680px) {
  body { font-size: 16px; }
  .header-inner { align-items: flex-start; }
  .brand img { width: 120px; height: 120px; border-radius: 28px; }
  .main-nav { gap: 0.35rem 0.7rem; font-size: 0.88rem; }
  .main-nav a:not(.language-link) { display: none; }
  .hero-inner { min-height: 700px; padding-top: 11.5rem; }
  .hero::after { background: linear-gradient(180deg, rgba(3, 15, 27, 0.9), rgba(3, 15, 27, 0.78)); }
  .two-column,
  .price-grid,
  .step-grid,
  .footer-grid { grid-template-columns: 1fr; }
  .card-grid { grid-template-columns: 1fr; }
  .section { padding: 3.8rem 0; }
  .proof-strip .section-inner { align-items: flex-start; }
  .phone-row { grid-template-columns: 1fr; gap: 1.8rem; }
  .phone-row figure { max-width: 340px; width: 100%; margin-inline: auto; }
  .phone-row img { border-width: 5px; border-radius: 24px; }
  .launch-panel { grid-template-columns: 1fr; }
  .launch-panel img { width: 200px; height: 200px; }
  .store-badges { grid-template-columns: 1fr; }
}

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