/* Cretivkit — one stylesheet for LTR and RTL. */

@font-face {
  font-family: "Plus Jakarta Sans";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("../fonts/plus-jakarta-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Plus Jakarta Sans";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("../fonts/plus-jakarta-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "IBM Plex Sans Arabic";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/plex-arabic-400.woff2") format("woff2");
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FEFC;
}

@font-face {
  font-family: "IBM Plex Sans Arabic";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/plex-latin-400.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "IBM Plex Sans Arabic";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/plex-arabic-500.woff2") format("woff2");
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FEFC;
}

@font-face {
  font-family: "IBM Plex Sans Arabic";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/plex-latin-500.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "IBM Plex Sans Arabic";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/plex-arabic-600.woff2") format("woff2");
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FEFC;
}

@font-face {
  font-family: "IBM Plex Sans Arabic";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/plex-latin-600.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "IBM Plex Sans Arabic";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/plex-arabic-700.woff2") format("woff2");
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FEFC;
}

@font-face {
  font-family: "IBM Plex Sans Arabic";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/plex-latin-700.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --violet: #6d4aff;
  --violet-deep: #5436ea;
  --navy: #17152d;
  --ink: #221f3a;
  --mint: #20d5c2;
  --mint-deep: #0e8f84;
  --lavender: #f0edff;
  --white: #ffffff;
  --gray: #f5f6fa;
  --slate: #5c5b6e;
  --line: rgba(23, 21, 45, 0.1);
  --shadow: 0 24px 60px rgba(23, 21, 45, 0.1);
  --radius: 24px;
  --header: 76px;
  --font: "Plus Jakarta Sans", "Segoe UI", sans-serif;
  color-scheme: light;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--gray);
  letter-spacing: -0.011em;
  overflow-x: clip;
}

main { flex: 1 0 auto; width: 100%; }

html[lang="ar"] {
  --font: "IBM Plex Sans Arabic", "Segoe UI", Tahoma, sans-serif;
}

html[lang="ar"] body,
html[lang="ar"] h1,
html[lang="ar"] h2,
html[lang="ar"] h3 { letter-spacing: 0; }

img, svg { display: block; max-width: 100%; }

button, input, select, textarea { font: inherit; color: inherit; }

button, a, summary, label, [role="button"] { -webkit-tap-highlight-color: transparent; }

h1, h2, h3, p { margin: 0; }

h1, h2, h3 {
  font-weight: 750;
  letter-spacing: -0.035em;
  line-height: 1.15;
  color: var(--navy);
}

html[lang="ar"] h1,
html[lang="ar"] h2,
html[lang="ar"] h3 { font-weight: 700; line-height: 1.35; }

a { color: var(--violet-deep); text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
a:hover { color: var(--navy); }

:focus { outline: none; }
:focus-visible {
  outline: 3px solid var(--mint);
  outline-offset: 3px;
}

::selection { background: #d9d0ff; color: var(--navy); }

.skip {
  position: absolute;
  inset-inline-start: 16px;
  top: -48px;
  z-index: 80;
  background: var(--navy);
  color: var(--white);
  padding: 10px 14px;
  border-radius: 999px;
}

.skip:focus { top: 12px; }

.container { width: min(1120px, calc(100% - 32px)); margin-inline: auto; }
.narrow { width: min(760px, 100%); }

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background:
    linear-gradient(90deg, rgba(109, 74, 255, 0.16), rgba(32, 213, 194, 0.16) 42%, rgba(229, 50, 45, 0.12) 74%, rgba(23, 21, 45, 0.14)),
    rgba(245, 246, 250, 0.94);
  background-size: 100% 3px, auto;
  background-repeat: no-repeat;
  backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
}

.site-header.is-stuck { border-bottom-color: var(--line); }

.header-bar {
  display: grid;
  grid-template-columns: 1fr auto auto;
  grid-template-areas: "logo toggle lang" "nav nav nav";
  align-items: center;
  gap: 10px 12px;
  min-height: var(--header);
  padding-block: 10px;
}

.logo {
  grid-area: logo;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--navy);
  text-decoration: none;
  font-weight: 800;
  letter-spacing: -0.045em;
  font-size: 1.02rem;
}

.logo small {
  display: block;
  font-size: 0.72rem;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--slate);
}

html[lang="ar"] .logo small { letter-spacing: 0; text-transform: none; font-size: 0.78rem; }

.logo-mark { width: 34px; height: 34px; flex: none; }

.nav-check {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}

