:root {
  --bg: #F5F4F3;
  --card: #FFFFFF;
  --raised: #E9E7E6;
  --text: #171415;
  --muted: #6A6466;
  --line: #D9D5D5;
  --accent: #7A1230;
  --soft: #F7DEE5;
  --burgundy: #7A1230;
  --pink: #F0587F;
  --wide: 1080px;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #121011;
    --card: #1D1A1B;
    --raised: #2A2627;
    --text: #F4F2F2;
    --muted: #A8A1A3;
    --line: #393435;
    --accent: #F0587F;
    --soft: #4A1226;
  }
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Helvetica Neue", Helvetica, Arial, "Geeza Pro", sans-serif;
  font-size: 17px;
  line-height: 1.6;
}

a { color: var(--accent); }

h1, h2, h3 { line-height: 1.1; letter-spacing: -0.02em; margin: 0; }

.wrap { width: 100%; max-width: var(--wide); margin: 0 auto; padding: 0 20px; }

:focus-visible { outline: 2px solid var(--pink); outline-offset: 3px; border-radius: 4px; }

/* Header */
.top { border-bottom: 1px solid var(--line); }
.top-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); font-size: 22px; font-weight: 800; letter-spacing: -0.03em; text-decoration: none; }
.mark { width: 28px; height: 28px; color: var(--accent); }
.mark .dot { fill: var(--pink); }
.top nav { display: flex; gap: 20px; }
.top nav a { min-height: 44px; display: inline-flex; align-items: center; color: var(--muted); font-size: 16px; text-decoration: none; }
.top nav a:hover, .top nav a[aria-current="page"] { color: var(--text); }

