/* WebBox site.
   Layout: a black hero and product band framing light reading sections; a neutral palette (black, white, greys)
   with one accent, WebBox orange, kept to small touches. Follows the visitor's light or dark setting. */
:root {
  --bg: #fafafa;
  --surface: #ffffff;
  --alt: #f4f4f5;
  --ink: #0a0a0a;
  --ink-2: #27272a;
  --muted: #6b6b70;
  --line: #e7e7ea;
  --soft: #f1f1f3;
  --accent: #ff6a3d;
  --accent-press: #f2552a;
  --accent-ink: #ffffff;
  --night: #0a0a0a;
  --night-2: #111113;
  --on-night: #fafafa;
  --on-night-soft: #a3a3a8;
  --line-night: rgba(255, 255, 255, 0.1);
  --f-display: 'Alexandria', 'IBM Plex Sans Arabic', system-ui, sans-serif;
  --f-body: 'IBM Plex Sans Arabic', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --f-mono: 'JetBrains Mono', ui-monospace, Consolas, monospace;
  --wrap: 1200px;
  --r-lg: 24px;
  --r: 18px;
  --shadow: 0 1px 2px rgba(0, 0, 0, 0.04), 0 8px 24px rgba(0, 0, 0, 0.05);
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0a0a0a;
    --surface: #141416;
    --alt: #111113;
    --ink: #fafafa;
    --ink-2: #e4e4e7;
    --muted: #a1a1aa;
    --line: #27272a;
    --soft: #1c1c1f;
    --night-2: #0d0d0f;
    --shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
    color-scheme: dark;
  }
}

/* base */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 16.5px;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: inherit;
}
h1,
h2,
h3 {
  font-family: var(--f-display);
  margin: 0;
  line-height: 1.3;
  text-wrap: balance;
}
p {
  margin: 0;
}
code {
  font-family: var(--f-mono);
}
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 6px;
}
.skip {
  position: absolute;
  inset-inline-start: 16px;
  top: -60px;
  z-index: 100;
  background: var(--surface);
  color: var(--ink);
  padding: 10px 16px;
  border-radius: 10px;
}
.skip:focus {
  top: 12px;
}
.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding-left: max(20px, env(safe-area-inset-left, 0px));
  padding-right: max(20px, env(safe-area-inset-right, 0px));
}
.kicker,
.eyebrow {
  display: block;
  font-family: var(--f-mono);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  direction: ltr;
  text-align: right;
}

/* logo: four squares, one in orange */
.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--f-mono);
  font-weight: 700;
  font-size: 19px;
  text-decoration: none;
  direction: ltr;
}
.cube {
  display: grid;
  grid-template-columns: 9px 9px;
  gap: 2.5px;
}
.cube i {
  width: 9px;
  height: 9px;
  border-radius: 2.5px;
  background: currentColor;
}
.cube i:nth-child(2) {
  background: var(--accent);
}

/* buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 46px;
  padding: 0 22px;
  border-radius: 12px;
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  white-space: nowrap;
  border: 1px solid transparent;
  transition:
    background 0.2s,
    border-color 0.2s,
    transform 0.2s var(--ease);
}
.btn:active {
  transform: translateY(1px);
}
.btn-lg {
  height: 54px;
  padding: 0 28px;
  font-size: 16px;
  border-radius: 14px;
}
.btn-accent {
  background: var(--accent);
  color: var(--accent-ink);
}
.btn-accent:hover {
  background: var(--accent-press);
}
.btn-ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.22);
}
.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.07);
}
.btn-light {
  background: #fff;
  color: #0a0a0a;
}
.btn-light:hover {
  background: #e7e7ea;
}
.btn i {
  font-style: normal;
}

/* header */
.hdr {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  padding-top: env(safe-area-inset-top, 0px);
  color: #fff;
  border-bottom: 1px solid transparent;
  transition:
    background 0.3s,
    border-color 0.3s;
}
.hdr.solid {
  background: rgba(10, 10, 10, 0.86);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom-color: var(--line-night);
}
.hdr-in {
  max-width: var(--wrap);
  margin: 0 auto;
  height: 70px;
  display: flex;
  align-items: center;
  gap: 28px;
  padding-left: max(20px, env(safe-area-inset-left, 0px));
  padding-right: max(20px, env(safe-area-inset-right, 0px));
}
.hdr-nav {
  display: flex;
  align-items: center;
  gap: 26px;
  margin-inline-start: auto;
}
.hdr-nav a {
  color: var(--on-night-soft);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  transition: color 0.2s;
}
.hdr-nav a:hover {
  color: #fff;
}
.hdr-nav .nav-cta {
  color: #fff;
  height: 40px;
  padding: 0 18px;
  font-size: 14.5px;
}
.hdr-cta,
.burger {
  display: none;
}
@media (max-width: 960px) {
  .hdr-in {
    height: 62px;
    gap: 12px;
  }
  .hdr-cta {
    display: inline-flex;
    height: 40px;
    padding: 0 16px;
    font-size: 14px;
    margin-inline-start: auto;
  }
  .burger {
    display: grid;
    place-content: center;
    gap: 6px;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    border: 1px solid var(--line-night);
    background: rgba(255, 255, 255, 0.05);
    cursor: pointer;
  }
  .burger span {
    display: block;
    width: 18px;
    height: 2px;
    border-radius: 2px;
    background: #fff;
    transition: transform 0.25s var(--ease);
  }
  .burger[aria-expanded='true'] span:first-child {
    transform: translateY(4px) rotate(45deg);
  }
  .burger[aria-expanded='true'] span:last-child {
    transform: translateY(-4px) rotate(-45deg);
  }
  .hdr-nav {
    position: fixed;
    inset: calc(62px + env(safe-area-inset-top, 0px)) 0 auto;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin: 0;
    padding: 8px max(20px, env(safe-area-inset-right, 0px)) 20px max(20px, env(safe-area-inset-left, 0px));
    background: rgba(10, 10, 10, 0.97);
    border-bottom: 1px solid var(--line-night);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition:
      opacity 0.25s,
      transform 0.25s var(--ease),
      visibility 0.25s;
  }
  .hdr-nav.open {
    opacity: 1;
    visibility: visible;
    transform: none;
  }
  .hdr-nav a {
    padding: 14px 4px;
    font-size: 17px;
    color: var(--on-night);
    border-bottom: 1px solid var(--line-night);
  }
  .hdr-nav .nav-cta {
    margin-top: 16px;
    height: 50px;
    border: 0;
  }
}

/* hero */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--night);
  color: #fff;
  padding-top: calc(env(safe-area-inset-top, 0px) + 150px);
  padding-bottom: 110px;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(40% 50% at 50% 0%, rgba(255, 106, 61, 0.16), transparent 70%),
    radial-gradient(50% 60% at 50% 120%, rgba(255, 255, 255, 0.06), transparent 70%);
}
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(60% 60% at 50% 35%, #000 25%, transparent 75%);
  mask-image: radial-gradient(60% 60% at 50% 35%, #000 25%, transparent 75%);
}
.hero-in {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.hero .kicker {
  text-align: center;
}
.hero h1 {
  margin-top: 22px;
  font-size: clamp(38px, 6.6vw, 80px);
  font-weight: 800;
  line-height: 1.15;
  max-width: 14ch;
  letter-spacing: -0.015em;
}
.hero h1 em {
  font-style: normal;
  color: var(--accent);
}
.hero-sub {
  margin-top: 24px;
  max-width: 60ch;
  font-size: clamp(16.5px, 1.6vw, 19px);
  color: var(--on-night-soft);
}
.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 36px;
}
.hero-tags {
  list-style: none;
  margin: 56px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}
.hero-tags li {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid var(--line-night);
  background: rgba(255, 255, 255, 0.03);
  font-size: 14.5px;
  color: var(--on-night);
}
.hero-tags code {
  font-size: 12.5px;
  color: var(--on-night-soft);
  direction: ltr;
}
@media (max-width: 760px) {
  .hero {
    padding-top: calc(env(safe-area-inset-top, 0px) + 120px);
    padding-bottom: 80px;
  }
}

/* principles strip */
.facts {
  background: var(--night-2);
  color: var(--on-night);
  border-block: 1px solid var(--line-night);
  padding-block: 40px;
}
.facts-in {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.facts-in div {
  display: grid;
  gap: 4px;
  padding-inline-start: 20px;
  border-inline-start: 1px solid var(--line-night);
}
.facts-in div:first-child {
  padding-inline-start: 0;
  border-inline-start: 0;
}
.facts b {
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 17px;
}
.facts span {
  font-size: 14.5px;
  color: var(--on-night-soft);
  line-height: 1.6;
}
@media (max-width: 760px) {
  .facts-in {
    grid-template-columns: 1fr 1fr;
    gap: 26px 18px;
  }
  .facts-in div:nth-child(3) {
    padding-inline-start: 0;
    border-inline-start: 0;
  }
}

/* sections */
.sec {
  padding-block: 104px;
}
.sec-tight {
  padding-top: 0;
}
.alt {
  background: var(--alt);
  border-block: 1px solid var(--line);
}
.dark {
  background: var(--night);
  color: var(--on-night);
}
.sec-head {
  display: grid;
  gap: 12px;
  max-width: 720px;
  margin-bottom: 52px;
}
.sec-head h2,
.si-copy h2,
.cta-copy h2 {
  font-size: clamp(30px, 4vw, 46px);
  font-weight: 700;
}
.sec-head p {
  color: var(--muted);
  font-size: 18px;
}
.sec-head a {
  color: var(--accent);
  font-weight: 600;
}
.note {
  margin-top: 18px;
  font-size: 13.5px;
  color: var(--muted);
}
@media (max-width: 760px) {
  .sec {
    padding-block: 76px;
  }
  .sec-tight {
    padding-top: 0;
  }
  .sec-head {
    margin-bottom: 36px;
  }
}

/* services stage sits in .sec: the showcase stylesheet styles its inside */
#services .stage {
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.18);
}
#services .stage .eyebrow {
  text-align: right;
}
@media (max-width: 900px) {
  #services .stage {
    grid-template-columns: 1fr;
  }
}