.nav-toggle {
  grid-area: toggle;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.burger,
.burger::before,
.burger::after {
  display: block;
  width: 16px;
  height: 2px;
  border-radius: 2px;
  background: var(--violet);
  position: relative;
}

.burger::before,
.burger::after {
  content: "";
  position: absolute;
  inset-inline-start: 0;
}

.burger::before { top: -5px; background: var(--mint); }
.burger::after { top: 5px; background: var(--navy); }

.nav-check:focus-visible + .nav-toggle { outline: 3px solid var(--mint); outline-offset: 3px; }

.site-nav { grid-area: nav; display: none; padding-bottom: 8px; }
.nav-check:checked ~ .site-nav { display: grid; gap: 6px; }

.site-nav a,
.mega > summary {
  text-decoration: none;
  color: var(--navy);
  font-weight: 650;
  font-size: 1rem;
  border-radius: 12px;
}

.site-nav > a,
.mega > summary {
  padding: 10px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  list-style: none;
}

.mega > summary::-webkit-details-marker { display: none; }

.site-nav > a[aria-current="page"],
.site-nav > a:hover,
.mega > summary:hover { background: var(--lavender); }

.mega-panel {
  display: grid;
  gap: 4px;
  padding: 4px;
}

.nav-tools { display: none; }
.nav-tools a {
  display: grid;
  gap: 2px;
  padding: 10px 12px;
  border-radius: 14px;
  text-decoration: none;
}
.nav-find { display: none; }

@media (max-width: 1039px) {
  .mega, .nav-drop { display: none; }
  .nav-check:checked ~ .site-nav {
    max-height: calc(100dvh - 88px);
    overflow: auto;
    overscroll-behavior: contain;
    padding: 6px 2px 16px;
    gap: 10px;
  }
  .nav-check:checked ~ .site-nav .nav-tools {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }
  .nav-find,
  .nav-group[open],
  .nav-tools .mega-all { grid-column: 1 / -1; }
  .nav-find {
    display: block;
    position: sticky;
    top: 0;
    z-index: 2;
    background: var(--gray);
    padding-bottom: 6px;
  }
  .nav-find input {
    width: 100%;
    min-height: 48px;
    font-size: 16px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: var(--white);
    padding: 12px 16px;
  }
  .nav-group {
    background: var(--white);
    border: 1px solid var(--line);
    border-inline-start: 4px solid var(--tone, var(--violet));
    border-radius: 16px;
    overflow: hidden;
  }
  .nav-group > summary {
    position: relative;
    min-height: 52px;
    padding-block: 14px;
    padding-inline-start: 14px;
    padding-inline-end: 42px;
    display: flex;
    align-items: center;
    cursor: pointer;
    list-style: none;
    font-weight: 750;
    font-size: 0.86rem;
    color: var(--navy);
    line-height: 1.25;
  }
  .nav-group > summary::-webkit-details-marker { display: none; }
  .nav-group > summary::after {
    content: "+";
    position: absolute;
    inset-inline-end: 8px;
    top: 50%;
    transform: translateY(-50%);
    width: 26px;
    height: 26px;
    display: grid;
    place-items: center;
    border-radius: 999px;
    background: color-mix(in srgb, var(--tone, var(--violet)) 16%, white);
    color: var(--tone, var(--violet));
    font-weight: 500;
    font-size: 1.15rem;
    line-height: 1;
  }
  .nav-group[open] { box-shadow: 0 10px 24px rgba(23, 21, 45, 0.06); }
  .nav-group[open] > summary { background: color-mix(in srgb, var(--tone, var(--violet)) 12%, white); }
  .nav-group[open] > summary::after { content: "–"; background: var(--white); }
  .nav-group-links { display: grid; padding: 4px 8px 8px; }
  .nav-group-links a {
    align-content: center;
    min-height: 48px;
    padding: 12px 14px;
    border-radius: 12px;
  }
  .nav-tools .mega-title { font-size: 1rem; line-height: 1.35; }
  .nav-tools .mega-note { display: none; }
  .nav-group-links a:hover,
  .nav-group-links a[aria-current="page"],
  .nav-tools a[aria-current="page"] { background: color-mix(in srgb, var(--tone, var(--violet)) 12%, white); }
  .nav-tools .mega-all {
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px 16px;
    border-radius: 14px;
    background: var(--lavender);
  }
  .site-nav > a {
    min-height: 48px;
    padding: 12px 16px;
  }
}

.mega-panel a,
.nav-drop-panel a,
.nav-group-links a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 12px;
  text-decoration: none;
  color: var(--navy);
}

.nav-ico {
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: #efeaff;
  color: #6d4aff;
}

.nav-ico svg { width: 18px; height: 18px; }

