:root {
  --ebony: #0d0b0f;
  --lacquer: #1b171f;
  --lacquer2: #0e0c11;
  --gold: #d6b370;
  --gold-hi: #f6e6b4;
  --ink: #f2ebdd;
  --ink-dim: #a89f90;
  --line: rgba(214, 179, 112, 0.28);
  --cut: 18px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: radial-gradient(ellipse at 50% 0%, #1d1724, var(--ebony) 60%) fixed;
  color: var(--ink);
  font: 400 17px/1.65 'Josefin Sans', system-ui, sans-serif;
}
img { max-width: 100%; display: block; }
a { color: var(--gold); }
h1, h2, h3 { font-family: 'Cinzel', serif; color: var(--gold-hi); line-height: 1.15; margin: 0; }
h2 { font-size: clamp(26px, 5vw, 36px); font-weight: 900; letter-spacing: 0.05em; }
h3 { font-size: 19px; font-weight: 700; letter-spacing: 0.03em; }
p, li { color: var(--ink-dim); }
strong { color: var(--ink); font-weight: 600; }
.wrap { width: 100%; max-width: 1080px; margin: 0 auto; padding: 0 20px; }
.eyebrow { margin: 0 0 10px; color: var(--gold); font-weight: 600; font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase; }
.eyebrow a { color: inherit; text-decoration: none; }
.lead { font-size: 19px; color: var(--ink); max-width: 620px; }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }

/* a gold rule with a diamond in the middle */
.rule { position: relative; height: 1px; margin: 18px auto 22px; max-width: 190px; background: rgba(214, 179, 112, 0.6); }
.rule span { position: absolute; left: 50%; top: 50%; width: 9px; height: 9px; background: var(--gold); transform: translate(-50%, -50%) rotate(45deg); }
.rule.left { margin-left: 0; }

/* chamfered cabinet: a thin gold layer with the dark panel inset inside it,
   so the gold line follows the cut corners too */
.panel {
  padding: 1.5px;
  background: rgba(214, 179, 112, 0.7);
  clip-path: polygon(var(--cut) 0, calc(100% - var(--cut)) 0, 100% var(--cut), 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, var(--cut) 100%, 0 calc(100% - var(--cut)), 0 var(--cut));
}
.panel > .inner {
  height: 100%;
  padding: 26px 24px;
  background: linear-gradient(var(--lacquer), var(--lacquer2));
  clip-path: polygon(calc(var(--cut) - 0.6px) 0, calc(100% - var(--cut) + 0.6px) 0, 100% calc(var(--cut) - 0.6px), 100% calc(100% - var(--cut) + 0.6px), calc(100% - var(--cut) + 0.6px) 100%, calc(var(--cut) - 0.6px) 100%, 0 calc(100% - var(--cut) + 0.6px), 0 calc(var(--cut) - 0.6px));
}