/* Hero: the viewfinder from the logo */
.hero { background: var(--burgundy); color: #FFFFFF; padding: 40px 0; }
.frame { position: relative; padding: clamp(48px, 9vw, 104px) clamp(24px, 7vw, 88px); }
.corner { position: absolute; width: clamp(32px, 6vw, 64px); height: clamp(32px, 6vw, 64px); border: 0 solid #FFFFFF; }
.corner.tl { top: 0; left: 0; border-top-width: 3px; border-left-width: 3px; border-top-left-radius: 4px; }
.corner.tr { top: 0; right: 0; border-top-width: 3px; border-right-width: 3px; border-top-right-radius: 4px; }
.corner.br { bottom: 0; right: 0; border-bottom-width: 3px; border-right-width: 3px; border-bottom-right-radius: 4px; }
.corner.bl { bottom: 0; left: 0; border-bottom-width: 3px; border-left-width: 3px; border-bottom-left-radius: 4px; }
.rec { display: flex; align-items: center; gap: 10px; margin: 0 0 20px; font-size: 14px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; }
.rec-dot { width: 11px; height: 11px; border-radius: 50%; background: var(--pink); animation: blink 1.6s ease-in-out infinite; }
@keyframes blink { 50% { opacity: 0.25; } }
.hero h1 { font-size: clamp(46px, 9.2vw, 104px); font-weight: 800; letter-spacing: -0.035em; line-height: 0.98; max-width: 11em; }
.lead { font-size: clamp(18px, 2.2vw, 21px); line-height: 1.5; max-width: 34em; margin: 24px 0 0; color: #F7DEE5; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 24px; border-radius: 999px; font-size: 16px; font-weight: 700; text-decoration: none; }
.btn-light { background: #FFFFFF; color: var(--burgundy); }
.btn-soon { background: rgba(255, 255, 255, 0.16); color: #FFFFFF; }
.btn-line { border: 1.5px solid rgba(255, 255, 255, 0.7); color: #FFFFFF; }
.btn-line:hover { background: rgba(255, 255, 255, 0.12); }

/* Home sections */
.band { padding-top: clamp(56px, 8vw, 88px); padding-bottom: clamp(56px, 8vw, 88px); }
.band h2 { font-size: clamp(30px, 4.4vw, 44px); font-weight: 800; }
.sides { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 72px); }
.kicker { margin: 0 0 12px; color: var(--accent); font-size: 14px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; }
.ticks { list-style: none; margin: 24px 0 0; padding: 0; }
.ticks li { padding: 13px 0; border-top: 1px solid var(--line); }

.how { background: var(--card); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.steps { list-style: none; counter-reset: step; display: grid; grid-template-columns: repeat(5, 1fr); gap: 24px; margin: 36px 0 0; padding: 0; }
.steps li { counter-increment: step; }
.steps li::before { content: counter(step); display: block; margin-bottom: 12px; color: var(--accent); font-size: 40px; font-weight: 800; line-height: 1; letter-spacing: -0.03em; }
.steps h3 { font-size: 18px; font-weight: 700; letter-spacing: -0.01em; }
.steps p { margin: 8px 0 0; color: var(--muted); font-size: 15.5px; line-height: 1.5; }

.trust p { max-width: 38em; margin: 16px 0 0; }

.contact { padding-top: 0; }
.contact dl { display: grid; grid-template-columns: repeat(4, auto); justify-content: space-between; gap: 20px 32px; margin: 28px 0 0; }
.contact dt { color: var(--muted); font-size: 14px; }
.contact dd { margin: 2px 0 0; font-weight: 700; overflow-wrap: anywhere; }

/* FAQ, Terms and Privacy */
.page { max-width: 760px; padding-top: 48px; padding-bottom: 80px; }
.page h1 { font-size: clamp(38px, 6vw, 56px); font-weight: 800; }
.page h2 { font-size: 22px; font-weight: 700; letter-spacing: -0.01em; margin: 40px 0 12px; }
.updated { margin: 10px 0 0; color: var(--muted); font-size: 15px; }
.notice { margin: 20px 0 0; padding: 14px 16px; border-radius: 14px; background: var(--soft); font-size: 15.5px; }
.intro { margin: 24px 0 0; font-size: 19px; line-height: 1.5; }
.arabic { margin: 24px 0 0; padding: 18px 20px; border-radius: 14px; background: var(--card); border: 1px solid var(--line); font-size: 18px; line-height: 1.9; }
.legal ul { margin: 0 0 12px; padding-left: 20px; }
.legal li { margin-bottom: 10px; }
.legal section p { margin: 0 0 12px; }

.jumps { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.jumps a { display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; border-radius: 999px; background: var(--raised); color: var(--text); font-size: 15px; text-decoration: none; }
.jumps a:hover { background: var(--soft); }

details { border-top: 1px solid var(--line); }
section details:last-child { border-bottom: 1px solid var(--line); }
summary { position: relative; padding: 15px 32px 15px 0; font-weight: 700; cursor: pointer; list-style: none; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 2px; top: 11px; color: var(--accent); font-size: 24px; font-weight: 400; line-height: 1.3; }
details[open] summary::after { content: "\2212"; }
details p { margin: 0 0 18px; color: var(--muted); }

/* Footer */
.foot { border-top: 1px solid var(--line); color: var(--muted); font-size: 15px; }
.foot-row { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px 24px; padding-top: 18px; padding-bottom: 18px; }
.foot p { margin: 0; }
.foot nav { display: flex; flex-wrap: wrap; gap: 20px; }
.foot a { display: inline-flex; align-items: center; min-height: 44px; color: var(--muted); }

@media (max-width: 860px) {
  .steps { grid-template-columns: 1fr; gap: 20px; }
  .steps li { display: grid; grid-template-columns: 44px 1fr; }
  .steps li::before { grid-row: 1 / span 2; font-size: 30px; margin: 0; }
  .contact dl { grid-template-columns: 1fr 1fr; justify-content: stretch; }
  .contact dl > div:first-child { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  body { font-size: 16.5px; }
  .hero { padding: 20px 0; }
  .sides { grid-template-columns: 1fr; }
  .top nav { gap: 14px; }
  .btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .rec-dot { animation: none; }
}