[data-tone="enhance"] { --tone: #6d4aff; }
[data-tone="create"] { --tone: #0e9f6e; }
[data-tone="edit"] { --tone: #2f6fed; }
[data-tone="convert"] { --tone: #d97706; }
[data-tone="protect"] { --tone: #e11d48; }
[data-tone="pdf"] { --tone: #e5322d; }
[data-tone="word"] { --tone: #2b579a; }
[data-tone="career"] { --tone: #4f46e5; }
[data-tone="enhance"] .nav-ico,
[data-tone="enhance"] .icon-bubble { background: #efeaff; color: #6d4aff; }
[data-tone="create"] .nav-ico,
[data-tone="create"] .icon-bubble { background: #e5f8f1; color: #0e9f6e; }
[data-tone="edit"] .nav-ico,
[data-tone="edit"] .icon-bubble { background: #e7f0ff; color: #2f6fed; }
[data-tone="convert"] .nav-ico,
[data-tone="convert"] .icon-bubble { background: #fff3e0; color: #d97706; }
[data-tone="protect"] .nav-ico,
[data-tone="protect"] .icon-bubble { background: #fdecef; color: #e11d48; }
[data-tone="pdf"] .nav-ico,
[data-tone="pdf"] .icon-bubble { background: #fde8e6; color: #e5322d; }
[data-tone="word"] .nav-ico,
[data-tone="word"] .icon-bubble { background: #e7eef8; color: #2b579a; }
[data-tone="career"] .nav-ico,
[data-tone="career"] .icon-bubble { background: #ece9ff; color: #4f46e5; }

.mega-panel a:hover,
.mega-panel a[aria-current="page"],
.nav-drop-panel a:hover,
.nav-drop-panel a[aria-current="page"] { background: var(--lavender); }

.mega-title { font-weight: 700; color: var(--navy); }
.mega-note { color: var(--slate); font-size: 0.86rem; font-weight: 500; }
.mega-panel .mega-note { display: none; }
.mega-label {
  margin: 8px 12px 2px;
  color: var(--violet);
  font-size: 0.75rem;
  font-weight: 800;
}
.mega-all { font-weight: 800; color: var(--violet-deep); }

.lang-switch {
  grid-area: lang;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px;
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: 999px;
}

.lang-switch a {
  text-decoration: none;
  color: var(--slate);
  font-weight: 700;
  font-size: 0.86rem;
  padding: 6px 10px;
  border-radius: 999px;
}

.lang-switch a[aria-current="true"] { background: var(--navy); color: var(--white); }

.hero { position: relative; padding: 18px 0 28px; overflow: clip; }

.hero-glow {
  position: absolute;
  width: min(640px, 100%);
  height: 420px;
  left: 50%;
  top: -160px;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(109, 74, 255, 0.18), transparent 68%);
  pointer-events: none;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(109, 74, 255, 0.18) 1.1px, transparent 1.1px);
  background-size: 22px 22px;
  mask-image: linear-gradient(to bottom, #000 10%, transparent 80%);
  pointer-events: none;
}

.hero-copy, .section-head { position: relative; text-align: center; max-width: 760px; margin-inline: auto; }

.eyebrow, .kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--white);
  border: 1px solid var(--line);
  color: var(--slate);
  font-size: 0.84rem;
  font-weight: 700;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 0 4px rgba(32, 213, 194, 0.18);
}

h1 { font-size: clamp(2.2rem, 5vw, 4.3rem); }

.mark { color: var(--violet); }

.lede {
  margin-top: 16px;
  color: var(--slate);
  font-size: 1.12rem;
}

.trust {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.trust li, .pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  border-radius: 999px;
  background: var(--white);
  color: var(--navy);
  font-size: 0.9rem;
  font-weight: 650;
  border: 1px solid var(--line);
}

.pill-mint { background: #e7faf7; border-color: transparent; color: var(--mint-deep); }

.studio {
  position: relative;
  margin-top: 28px;
  background: var(--white);
  border-radius: 28px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(23, 21, 45, 0.06);
  overflow: clip;
}

.studio-top {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: var(--navy);
  color: var(--white);
}

.studio-dots { display: inline-flex; gap: 6px; }
.studio-dots i { width: 9px; height: 9px; border-radius: 50%; display: block; }
.studio-dots i:nth-child(1) { background: #ff7a90; }
.studio-dots i:nth-child(2) { background: #ffd36e; }
.studio-dots i:nth-child(3) { background: var(--mint); }

.studio-name { font-weight: 700; font-size: 0.92rem; }
.studio-top .pill { margin-inline-start: auto; background: rgba(255, 255, 255, 0.08); color: var(--white); border-color: transparent; }

.studio-body { padding: 16px; }

.dropzone {
  position: relative;
  min-height: 280px;
  border-radius: 20px;
  border: 1.5px dashed rgba(109, 74, 255, 0.45);
  background:
    linear-gradient(180deg, rgba(240, 237, 255, 0.9), rgba(255, 255, 255, 0.7));
  display: grid;
  place-items: center;
  text-align: center;
  padding: 28px 18px;
  cursor: pointer;
}

input[type="file"].file-quiet,
.dropzone input[type="file"] {
  position: absolute;
  width: 0;
  height: 0;
  margin: 0;
  padding: 0;
  border: 0;
  opacity: 0;
  overflow: hidden;
  pointer-events: none;
  font-size: 0;
}

.dropzone.is-drag {
  border-style: solid;
  background: var(--lavender);
}

.drop-icon {
  width: 58px;
  height: 58px;
  margin: 0 auto 12px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  background: var(--white);
  color: var(--violet);
  box-shadow: 0 8px 24px rgba(109, 74, 255, 0.12);
}

.dropzone h2, .drop-title { font-size: 1.35rem; }
.drop-help { color: var(--slate); margin: 8px 0 16px; max-width: 420px; }

.work { display: grid; gap: 16px; }
.controls { display: grid; gap: 10px; align-content: start; }
.work[hidden], .dropzone[hidden], [hidden] { display: none !important; }

.compare {
  position: relative;
  height: 280px;
  border-radius: 18px;
  overflow: hidden;
  background-color: #f7f6fb;
  background-image:
    linear-gradient(45deg, #eceaf4 25%, transparent 25%),
    linear-gradient(-45deg, #eceaf4 25%, transparent 25%),
    linear-gradient(45deg, transparent 75%, #eceaf4 75%),
    linear-gradient(-45deg, transparent 75%, #eceaf4 75%);
  background-size: 18px 18px;
  background-position: 0 0, 0 9px, 9px -9px, -9px 0;
  container-type: inline-size;
}

.compare img { width: 100%; height: 100%; object-fit: contain; }

.compare-top {
  position: absolute;
  inset-block: 0;
  inset-inline-start: 0;
  width: 60%;
  overflow: hidden;
  border-inline-end: 2px solid var(--white);
}

.compare-top img {
  width: 100cqi;
  max-width: none;
  height: 100%;
  position: absolute;
  inset-inline-start: 0;
  top: 0;
}

.compare-label {
  position: absolute;
  inset-inline: 16px;
  bottom: 12px;
  margin: 0;
}

.compare-label input { width: 100%; accent-color: var(--violet); }

.stat-row, .preset-row, .actions, .split { display: grid; gap: 10px; }
.stat-row { grid-template-columns: repeat(3, 1fr); }

.stat, .choice, .field {
  background: var(--gray);
  border-radius: 16px;
  padding: 10px 12px;
}

.stat span, .field > span, .choice > span {
  display: block;
  color: var(--slate);
  font-size: 0.78rem;
  font-weight: 700;
}

.stat strong {
  display: block;
  margin-top: 2px;
  font-size: 1rem;
  font-variant-numeric: tabular-nums;
  color: var(--navy);
}

.stat-mint { background: #e7faf7; }
.dims { color: var(--slate); font-size: 0.92rem; min-height: 1.4em; }

.field input[type="range"] { width: 100%; margin-top: 8px; accent-color: var(--violet); }
.field input[type="color"] {
  width: 72px;
  height: 42px;
  margin-top: 6px;
  padding: 4px;
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: 12px;
}
.check-line { display: flex; align-items: center; gap: 8px; font-weight: 650; }
.preview-frame {
  display: grid;
  place-items: center;
  min-height: 220px;
  border-radius: 16px;
  overflow: hidden;
  background: repeating-conic-gradient(#e7e8f2 0% 25%, #fff 0% 50%) 50% / 18px 18px;
}
.studio[data-doc] .preview-frame { width: 100%; min-width: 0; align-self: start; }
.studio[data-doc] .preview-stage { display: block; width: 100%; }
.studio[data-doc] .preview-stage img { width: auto; max-width: 100%; margin-inline: auto; background: #fff; }
.preview-stage { position: relative; display: inline-block; max-width: 100%; }
.preview-stage img { display: block; max-width: 100%; max-height: 460px; height: auto; }
.preview-stage.is-draw { cursor: crosshair; touch-action: none; }
.rubber {
  position: absolute;
  border: 2px solid var(--violet);
  background: rgba(109, 74, 255, 0.22);
  pointer-events: none;
}
.page-order {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
  width: 100%;
  min-width: 0;
  max-height: 520px;
  overflow: auto;
  align-self: start;
}
.page-order li {
  display: grid;
  grid-template-columns: 64px 1fr;
  grid-template-areas: "thumb label" "thumb actions";
  gap: 4px 10px;
  align-items: center;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 8px;
}
.page-order img {
  grid-area: thumb;
  width: 64px;
  height: 84px;
  object-fit: contain;
  background: var(--gray);
  border-radius: 8px;
}
.page-order span { grid-area: label; font-weight: 750; color: var(--navy); }
.page-order .order-actions { grid-area: actions; display: flex; gap: 6px; }
.page-order button {
  min-height: 40px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--navy);
  font-weight: 750;
  cursor: pointer;
}
.page-order button:disabled { opacity: 0.4; cursor: not-allowed; }
.doc-preview {
  max-height: 420px;
  overflow: auto;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 16px;
  width: 100%;
  min-width: 0;
  align-self: start;
}
.doc-sheet, .doc-preview { color: var(--navy); line-height: 1.55; }
.paper { display: grid; gap: 14px; }
.paper header { display: grid; gap: 4px; border-bottom: 2px solid var(--navy); padding-bottom: 10px; }
.paper h2 { font-size: 1.6rem; }
.paper h3 { font-size: 0.92rem; letter-spacing: 0.04em; text-transform: uppercase; color: var(--violet-deep); margin-top: 4px; }
html[lang="ar"] .paper h3 { letter-spacing: 0; text-transform: none; }
.paper p, .paper li { color: var(--navy); }
.paper ul { margin: 4px 0 0; padding-inline-start: 1.1rem; display: grid; gap: 4px; }
.paper .paper-meta { color: var(--slate); font-size: 0.92rem; }
.doc-preview:has(.cv-fit) { max-height: none; min-width: 0; padding: 0; overflow: hidden; background: #e7e8ee; }
.cv-fit { position: relative; width: 100%; overflow: hidden; }
.cv-sheet { position: absolute; top: 0; inset-inline-start: 0; width: 794px; background: #fff; color: #17152d; }
.paper-sheet .cv-sheet { position: static; }
.cv-rail { width: 794px; border-collapse: collapse; background: #fff; }
.cv-rail td { vertical-align: top; }
.paper-sheet .cv-rail { height: 1123px; }
.cv-rail-side { width: 248px; background: #17152d; color: #f7f7fb; padding: 40px 22px; }
.cv-rail-side h2 { color: #fff; font-size: 1.7rem; line-height: 1.15; }
.cv-rail-side .cv-role { color: #d9d4ff; margin-top: 8px; }
.cv-rail-side h3 { margin: 22px 0 8px; color: #c4b5fd; font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; }
html[lang="ar"] .cv-rail-side h3,
html[lang="ar"] .cv-block h3,
html[lang="ar"] .cv-band-body h3 { letter-spacing: 0; text-transform: none; font-size: 1rem; }
.cv-rail-side ul, .cv-block ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 6px; }
.cv-rail-side li { color: #f7f7fb; line-height: 1.4; }
.cv-pills { display: block; }
.cv-pills li { display: inline-block; margin: 0 6px 6px 0; padding: 4px 10px; border-radius: 999px; background: rgba(255, 255, 255, 0.14); }
html[dir="rtl"] .cv-pills li { margin: 0 0 6px 6px; }
.cv-rail-main { padding: 36px 32px; }
.cv-block + .cv-block { margin-top: 18px; }
.cv-block h3, .cv-band-body h3 {
  margin: 0 0 8px;
  padding-bottom: 4px;
  border-bottom: 2px solid #17152d;
  color: #5b4bdb;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.cv-block p, .cv-block li, .cv-band-body p, .cv-band-body li { color: #17152d; }
.cv-block li { position: relative; padding-inline-start: 12px; }
.cv-block li::before { content: ""; position: absolute; inset-inline-start: 0; top: 0.55em; width: 5px; height: 5px; border-radius: 50%; background: #5b4bdb; }
.cv-band { min-height: 640px; background: #fff; }
.paper-sheet .cv-band { min-height: 1123px; }
.cv-band-head { background: #17152d; color: #f7f7fb; padding: 36px 40px 28px; }
.cv-band-head h2 { color: #fff; font-size: 2rem; line-height: 1.1; }
.cv-band-head .cv-role { color: #d9d4ff; margin-top: 6px; }
.cv-band-head .cv-meta { color: #eceaf8; margin-top: 10px; }
.cv-band-body { padding: 28px 40px 36px; }
.cv-split { width: 100%; border-collapse: collapse; }
.cv-split td { width: 50%; vertical-align: top; }
.cv-split td:first-child { padding-inline-end: 16px; }
.cv-split td:last-child { padding-inline-start: 16px; }
.doc-sheet img, .doc-preview img, .doc-preview canvas { max-width: 100%; height: auto; }
.suite-block { margin-top: 26px; }
.suite-block h2, .suite-block h3 { margin-bottom: 12px; }
.section-head + .suite-block, .guide-grid + .section-head { margin-top: 36px; }
.mini-grid { display: grid; gap: 12px; }

.field input[type="number"],
.field input[type="text"],
.field input[type="email"],
.field input[type="url"],
.field select,
.field textarea,
.choice select {
  width: 100%;
  margin-top: 6px;
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: 12px;
  padding: 11px 12px;
  font-size: 16px;
  min-height: 44px;
}

.field textarea { min-height: 140px; resize: vertical; }

.preset-row { grid-template-columns: repeat(3, 1fr); }

.preset-row button, .btn, .lock-btn {
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--navy);
  border-radius: 999px;
  padding: 11px 14px;
  min-height: 44px;
  font-weight: 750;
  cursor: pointer;
}

.preset-row button[aria-pressed="true"] {
  background: var(--lavender);
  border-color: rgba(109, 74, 255, 0.45);
  color: var(--violet-deep);
}

.btn-primary {
  background: var(--violet);
  border-color: transparent;
  color: var(--white);
}

.btn-primary:hover { background: var(--violet-deep); }
.btn-ghost { background: transparent; }
.btn:disabled, .preset-row button:disabled { opacity: 0.55; cursor: not-allowed; }

.actions { grid-template-columns: 1fr; }
.status {
  margin: 0;
  padding: 12px 14px;
  border-radius: 14px;
  background: var(--lavender);
  color: var(--navy);
  min-height: 48px;
}

.status:empty { display: none; }
.status.is-good { background: #e7faf7; color: #0c5c56; }
.status.is-warn { background: #fff4df; color: #6d4d10; }
.status.is-bad { background: #ffe8ee; color: #8b2342; }

.batch { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.batch li {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  align-items: center;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 14px;
}
.batch button.linkish {
  border: 0;
  background: transparent;
  color: var(--violet-deep);
  font-weight: 750;
  cursor: pointer;
  padding: 0;
  text-align: start;
}
.batch .mini { color: var(--slate); font-size: 0.84rem; }

.more-link { margin: 14px 2px 2px; font-weight: 700; }

.section { padding: 72px 0; }
.section-head { margin-bottom: 28px; }
.section-head h2, .page-intro h1 { font-size: clamp(1.8rem, 3vw, 2.7rem); }
.section-head p, .page-intro p { margin-top: 10px; color: var(--slate); }

.tool-grid, .steps, .guide-grid, .card-grid { display: grid; gap: 14px; }

.tool-card, .guide-card, .step, .info-card {
  background: var(--white);
  border: 1px solid rgba(23, 21, 45, 0.06);
  border-radius: 22px;
  padding: 20px;
  box-shadow: 0 10px 30px rgba(23, 21, 45, 0.04);
}

.tool-card, .guide-card { display: grid; align-content: start; gap: 8px; color: inherit; text-decoration: none; min-height: 100%; }
.tool-card:hover, .guide-card:hover { border-color: rgba(109, 74, 255, 0.4); transform: translateY(-3px); }
.tool-card p, .guide-card p, .step p, .info-card p { color: var(--slate); }

.icon-bubble {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: var(--lavender);
  color: var(--violet);
  margin-bottom: 6px;
}

.card-kicker { color: var(--mint-deep); font-size: 0.78rem; font-weight: 800; letter-spacing: 0.04em; text-transform: uppercase; }
html[lang="ar"] .card-kicker { letter-spacing: 0; text-transform: none; }

.step-num { font-size: 0.84rem; font-weight: 800; color: var(--violet); }

.faq details { border-bottom: 1px solid var(--line); padding: 14px 0; }
.faq summary { cursor: pointer; font-weight: 750; color: var(--navy); list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--violet); font-weight: 500; }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--slate); margin-top: 8px; max-width: 70ch; }

.page-intro { padding: 28px 0 8px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 0 0 14px; list-style: none; color: var(--slate); font-size: 0.9rem; }
.crumbs a { color: var(--slate); text-decoration: none; font-weight: 650; }
.crumbs li:not(:last-child)::after { content: "/"; margin-inline-start: 6px; }

.prose { display: grid; gap: 12px; }
.prose h2 { font-size: 1.45rem; margin-top: 12px; }
.prose h3 { font-size: 1.15rem; }
.prose p, .prose li { color: var(--slate); }
.prose ul, .prose ol { margin: 0; padding-inline-start: 1.2rem; display: grid; gap: 6px; }
.prose strong { color: var(--navy); }

.callout, .related {
  background: var(--white);
  border-radius: 18px;
  padding: 16px 18px;
  border: 1px solid var(--line);
}

.related { display: flex; flex-wrap: wrap; gap: 10px 16px; }
.related a { font-weight: 750; }

.legal, .article { padding-bottom: 8px; }
.article { width: auto; margin-inline: 0; }
.meta-line { color: var(--slate); font-size: 0.92rem; margin: 8px 0 18px; }

.site-footer {
  margin-top: auto;
  background: var(--navy);
  color: rgba(255, 255, 255, 0.78);
  padding: 48px 0 24px;
}
.footer-grid { display: grid; gap: 22px; }
.site-footer a { color: var(--white); text-decoration: none; }
.site-footer a:hover { color: var(--mint); }
.site-footer h2 { color: var(--white); font-size: 0.95rem; margin-bottom: 10px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.footer-brand p { max-width: 32ch; }
.footer-base {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  justify-content: space-between;
  margin-top: 28px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.88rem;
}

.cookie {
  position: fixed;
  inset-inline: 16px;
  bottom: 16px;
  z-index: 50;
  width: min(560px, calc(100% - 32px));
  margin-inline: auto;
  background: var(--navy);
  color: var(--white);
  border-radius: 18px;
  padding: 16px;
  box-shadow: var(--shadow);
  display: grid;
  gap: 12px;
}

.cookie p { color: rgba(255, 255, 255, 0.86); font-size: 0.95rem; }
.cookie a { color: var(--mint); }
.cookie .actions { grid-template-columns: 1fr 1fr; }
.cookie .btn-ghost { color: var(--white); border-color: rgba(255, 255, 255, 0.35); background: transparent; }
body:has(.cookie:not([hidden])) { padding-bottom: 150px; }

.download-ad {
  position: fixed;
  inset: 0;
  z-index: 70;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(23, 21, 45, 0.55);
}
.download-ad-card {
  width: min(420px, 100%);
  background: var(--white);
  color: var(--navy);
  border-radius: 20px;
  padding: 18px;
  box-shadow: var(--shadow);
}
.download-ad-card .ad-frame { min-height: 120px; }
.download-ad-card .btn { width: 100%; margin-top: 12px; }

.ad-slot { margin: 28px auto; max-width: 760px; }
.ad-label { font-size: 0.75rem; color: var(--slate); text-align: center; margin-bottom: 6px; }
.ad-frame { min-height: 90px; }

.noscript {
  background: #fff4df;
  color: #6d4d10;
  padding: 12px 16px;
  text-align: center;
}

.social-frame {
  margin-inline: auto;
  max-width: 100%;
  border-radius: 16px;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  touch-action: none;
  position: relative;
}

.social-frame img { width: 100%; height: 100%; object-fit: cover; cursor: grab; }
.social-frame.is-contain img { object-fit: contain; cursor: default; }

.crop-stage {
  position: relative;
  height: 380px;
  border-radius: 18px;
  overflow: hidden;
  background: #221f3a;
  touch-action: none;
}

.crop-stage canvas,
.social-frame canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.crop-box {
  position: absolute;
  border: 2px solid var(--white);
  box-shadow: 0 0 0 9999px rgba(23, 21, 45, 0.55);
  cursor: move;
  touch-action: none;
}

.handle {
  position: absolute;
  width: 22px;
  height: 22px;
  background: var(--white);
  border: 2px solid var(--violet);
  border-radius: 6px;
}

.handle-nw { inset-inline-start: -11px; top: -11px; cursor: nwse-resize; }
.handle-ne { inset-inline-end: -11px; top: -11px; cursor: nesw-resize; }
.handle-sw { inset-inline-start: -11px; bottom: -11px; cursor: nesw-resize; }
.handle-se { inset-inline-end: -11px; bottom: -11px; cursor: nwse-resize; }
.handle-n, .handle-s { inset-inline-start: 50%; margin-inline-start: -11px; cursor: ns-resize; }
.handle-n { top: -11px; }
.handle-s { bottom: -11px; }
.handle-e, .handle-w { top: 50%; margin-top: -11px; cursor: ew-resize; }
.handle-e { inset-inline-end: -11px; }
.handle-w { inset-inline-start: -11px; }

.lock-row { display: flex; align-items: end; }
.lock-btn[aria-pressed="true"] { background: var(--lavender); border-color: transparent; color: var(--violet-deep); }

.form-grid { display: grid; gap: 12px; }

@media (min-width: 720px) {
  .work { grid-template-columns: 1.25fr 0.9fr; align-items: start; }
  .compare, .studio[data-doc] .preview-frame, .studio[data-doc] .doc-preview, .studio[data-doc] .page-order { grid-column: 1; }
  .controls { grid-column: 2; grid-row: 1 / span 2; display: grid; gap: 10px; align-content: start; }
  .batch, .more-link { grid-column: 1 / -1; }
  .actions { grid-template-columns: 1fr 1fr; }
  .split { grid-template-columns: 1fr auto 1fr; align-items: end; }
  .steps, .guide-grid { grid-template-columns: repeat(2, 1fr); }
  .mini-grid { grid-template-columns: repeat(3, 1fr); }
  .mini-grid .tool-card { justify-items: center; text-align: center; padding: 18px 14px 16px; }
  .mini-grid .icon-bubble { width: 58px; height: 58px; border-radius: 18px; margin-bottom: 2px; }
  .mini-grid .icon-bubble svg { width: 28px; height: 28px; }
  .mini-grid .tool-card p {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: 0.86rem;
  }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .tool-grid { grid-template-columns: repeat(2, 1fr); }
  .span-2, .span-3, .span-6 { grid-column: span 2; }
  .form-grid.two { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 1040px) {
  .nav-toggle, .nav-check { display: none; }
  .header-bar {
    grid-template-columns: auto 1fr auto;
    grid-template-areas: "logo nav lang";
    gap: 18px;
  }
  .site-nav,
  .nav-check:checked ~ .site-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    padding: 0;
  }
  .header-bar { position: relative; }
  .nav-drop { display: block; position: relative; }
  .site-nav > a { font-size: 0.78rem; padding: 6px 10px; }
  .nav-drop > summary {
    display: inline-flex;
    align-items: center;
    width: auto;
    border-radius: 999px;
    gap: 8px;
    padding: 6px 10px;
    font-size: 0.78rem;
    white-space: nowrap;
    list-style: none;
  }
  .nav-drop > summary::-webkit-details-marker { display: none; }
  .nav-drop > summary::marker { content: ""; }
  .nav-drop > summary::after {
    content: "▾";
    width: auto;
    height: auto;
    flex: none;
    border: 0;
    transform: none;
    font-size: 0.72rem;
    line-height: 1;
    color: var(--tone, currentColor);
  }
  .nav-drop > summary:hover,
  .nav-drop[open] > summary,
  .nav-drop.is-current > summary { background: color-mix(in srgb, var(--tone, var(--violet)) 14%, white); }
  .nav-drop-panel {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    inset-inline-start: 0;
    min-width: 280px;
    max-height: min(70vh, 520px);
    overflow: auto;
    padding: 8px;
    background: var(--white);
    border: 1px solid color-mix(in srgb, var(--tone, var(--violet)) 28%, var(--line));
    border-inline-start: 3px solid var(--tone, var(--violet));
    border-radius: 18px;
    box-shadow: 0 18px 40px rgba(23, 21, 45, 0.12);
    z-index: 30;
  }
  .nav-drop-panel a:hover,
  .nav-drop-panel a[aria-current="page"] { background: color-mix(in srgb, var(--tone, var(--violet)) 12%, white); }
  .nav-drop-end .nav-drop-panel { inset-inline-start: auto; inset-inline-end: 0; }
  .nav-drop[open] .nav-drop-panel { display: grid; gap: 6px; }
  .nav-drop-panel a { padding: 8px 10px; }
  .nav-drop-panel .mega-title { font-size: 0.86rem; }
  .nav-drop-panel .mega-note { display: none; }
  .nav-tools { display: none !important; }
  .steps, .guide-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
  .tool-grid { grid-template-columns: repeat(3, 1fr); }
  .span-2 { grid-column: span 2; }
  .span-3, .span-6 { grid-column: span 3; }
  .mega > summary { width: auto; border-radius: 999px; }
  .mega-panel {
    display: none;
    position: absolute;
    left: 50%;
    top: calc(100% + 10px);
    transform: translateX(-50%);
    width: min(1120px, calc(100vw - 48px));
    max-height: min(72vh, 680px);
    overflow: auto;
    padding: 14px;
    gap: 10px;
    background: var(--white);
    border-radius: 18px;
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
    grid-template-columns: repeat(4, minmax(0, 1fr));
    z-index: 20;
  }
  .mega-group {
    background: var(--gray);
    border-radius: 14px;
    padding: 8px 8px 10px;
    min-width: 0;
  }
  .mega-panel .mega-label { margin: 4px 8px 6px; }
  .mega-panel a { padding: 8px 10px; }
  .mega-panel .mega-note {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    white-space: normal;
  }
  .mega-all {
    grid-column: 1 / -1;
    justify-content: center;
    min-height: 40px;
  }
  .mega[open] .mega-panel { display: grid; }
  .compare { height: 420px; }
}

@media (min-width: 1240px) {
  .site-header { background-color: transparent; padding-top: 10px; }
  .site-header.is-stuck { border-bottom-color: transparent; }
  .site-header .header-bar { width: min(1240px, calc(100% - 32px)); }
  .site-nav { min-width: 0; }
  .header-bar {
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(109, 74, 255, 0.16);
    border-radius: 22px;
    box-shadow: 0 12px 32px rgba(23, 21, 45, 0.07);
    padding-inline: 12px;
  }
  .site-nav {
    background: linear-gradient(180deg, #f7f5ff, #f3fbf9);
    border-radius: 999px;
    padding: 3px;
  }
}

@media (min-width: 1040px) and (max-width: 1240px) {
  .logo small { display: none; }
  .nav-drop > summary,
  .site-nav > a { font-size: 0.74rem; padding: 6px 8px; }
  .header-bar { gap: 10px; }
}

.busy {
  position: absolute;
  inset: 0;
  z-index: 6;
  display: none;
  place-items: center;
  padding: 24px;
  background: rgba(245, 246, 250, 0.78);
  backdrop-filter: blur(8px);
}

.studio.is-busy .busy { display: block; }

.busy-card {
  position: sticky;
  top: calc(var(--header) + 16px);
  width: min(320px, 100%);
  display: grid;
  justify-items: center;
  gap: 12px;
  margin: 12vh auto 24px;
  padding: 22px 18px;
  border-radius: 20px;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  text-align: center;
}

.busy-card p { margin: 0; color: var(--navy); font-weight: 750; }

.spinner {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 3px solid var(--lavender);
  border-top-color: var(--violet);
  animation: spin 0.7s linear infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }

.page-load {
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: 80;
  height: 3px;
  pointer-events: none;
  background: rgba(109, 74, 255, 0.12);
}

.page-load-bar {
  display: block;
  height: 100%;
  width: 30%;
  background: linear-gradient(90deg, var(--violet), var(--mint));
  animation: load-bar 0.9s ease forwards;
}

.page-load.is-done .page-load-bar { width: 100%; animation: none; }
.page-load.is-done { opacity: 0; transition: opacity 0.35s ease; }

@keyframes load-bar {
  from { width: 8%; }
  to { width: 78%; }
}

@media (max-width: 719px) {
  .container { width: min(1120px, calc(100% - 48px)); }
  .header-bar { gap: 8px 10px; }
  .logo small { display: none; }
  .stat-row, .preset-row, .split, .batch li { grid-template-columns: 1fr; }
  .studio-top { padding: 12px 16px; }
  .studio-top .pill { display: none; }
  .crop-stage { height: 280px; }
  .compare { height: 240px; }
  .preview-stage img, .doc-preview { max-height: 320px; }
  .dropzone { min-height: 220px; padding: 28px 20px; }
  .studio { border-radius: 20px; }
  .studio-body { padding: 16px; }
  .controls, .status, .field, .prose, .suite-block h2, .suite-block h3 { min-width: 0; }
  .lang-switch a { min-height: 44px; }
  .mini-grid { grid-template-columns: 1fr; gap: 10px; }
  .mini-grid .tool-card {
    grid-template-columns: 48px minmax(0, 1fr);
    align-items: center;
    column-gap: 14px;
    row-gap: 2px;
    padding: 16px;
    border-radius: 18px;
  }
  .mini-grid .icon-bubble {
    grid-row: 1 / span 2;
    width: 44px;
    height: 44px;
    margin-bottom: 0;
  }
  .mini-grid .tool-card h3 { font-size: 1.02rem; line-height: 1.35; }
  .mini-grid .tool-card p {
    font-size: 0.88rem;
    line-height: 1.45;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .footer-grid { grid-template-columns: 1fr; }
  .site-footer { padding: 40px 0 24px; }
  .hero { padding-top: 12px; }
  .page-intro { padding-top: 22px; }
  .section { padding-block: 36px; }
  .prose, .site-footer, .status, .busy-card p, .lede, .drop-help { overflow-wrap: anywhere; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
  .tool-card:hover, .guide-card:hover { transform: none; }
}

@media print {
  .site-header, .cookie, .ad-slot, .nav-toggle, .studio { display: none !important; }
  body { background: white; }
}
