:root {
  color-scheme: light;
  --page: #efeae6;
  --card: #fff;
  --line: #e4ded8;
  --heading: #240046;
  --body: #3d3742;
  --muted: #6a6470;
  --brand: #590c7e;
  --brand-soft: #f4ecfb;
  --care: #57cc99;
  --deep: #240046;
  --font: "IBM Plex Sans Arabic", "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: dark;
    --page: #140a1f;
    --card: #211531;
    --line: #33244a;
    --heading: #f6effc;
    --body: #ddd3e7;
    --muted: #ab9fb8;
    --brand: #c9a6e4;
    --brand-soft: #2b1a40;
    --deep: #12061f;
  }
}

* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--page);
  color: var(--body);
  font: 17px/1.65 var(--font);
  -webkit-font-smoothing: antialiased;
}
a { color: var(--brand); text-underline-offset: 3px; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { color: var(--heading); font-weight: 600; text-wrap: balance; }
.wrap { width: min(1120px, calc(100% - 40px)); margin-inline: auto; }

.site-header { position: sticky; top: 0; z-index: 2; background: color-mix(in srgb, var(--page) 88%, transparent); backdrop-filter: blur(16px); border-bottom: 1px solid var(--line); }
.header-inner { min-height: 68px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; }
.brand img { width: auto; height: 42px; }
.brand .logo-dark { display: none; }
.header-links { display: flex; flex-wrap: wrap; gap: 22px; }
.header-links a, .footer-links a { color: var(--body); text-decoration: none; font-size: 15px; font-weight: 500; }
.header-links a:hover, .footer-links a:hover { color: var(--brand); text-decoration: underline; text-underline-offset: 4px; }

.hero { position: relative; overflow: hidden; padding-block: clamp(64px, 8vw, 108px); color: #fff; background: linear-gradient(155deg, #590c7e 0%, var(--deep) 78%); }
.hero::after { position: absolute; inset: 0; content: ""; pointer-events: none; opacity: .13; background: url("img/pat-silver.png") 0 0 / 680px auto repeat; }
.hero-inner { position: relative; z-index: 1; }
.eyebrow { color: #c9a6e4; font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.hero h1 { margin-top: 16px; color: #fff; font-size: clamp(42px, 6vw, 72px); line-height: 1.08; letter-spacing: -.035em; }
.hero h1 em { color: #80ed99; font-style: normal; font-weight: 300; }
.hero p:last-child { max-width: 700px; margin-top: 18px; color: rgba(255,255,255,.82); font-size: clamp(18px, 2vw, 21px); }

.content { padding-block: clamp(48px, 7vw, 84px); }
.policy { max-width: 780px; margin-inline: auto; }
.updated { margin-bottom: 16px; color: var(--muted); font-size: 14px; }
.policy section { padding-block: 24px; border-bottom: 1px solid var(--line); }
.policy h2 { margin-bottom: 12px; font-size: 22px; }
.policy p + p { margin-top: 14px; }
.policy ul { display: grid; gap: 10px; margin: 12px 0 0; padding-inline-start: 24px; }

.intro { display: grid; grid-template-columns: minmax(0, 1fr) minmax(220px, .55fr); align-items: center; gap: 36px; }
.card { padding: clamp(22px, 3vw, 34px); border: 1px solid var(--line); border-radius: 20px; background: var(--card); box-shadow: 0 2px 6px rgba(36,0,70,.07); }
.notice { padding: 20px 24px; border: 1px solid #e8c978; border-radius: 16px; background: #fff8e6; color: #51452b; }
.intro h2 { margin-top: 26px; font-size: clamp(28px, 3.8vw, 42px); line-height: 1.15; }
.intro-copy > p:last-child { margin-top: 12px; color: var(--muted); }
.phone { width: min(220px, 65vw); aspect-ratio: 460 / 1012; margin-inline: auto; padding: 9px; border-radius: 38px; background: #1a1320; box-shadow: 0 24px 54px rgba(36,0,70,.24); }
.phone img { display: block; width: 100%; height: 100%; border-radius: 29px; object-fit: cover; object-position: top; }
.steps { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-top: 24px; counter-reset: step; }
.step { position: relative; min-height: 132px; padding-inline-start: 76px; }
.step::before { position: absolute; inset-inline-start: 26px; top: 26px; display: grid; width: 40px; height: 40px; place-items: center; counter-increment: step; content: counter(step); border-radius: 50%; background: var(--brand-soft); color: var(--brand); font-weight: 600; }
.step h3, .detail-card h3 { margin-bottom: 8px; font-size: 20px; line-height: 1.3; }
.step p, .detail-card p, .detail-card li { color: var(--body); }
.details { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-top: 24px; }
.detail-card ul { display: grid; gap: 10px; margin: 14px 0 0; padding-inline-start: 22px; }
.button { display: inline-flex; min-height: 42px; align-items: center; justify-content: center; margin-top: 18px; padding: 0 18px; border-radius: 999px; background: linear-gradient(115deg, #a875d1, #590c7e 65%, #3a0a5e); color: #fff; font-size: 14px; font-weight: 600; text-decoration: none; }
.button:hover { filter: brightness(1.08); }
.crosslink { margin-top: 28px; text-align: center; color: var(--muted); font-size: 14px; }

.site-footer { padding-block: 36px; background: #240046; color: rgba(255,255,255,.75); }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; }
.footer-inner img { width: 190px; height: auto; }
.footer-links { display: flex; flex-wrap: wrap; gap: 20px; }
.footer-links a { color: rgba(255,255,255,.78); }
.footer-links a:hover { color: #fff; }
.copyright { width: 100%; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.16); color: rgba(255,255,255,.6); font-size: 13px; }

@media (prefers-color-scheme: dark) {
  .brand .logo-light { display: none; }
  .brand .logo-dark { display: block; }
  .notice { border-color: #765d31; background: #302719; color: #f3dfae; }
}
@media (max-width: 640px) {
  .header-inner { min-height: 60px; }
  .brand img { height: 36px; }
  .header-links { gap: 12px; }
  .header-links a { font-size: 13px; }
  .intro, .steps, .details { grid-template-columns: 1fr; }
  .intro { gap: 24px; }
  .phone { width: min(180px, 55vw); }
  .step { min-height: auto; padding-inline-start: 66px; }
  .step::before { inset-inline-start: 22px; top: 22px; }
  .footer-inner img { width: 160px; }
}