/* concept demos */
.demos {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.demo-card {
  --dc: #0a0a0a;
  --dc-ink: #fff;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 14px 14px 18px;
  border-radius: var(--r);
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  font: inherit;
  text-align: start;
  cursor: pointer;
  box-shadow: var(--shadow);
  transition:
    transform 0.3s var(--ease),
    box-shadow 0.3s,
    border-color 0.3s;
}
.demo-card:hover {
  transform: translateY(-4px);
  box-shadow:
    0 2px 4px rgba(0, 0, 0, 0.05),
    0 22px 44px rgba(0, 0, 0, 0.1);
}
.dc-art {
  height: 130px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--dc);
  color: var(--dc-ink);
  overflow: hidden;
}
.dc-art b {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: 34px;
  letter-spacing: 0.04em;
}
.dc-txt {
  display: grid;
  gap: 2px;
  padding-inline: 4px;
}
.dc-txt small {
  font-size: 13px;
  color: var(--muted);
}
.dc-txt b {
  font-family: var(--f-display);
  font-size: 18px;
  font-weight: 700;
}
.dc-txt span {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.65;
}
.dc-go {
  margin-top: auto;
  padding-inline: 4px;
  font-family: var(--f-display);
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
}
.dc-go i {
  font-style: normal;
}
@media (max-width: 960px) {
  .demos {
    grid-template-columns: 1fr 1fr;
  }
}
/* each concept keeps a hint of its own look */
.dc-zainab {
  --dc: linear-gradient(150deg, #1c2a1f, #0e1410);
  --dc-ink: #e9dcc4;
}
.dc-ufuq {
  --dc: linear-gradient(150deg, #1a1816, #0b0a09);
  --dc-ink: #f2ede6;
}
.dc-beauty {
  --dc: linear-gradient(150deg, #f6eee6, #ead9cb);
  --dc-ink: #6b3e3a;
}
.dc-fikr {
  --dc: linear-gradient(150deg, #f5efe6, #e5d6c2);
  --dc-ink: #3a2a1c;
}

/* product: SI */
.si-in {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 56px;
  align-items: center;
}
.si-copy {
  display: grid;
  gap: 18px;
  justify-items: start;
}
.si-logo {
  height: 34px;
  width: auto;
}
.si-copy p {
  color: var(--on-night-soft);
  font-size: 17.5px;
}
.ticks {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}
.ticks li {
  position: relative;
  padding-inline-start: 30px;
}
.ticks li::before {
  content: '';
  position: absolute;
  inset-inline-start: 0;
  top: 6px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(255, 106, 61, 0.16)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%23ff6a3d' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")
    center / 11px no-repeat;
}
.si-copy .btn {
  margin-top: 8px;
}
.si-shot {
  position: relative;
  padding-bottom: 40px;
}
.browser {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--line-night);
  background: #161618;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55);
}
.browser-bar {
  display: flex;
  gap: 7px;
  align-items: center;
  height: 34px;
  padding: 0 14px;
  background: #1c1c1f;
  direction: ltr;
}
.browser-bar i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
}
.browser img {
  aspect-ratio: 1440 / 900;
  width: 100%;
  object-fit: cover;
  object-position: top;
}
.phone {
  position: absolute;
  inset-inline-start: -6%;
  bottom: 0;
  width: 27%;
  border-radius: 28px;
  padding: 6px;
  background: linear-gradient(150deg, #2a2a2e, #0c0c0e);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6);
}
.phone img {
  border-radius: 23px;
  aspect-ratio: 390 / 844;
  width: 100%;
  object-fit: cover;
  object-position: top;
}
@media (max-width: 900px) {
  .si-in {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .phone {
    inset-inline-start: -2%;
    width: 30%;
    border-radius: 20px;
    padding: 4px;
  }
  .phone img {
    border-radius: 17px;
  }
}

/* process */
.process {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
  counter-reset: step;
}
.process li {
  counter-increment: step;
  position: relative;
  padding: 24px 22px;
  border-radius: var(--r);
  background: var(--surface);
  border: 1px solid var(--line);
  display: grid;
  gap: 8px;
  align-content: start;
}
.process li::before {
  content: counter(step, decimal-leading-zero);
  font-family: var(--f-mono);
  font-size: 13px;
  font-weight: 700;
  color: var(--accent);
}
.process h3 {
  font-size: 18px;
  font-weight: 600;
}
.process p {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.7;
}
@media (max-width: 1020px) {
  .process {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 560px) {
  .process {
    grid-template-columns: 1fr;
  }
}

/* quality */
.qa {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--surface);
  overflow: hidden;
}
.qa > div {
  padding: 26px 24px;
  display: grid;
  gap: 8px;
  align-content: start;
  border-inline-start: 1px solid var(--line);
  border-top: 1px solid var(--line);
}
.qa > div:nth-child(4n + 1) {
  border-inline-start: 0;
}
.qa > div:nth-child(-n + 4) {
  border-top: 0;
}
.qa h3 {
  font-size: 16.5px;
  font-weight: 600;
}
.qa p {
  font-size: 14.5px;
  color: var(--muted);
  line-height: 1.7;
}
@media (max-width: 960px) {
  .qa {
    grid-template-columns: 1fr 1fr;
  }
  .qa > div {
    border-inline-start: 1px solid var(--line);
    border-top: 1px solid var(--line);
  }
  .qa > div:nth-child(2n + 1) {
    border-inline-start: 0;
  }
  .qa > div:nth-child(-n + 2) {
    border-top: 0;
  }
}
@media (max-width: 560px) {
  .qa {
    grid-template-columns: 1fr;
  }
  .qa > div {
    border-inline-start: 0;
  }
  .qa > div:nth-child(2) {
    border-top: 1px solid var(--line);
  }
}

/* why */
.why {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.why div {
  display: grid;
  gap: 8px;
  align-content: start;
  padding-top: 20px;
  border-top: 2px solid var(--ink);
}
.why b {
  font-family: var(--f-mono);
  font-size: 13px;
  color: var(--accent);
}
.why h3 {
  font-size: 18.5px;
  font-weight: 600;
}
.why p {
  color: var(--muted);
  font-size: 15.5px;
}
@media (max-width: 960px) {
  .why {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 560px) {
  .why {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

/* faq */
.faq-in {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 56px;
  align-items: start;
}
.faq-in .sec-head {
  position: sticky;
  top: 100px;
  margin: 0;
}
.faq {
  display: grid;
  gap: 10px;
}
.faq details {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 0 22px;
}
.faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 19px 0;
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 16.5px;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: '+';
  flex: none;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--soft);
  font-family: var(--f-mono);
  font-size: 17px;
  transition: transform 0.25s var(--ease);
}
.faq details[open] summary::after {
  transform: rotate(45deg);
}
.faq details p {
  padding-bottom: 20px;
  color: var(--muted);
}
@media (max-width: 900px) {
  .faq-in {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .faq-in .sec-head {
    position: static;
  }
}

/* contact */
.cta {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 40px;
  align-items: center;
  padding: clamp(32px, 6vw, 64px);
  border-radius: 28px;
  background: var(--night);
  color: #fff;
}
.cta::before {
  content: '';
  position: absolute;
  inset: -40% auto auto -10%;
  width: 60%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 106, 61, 0.22), transparent 65%);
  z-index: -1;
}
.cta-copy {
  display: grid;
  gap: 14px;
}
.cta-copy p {
  color: var(--on-night-soft);
  font-size: 18px;
}
.reach {
  display: grid;
  gap: 12px;
}
.wa {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  border-radius: 16px;
  border: 1px solid var(--line-night);
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
  text-decoration: none;
  transition:
    background 0.2s,
    border-color 0.2s;
}
.wa:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
}
.wa svg {
  flex: none;
  width: 42px;
  height: 42px;
  padding: 9px;
  border-radius: 50%;
  background: #25d366;
  fill: #fff;
}
.wa b {
  display: block;
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 16px;
}
.wa small {
  display: block;
  font-size: 13px;
  color: var(--on-night-soft);
}
.mail {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding-inline: 4px;
  font-size: 14px;
  color: var(--on-night-soft);
}
.mail svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
@media (max-width: 820px) {
  .cta {
    grid-template-columns: 1fr;
  }
}

/* footer */
.ftr {
  background: var(--night);
  color: var(--on-night-soft);
  padding-block: 64px 28px;
  padding-bottom: calc(28px + env(safe-area-inset-bottom, 0px));
  font-size: 15px;
}
.ftr .logo {
  color: #fff;
}
.ftr-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--line-night);
}
.ftr-brand {
  display: grid;
  gap: 16px;
  align-content: start;
  justify-items: start;
}
.ftr-brand p {
  max-width: 34ch;
}
.ftr nav {
  display: grid;
  gap: 10px;
  align-content: start;
}
.ftr h3 {
  font-size: 14px;
  color: #fff;
  font-weight: 600;
  margin-bottom: 4px;
}
.ftr nav a {
  text-decoration: none;
  transition: color 0.2s;
}
.ftr nav a:hover {
  color: #fff;
}
.ftr-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding-top: 24px;
  font-size: 14px;
}
.mono {
  font-family: var(--f-mono);
  font-size: 12.5px;
  direction: ltr;
}
@media (max-width: 760px) {
  .ftr-grid {
    grid-template-columns: 1fr 1fr;
  }
  .ftr-brand {
    grid-column: 1 / -1;
  }
}

/* privacy page */
.page-hero {
  background: var(--night);
  color: #fff;
  text-align: center;
  padding-top: calc(env(safe-area-inset-top, 0px) + 136px);
  padding-bottom: 72px;
}
.page-hero h1 {
  font-size: clamp(32px, 4.6vw, 52px);
  font-weight: 700;
}
.page-hero p {
  color: var(--on-night-soft);
  margin: 12px auto 0;
  max-width: 56ch;
}
.page-hero .updated {
  font-size: 14px;
  margin-top: 16px;
}
.doc {
  max-width: 760px;
  margin: -36px auto 104px;
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 44px clamp(22px, 5vw, 56px) 40px;
  box-shadow: var(--shadow);
}
.summary {
  background: var(--soft);
  border-radius: var(--r);
  padding: 24px 26px;
  margin-bottom: 36px;
}
.summary h2 {
  font-size: 19px;
  margin-bottom: 10px;
}
.summary ul {
  margin: 0;
  padding-inline-start: 20px;
  display: grid;
  gap: 6px;
}
.doc section + section {
  margin-top: 28px;
}
.doc section h2 {
  font-size: 19px;
  margin-bottom: 6px;
}
.doc section p {
  color: var(--ink-2);
}
.doc a {
  color: var(--accent);
}

/* e-mail link */
.mail {
  text-decoration: none;
  transition: color 0.2s;
}
.mail:hover {
  color: var(--accent);
}

/* motion */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