/* header */
.top { position: sticky; top: 0; z-index: 10; background: rgba(13, 11, 15, 0.9); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 62px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img { width: 34px; height: 34px; border-radius: 22%; }
.brand span { font-family: 'Cinzel', serif; font-weight: 900; font-size: 18px; letter-spacing: 0.12em; color: var(--gold-hi); }
.top nav { display: flex; gap: 22px; flex-wrap: wrap; justify-content: flex-end; }
.top nav a { color: var(--ink-dim); text-decoration: none; font-weight: 600; font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; }
.top nav a:hover { color: var(--gold-hi); }

/* sections */
section { padding: 76px 0; }
section + section { border-top: 1px solid var(--line); }
.section-head { margin-bottom: 36px; }

/* hero */
.hero { padding: 64px 0 76px; }
.hero .wrap { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; }
.hero h1 { font-size: clamp(46px, 9vw, 82px); font-weight: 900; letter-spacing: 0.1em; line-height: 1.02; }
.hero h1 em { display: block; font-style: normal; letter-spacing: 0.32em; }
.badges { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.badge {
  display: inline-flex; flex-direction: column; justify-content: center;
  min-width: 170px; padding: 10px 18px;
  background: rgba(214, 179, 112, 0.06);
  box-shadow: inset 0 0 0 1.2px rgba(214, 179, 112, 0.7);
  color: var(--ink); text-decoration: none;
  clip-path: polygon(10px 0, calc(100% - 10px) 0, 100% 10px, 100% calc(100% - 10px), calc(100% - 10px) 100%, 10px 100%, 0 calc(100% - 10px), 0 10px);
}
.badge small { color: var(--gold); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; }
.badge b { font-weight: 600; font-size: 17px; }
.note { font-size: 14px; margin-top: 12px; }
.phones { display: flex; gap: 18px; justify-content: center; }
.phones figure { flex: 0 1 240px; min-width: 0; }
.gallery figure { width: 100%; max-width: 240px; }
.phones .phone:nth-child(2) { margin-top: 48px; }

/* a phone-shaped frame around screenshots */
.phone {
  width: 100%; max-width: 240px;
  border-radius: 34px; padding: 7px;
  background: linear-gradient(145deg, #3a3240, #121014);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(214, 179, 112, 0.35);
}
.phone img { border-radius: 28px; width: 100%; height: auto; }
figure { margin: 0; }
figcaption { margin-top: 12px; text-align: center; font-size: 14px; color: var(--ink-dim); }
figcaption b { display: block; font-family: 'Cinzel', serif; color: var(--gold-hi); font-size: 15px; letter-spacing: 0.06em; }

/* grids */
.grid { display: grid; gap: 18px; }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px 22px; justify-items: center; }
.step-num { font-family: 'Cinzel', serif; font-weight: 900; font-size: 34px; color: var(--gold); line-height: 1; margin-bottom: 10px; }
.card h3 { margin-bottom: 8px; }
.card p { margin: 0; }

/* chapters */
.chapters { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.chapter { padding: 14px 12px 12px; text-align: center; color: #fff; clip-path: polygon(8px 0, calc(100% - 8px) 0, 100% 8px, 100% calc(100% - 8px), calc(100% - 8px) 100%, 8px 100%, 0 calc(100% - 8px), 0 8px); }
.chapter b { display: block; font-family: 'Cinzel', serif; font-size: 22px; }
.chapter span { display: block; font-size: 13px; font-weight: 600; letter-spacing: 0.04em; }
.chapter small { display: block; font-size: 12px; opacity: 0.85; }
.chapter.light { color: #2a2018; }

/* when each new mechanic arrives */
.timeline { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 40px; }
.timeline li { display: flex; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.timeline .at { flex: 0 0 74px; font-family: 'Cinzel', serif; font-weight: 700; color: var(--gold); }
.timeline .at small { display: block; font-family: 'Josefin Sans', sans-serif; font-size: 11px; letter-spacing: 0.16em; color: var(--ink-dim); text-transform: uppercase; }
.timeline b { color: var(--ink); font-weight: 600; display: block; }

/* faq */
details { border-bottom: 1px solid var(--line); padding: 16px 0; }
summary { cursor: pointer; list-style: none; font-weight: 600; color: var(--ink); font-size: 18px; display: flex; justify-content: space-between; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: '+'; color: var(--gold); font-size: 22px; line-height: 1; }
details[open] summary::after { content: '\2212'; }
details p { margin: 10px 0 0; }

/* text pages */
.page { padding: 56px 0 80px; }
.page .wrap { max-width: 760px; }
.page h1 { font-size: clamp(30px, 6vw, 42px); font-weight: 900; letter-spacing: 0.05em; }
.page h2 { font-size: 20px; font-weight: 700; margin: 34px 0 6px; letter-spacing: 0.03em; }
.page ol, .page ul { padding-left: 22px; }
.muted { font-size: 14px; }

/* footer */
footer { border-top: 1px solid var(--line); padding: 34px 0 44px; font-size: 14px; }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 18px; align-items: center; }
footer nav { display: flex; flex-wrap: wrap; gap: 20px; }
footer a { text-decoration: none; }
footer p { margin: 0; }

@media (max-width: 860px) {
  .hero .wrap { grid-template-columns: 1fr; text-align: center; }
  .hero .rule.left { margin-left: auto; }
  .hero .lead { margin: 0 auto; }
  .badges { justify-content: center; }
  .g3, .g4 { grid-template-columns: 1fr 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; }
  .chapters { grid-template-columns: repeat(2, 1fr); }
  .timeline { grid-template-columns: 1fr; }
  .top nav { display: none; }
}
@media (max-width: 520px) {
  section { padding: 56px 0; }
  .g3, .g4 { grid-template-columns: 1fr; }
  .gallery { gap: 28px 12px; }
  .eyebrow { font-size: 11px; letter-spacing: 0.14em; }
  footer .wrap { flex-direction: column; align-items: flex-start; }
}
.card .trick { margin: 4px 0 16px; }
.card .trick:last-child { margin-bottom: 0; }
.card h3 + .trick { margin-top: 4px; }
@media (min-width: 861px) { .chapters { grid-template-columns: repeat(5, 1fr); } }

/* the row of languages under the policy pages */
.langs { margin-top: 44px; padding-top: 18px; border-top: 1px solid var(--line); line-height: 2.1; }
