/* =====================================================================
   IGLoadr - site.css
   Plain CSS for every page (all languages). No framework, no build step.
   Sections: 1 Fonts  2 Variables  3 Reset and base  4 Shared helpers
             5 Components  6 Responsive rules (small / medium / large screens)
   ===================================================================== */

/* 1. Fonts (self-hosted, latin / latin-ext / cyrillic / greek / vietnamese subsets) ------------- */

@font-face {
  font-family: "Space Grotesk";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(fonts/space-grotesk-vietnamese.woff2) format("woff2");
  unicode-range: U+102-103,U+110-111,U+128-129,U+168-169,U+1A0-1A1,U+1AF-1B0,U+300-301,U+303-304,U+308-309,U+323,U+329,U+1EA0-1EF9,U+20AB;
}

@font-face {
  font-family: "Space Grotesk";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(fonts/space-grotesk-latin-ext.woff2) format("woff2");
  unicode-range: U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,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: "Space Grotesk";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(fonts/space-grotesk-latin.woff2) format("woff2");
  unicode-range: U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}

@font-face {
  font-family: "Space Grotesk";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(fonts/space-grotesk-vietnamese.woff2) format("woff2");
  unicode-range: U+102-103,U+110-111,U+128-129,U+168-169,U+1A0-1A1,U+1AF-1B0,U+300-301,U+303-304,U+308-309,U+323,U+329,U+1EA0-1EF9,U+20AB;
}

@font-face {
  font-family: "Space Grotesk";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(fonts/space-grotesk-latin-ext.woff2) format("woff2");
  unicode-range: U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,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: "Space Grotesk";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(fonts/space-grotesk-latin.woff2) format("woff2");
  unicode-range: U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}

@font-face {
  font-family: "Space Grotesk";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(fonts/space-grotesk-vietnamese.woff2) format("woff2");
  unicode-range: U+102-103,U+110-111,U+128-129,U+168-169,U+1A0-1A1,U+1AF-1B0,U+300-301,U+303-304,U+308-309,U+323,U+329,U+1EA0-1EF9,U+20AB;
}

@font-face {
  font-family: "Space Grotesk";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(fonts/space-grotesk-latin-ext.woff2) format("woff2");
  unicode-range: U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,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: "Space Grotesk";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(fonts/space-grotesk-latin.woff2) format("woff2");
  unicode-range: U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}

@font-face {
  font-family: "Space Grotesk Fallback";
  src: local(Arial);
  ascent-override: 89.71%;
  descent-override: 26.62%;
  line-gap-override: 0.0%;
  size-adjust: 109.69%;
}

@font-face {
  font-family: Manrope;
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/manrope-cyrillic-ext.woff2) format("woff2");
  unicode-range: U+460-52F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F;
}

@font-face {
  font-family: Manrope;
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/manrope-cyrillic.woff2) format("woff2");
  unicode-range: U+301,U+400-45F,U+490-491,U+4B0-4B1,U+2116;
}

@font-face {
  font-family: Manrope;
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/manrope-greek.woff2) format("woff2");
  unicode-range: U+370-377,U+37A-37F,U+384-38A,U+38C,U+38E-3A1,U+3A3-3FF;
}

@font-face {
  font-family: Manrope;
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/manrope-vietnamese.woff2) format("woff2");
  unicode-range: U+102-103,U+110-111,U+128-129,U+168-169,U+1A0-1A1,U+1AF-1B0,U+300-301,U+303-304,U+308-309,U+323,U+329,U+1EA0-1EF9,U+20AB;
}

@font-face {
  font-family: Manrope;
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/manrope-latin-ext.woff2) format("woff2");
  unicode-range: U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,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: Manrope;
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/manrope-latin.woff2) format("woff2");
  unicode-range: U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}

@font-face {
  font-family: Manrope;
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(fonts/manrope-cyrillic-ext.woff2) format("woff2");
  unicode-range: U+460-52F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F;
}

@font-face {
  font-family: Manrope;
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(fonts/manrope-cyrillic.woff2) format("woff2");
  unicode-range: U+301,U+400-45F,U+490-491,U+4B0-4B1,U+2116;
}

@font-face {
  font-family: Manrope;
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(fonts/manrope-greek.woff2) format("woff2");
  unicode-range: U+370-377,U+37A-37F,U+384-38A,U+38C,U+38E-3A1,U+3A3-3FF;
}

@font-face {
  font-family: Manrope;
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(fonts/manrope-vietnamese.woff2) format("woff2");
  unicode-range: U+102-103,U+110-111,U+128-129,U+168-169,U+1A0-1A1,U+1AF-1B0,U+300-301,U+303-304,U+308-309,U+323,U+329,U+1EA0-1EF9,U+20AB;
}

@font-face {
  font-family: Manrope;
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(fonts/manrope-latin-ext.woff2) format("woff2");
  unicode-range: U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,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: Manrope;
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(fonts/manrope-latin.woff2) format("woff2");
  unicode-range: U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}

@font-face {
  font-family: Manrope;
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(fonts/manrope-cyrillic-ext.woff2) format("woff2");
  unicode-range: U+460-52F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F;
}

@font-face {
  font-family: Manrope;
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(fonts/manrope-cyrillic.woff2) format("woff2");
  unicode-range: U+301,U+400-45F,U+490-491,U+4B0-4B1,U+2116;
}

@font-face {
  font-family: Manrope;
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(fonts/manrope-greek.woff2) format("woff2");
  unicode-range: U+370-377,U+37A-37F,U+384-38A,U+38C,U+38E-3A1,U+3A3-3FF;
}

@font-face {
  font-family: Manrope;
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(fonts/manrope-vietnamese.woff2) format("woff2");
  unicode-range: U+102-103,U+110-111,U+128-129,U+168-169,U+1A0-1A1,U+1AF-1B0,U+300-301,U+303-304,U+308-309,U+323,U+329,U+1EA0-1EF9,U+20AB;
}

@font-face {
  font-family: Manrope;
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(fonts/manrope-latin-ext.woff2) format("woff2");
  unicode-range: U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,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: Manrope;
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(fonts/manrope-latin.woff2) format("woff2");
  unicode-range: U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}

@font-face {
  font-family: Manrope;
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(fonts/manrope-cyrillic-ext.woff2) format("woff2");
  unicode-range: U+460-52F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F;
}

@font-face {
  font-family: Manrope;
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(fonts/manrope-cyrillic.woff2) format("woff2");
  unicode-range: U+301,U+400-45F,U+490-491,U+4B0-4B1,U+2116;
}

@font-face {
  font-family: Manrope;
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(fonts/manrope-greek.woff2) format("woff2");
  unicode-range: U+370-377,U+37A-37F,U+384-38A,U+38C,U+38E-3A1,U+3A3-3FF;
}

@font-face {
  font-family: Manrope;
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(fonts/manrope-vietnamese.woff2) format("woff2");
  unicode-range: U+102-103,U+110-111,U+128-129,U+168-169,U+1A0-1A1,U+1AF-1B0,U+300-301,U+303-304,U+308-309,U+323,U+329,U+1EA0-1EF9,U+20AB;
}

@font-face {
  font-family: Manrope;
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(fonts/manrope-latin-ext.woff2) format("woff2");
  unicode-range: U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,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: Manrope;
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(fonts/manrope-latin.woff2) format("woff2");
  unicode-range: U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}

@font-face {
  font-family: Manrope;
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(fonts/manrope-cyrillic-ext.woff2) format("woff2");
  unicode-range: U+460-52F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F;
}

@font-face {
  font-family: Manrope;
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(fonts/manrope-cyrillic.woff2) format("woff2");
  unicode-range: U+301,U+400-45F,U+490-491,U+4B0-4B1,U+2116;
}

@font-face {
  font-family: Manrope;
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(fonts/manrope-greek.woff2) format("woff2");
  unicode-range: U+370-377,U+37A-37F,U+384-38A,U+38C,U+38E-3A1,U+3A3-3FF;
}

@font-face {
  font-family: Manrope;
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(fonts/manrope-vietnamese.woff2) format("woff2");
  unicode-range: U+102-103,U+110-111,U+128-129,U+168-169,U+1A0-1A1,U+1AF-1B0,U+300-301,U+303-304,U+308-309,U+323,U+329,U+1EA0-1EF9,U+20AB;
}

@font-face {
  font-family: Manrope;
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(fonts/manrope-latin-ext.woff2) format("woff2");
  unicode-range: U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,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: Manrope;
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(fonts/manrope-latin.woff2) format("woff2");
  unicode-range: U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}

@font-face {
  font-family: "Manrope Fallback";
  src: local(Arial);
  ascent-override: 103.31%;
  descent-override: 29.07%;
  line-gap-override: 0.0%;
  size-adjust: 103.19%;
}

@font-face {
  font-family: Sora;
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(fonts/sora-latin-ext.woff2) format("woff2");
  unicode-range: U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,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: Sora;
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(fonts/sora-latin.woff2) format("woff2");
  unicode-range: U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}

@font-face {
  font-family: Sora;
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(fonts/sora-latin-ext.woff2) format("woff2");
  unicode-range: U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,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: Sora;
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(fonts/sora-latin.woff2) format("woff2");
  unicode-range: U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}

@font-face {
  font-family: "Sora Fallback";
  src: local(Arial);
  ascent-override: 85.29%;
  descent-override: 25.5%;
  line-gap-override: 0.0%;
  size-adjust: 113.73%;
}

/* 2. Variables -------------------------------------------------------- */

:root {
  --bg: #f7f8fa;
  --surface: #ffffff;
  --surface-2: #f0f2f5;
  --ink: #14171a;
  --ink-soft: #5b6169;
  --ink-faint: #9aa1aa;
  --border: #e6e9ed;
  --accent: #00b39b;
  --accent-2: #6c5ce7;
  --accent-soft: #e6fbf7;
  --danger: #e5484d;
  --shadow: 0 12px 32px rgba(20, 23, 26, 0.08);

  --font-space-grotesk: "Space Grotesk", "Space Grotesk Fallback";
  --font-manrope: "Manrope", "Manrope Fallback";
  --font-sora: "Sora", "Sora Fallback";
}

/* 3. Reset and base --------------------------------------------------- */

@layer base {
  *,
  *::before,
  *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    border: 0 solid;
  }

  html {
    line-height: 1.5;
    -webkit-text-size-adjust: 100%;
    tab-size: 4;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    -webkit-tap-highlight-color: transparent;
    scroll-behavior: smooth;
  }

  h1, h2, h3, h4, h5, h6 {
    font-size: inherit;
    font-weight: inherit;
  }

  b, strong {
    font-weight: bolder;
  }

  ol, ul, menu {
    list-style: none;
  }

  img, svg, video, canvas, audio, iframe, embed, object {
    display: block;
    vertical-align: middle;
  }

  img, video {
    max-width: 100%;
    height: auto;
  }

  button, input, select, optgroup, textarea {
    font: inherit;
    letter-spacing: inherit;
    color: inherit;
    opacity: 1;
    background-color: transparent;
    border-radius: 0;
  }

  button, input:where([type="button"], [type="reset"], [type="submit"]) {
    appearance: button;
  }

  ::placeholder {
    opacity: 1;
    color: color-mix(in oklab, currentcolor 50%, transparent);
  }

  [hidden]:where(:not([hidden="until-found"])) {
    display: none !important;
  }

  body {
    margin: 0;
    background: var(--bg);
    color: var(--ink);
  }

  a {
    color: var(--accent-2);
    text-decoration: none;
  }

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

body {
  font-family: var(--font-manrope);
}

h1, h2, h3 {
  font-family: var(--font-space-grotesk), sans-serif;
}

/* 4. Shared helpers ---------------------------------------------------- */

.brand {
  font-family: var(--font-sora), sans-serif;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.grad-text {
  color: transparent;
  background: linear-gradient(120deg, #00b39b, #6c5ce7);
  -webkit-background-clip: text;
  background-clip: text;
}

.accent {
  color: var(--accent-2);
}

.underline {
  text-decoration-line: underline;
}

/* Pale background colours used behind icons (teal / violet / coral) */
.tint-teal   { background: var(--accent-soft); }
.tint-violet { background: #f1eefe; }
.tint-coral  { background: #fff1ec; }

/* Small pill labels above section titles */
.eyebrow-teal   { background: var(--accent-soft); color: var(--accent); }
.eyebrow-violet { background: #f1eefe; color: var(--accent-2); }
.eyebrow-coral  { background: #fff1ec; color: #ff7a50; }

/* Big quote mark and link colour per tool colour */
.quote-teal   { color: var(--accent-soft); }
.quote-violet { color: #f1eefe; }
.quote-coral  { color: #fff1ec; }
.link-teal    { color: var(--accent); }
.link-violet  { color: var(--accent-2); }
.link-coral   { color: #ff7a50; }

/* Gradient behind the icon of each format card */
.gradient-reels   { background: linear-gradient(135deg, #00b39b, #6c5ce7); }
.gradient-video   { background: linear-gradient(135deg, #00b39b, #00d9b8); }
.gradient-photo   { background: linear-gradient(135deg, #6c5ce7, #9b8cff); }
.gradient-audio   { background: linear-gradient(135deg, #ff7a50, #ffb020); }
.gradient-story   { background: linear-gradient(135deg, #6c5ce7, #ff7a50); }
.gradient-profile { background: linear-gradient(135deg, #00b39b, #ff7a50); }

/* Icon helpers */
.icon-no-shrink { flex-shrink: 0; }
.icon-turn-right { transform: rotate(-90deg); }
.icon-flip { transform: rotate(180deg); }

.faq-chevron {
  flex-shrink: 0;
  transition: transform 0.15s;
}

.faq-item.is-open .faq-chevron {
  transform: rotate(180deg);
}

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


/* =====================================================================
   Components
   ===================================================================== */

/* Shared building blocks */

.btn {
  cursor: pointer;
  border: none;
  border-radius: 999px;
  font-family: inherit;
  font-weight: 700;
}

.btn-accent {
  color: #fff;
  background: linear-gradient(120deg, #00b39b, #6c5ce7);
  box-shadow: 0 10px 24px rgba(108, 92, 231, 0.28), inset 0 1px rgba(255, 255, 255, 0.4);
}

.btn-outline {
  background: var(--surface);
  border: 1.5px solid var(--border);
  color: var(--ink);
}

.btn-ghost {
  color: var(--ink-faint);
  cursor: pointer;
  background: transparent;
  border: none;
}

.eyebrow {
  letter-spacing: 0.6px;
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 11.5px;
  font-weight: 800;
  display: inline-block;
}

.icon-chip {
  border-radius: 16px;
  flex-shrink: 0;
  justify-content: center;
  align-items: center;
  width: 52px;
  height: 52px;
  transition: transform 0.28s;
  display: flex;
}

/* Header */

.site-header {
  position: relative;
  display: flex;
  height: 64px;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  border-bottom: 1px solid var(--border);
  padding-inline: 16px;
}

.site-logo {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 8px;
  color: var(--ink);
}

.site-logo .brand {
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
  font-size: 17px;
}

.site-nav {
  margin-inline: auto;
  display: none;
  align-items: center;
  gap: 28px;
  font-size: 14px;
  line-height: 20px;
  font-weight: 600;
  color: var(--ink-soft);
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  color: var(--ink-soft);
}

.nav-link.is-active {
  color: var(--ink);
}

.nav-link-faq {
  white-space: nowrap;
  color: var(--ink-soft);
}

.header-tools {
  display: flex;
  align-items: center;
  gap: 8px;
}

.header-badge {
  display: none;
  border-radius: 9999px;
  background-color: var(--surface-2);
  font-size: 12.5px;
  padding: 8px 16px;
  font-weight: 700;
  white-space: nowrap;
  color: var(--ink-soft);
}

.menu-button {
  display: flex;
  height: 36px;
  width: 36px;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  border: 1.5px solid var(--border);
  color: var(--ink);
}

.mobile-menu {
  position: absolute;
  inset-inline: 0;
  top: 100%;
  z-index: 30;
  display: flex;
  flex-direction: column;
  gap: 4px;
  border-bottom: 1px solid var(--border);
  background-color: var(--surface);
  box-shadow: 0 20px 36px rgba(20, 23, 26, 0.1);
  padding: 16px;
}

.mobile-link {
  display: flex;
  align-items: center;
  gap: 10px;
  border-radius: 12px;
  font-size: 14.5px;
  padding: 12px 14px;
  font-weight: 600;
  color: var(--ink-soft);
}

.mobile-link.is-active {
  background-color: var(--accent-soft);
  color: var(--ink);
}

.mobile-badge {
  margin-top: 4px;
  border-radius: 9999px;
  background-color: var(--surface-2);
  text-align: center;
  padding: 10px 16px;
  font-size: 12.5px;
  font-weight: 700;
  white-space: nowrap;
  color: var(--ink-soft);
}

/* Hero */

.hero {
  position: relative;
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  height: 520px;
  width: 520px;
  border-radius: 9999px;
  opacity: 0.1;
  filter: blur(110px);
}

.hero-glow-left {
  top: -180px;
  left: -120px;
  background-color: #00b39b;
}

.hero-glow-right {
  top: 80px;
  right: -140px;
  height: 460px;
  width: 460px;
  background-color: #6c5ce7;
}

.hero-inner {
  position: relative;
  margin-inline: auto;
  max-width: 820px;
  padding: 40px 20px 20px;
  text-align: center;
}

.hero-eyebrow {
  margin-bottom: 18px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: var(--accent-soft);
  color: var(--accent);
}

.hero-title {
  margin-bottom: 14px;
  font-weight: 700;
  letter-spacing: -0.5px;
}

.hero-title-home {
  font-size: 30px;
  line-height: 1.15;
}

.hero-title-tool {
  font-size: 28px;
  line-height: 1.18;
}

.hero-text {
  margin-inline: auto;
  margin-bottom: 22px;
  max-width: 620px;
  font-size: 14.5px;
  line-height: 1.625;
  color: var(--ink-soft);
}

.tabs {
  scrollbar-width: none;
  -ms-overflow-style: none;
  margin-bottom: 14px;
  display: flex;
  justify-content: flex-start;
  gap: 8px;
  overflow-x: auto;
}

.tabs::-webkit-scrollbar {
  display: none;
}

.tab {
  cursor: pointer;
  border: 1.5px solid var(--border);
  border-radius: 999px;
  padding: 9px 18px;
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  flex-shrink: 0;
  color: var(--ink-soft);
}

.tab.is-active {
  border: none;
  background: var(--ink);
  color: #fff;
}

.trust-list {
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink-soft);
}

.hero-note {
  margin-top: 14px;
  font-size: 12px;
  line-height: 16px;
  color: var(--ink-faint);
}

.rich-inline p {
  margin: 0;
  display: inline;
}

.not-found-text {
  color: var(--ink-soft);
}

/* Download box */

.dl-box {
  margin-inline: auto;
  max-width: 820px;
}

.dl-form {
  margin-inline: auto;
  max-width: 620px;
}

.dl-input-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 10px;
  padding-left: 18px;
  box-shadow: 0 16px 40px rgba(20, 23, 26, 0.1);
}

.dl-input-row {
  display: flex;
  flex: 1;
  align-items: center;
  gap: 6px;
}

.dl-input {
  min-width: 0;
  flex: 1;
  border-style: none;
  background-color: rgba(0, 0, 0, 0);
  text-align: left;
  font-size: 14.5px;
  color: var(--ink);
  outline-style: none;
}

.dl-input::placeholder {
  color: var(--ink-faint);
}

.dl-paste {
  display: flex;
  height: 38px;
  width: 38px;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.dl-find {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 14px;
  padding: 10px 24px;
}

.dl-find:disabled {
  cursor: not-allowed;
  opacity: 0.6;
}

.dl-another {
  margin-inline: auto;
  margin-top: 24px;
  max-width: 620px;
}

.btn-another {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding-block: 16px;
  font-size: 14.5px;
}

.dl-error {
  margin-top: 12px;
  text-align: center;
  font-size: 14px;
  line-height: 20px;
  font-weight: 500;
  color: #fb2c36;
}

/* Sections */

.section {
  margin-inline: auto;
  margin-top: 104px;
  max-width: 1200px;
  padding-inline: 20px;
}

.section-definition {
  margin-top: 56px;
}

.section-eyebrow {
  margin-bottom: 8px;
  text-align: center;
}

.section-title {
  margin-bottom: 44px;
  text-align: center;
  font-size: 22px;
  font-weight: 700;
}

.section-title-tight {
  margin-bottom: 8px;
}

.section-title-faq {
  margin-bottom: 40px;
}

.section-subtitle {
  margin-bottom: 44px;
  text-align: center;
  font-size: 15px;
  color: var(--ink-soft);
}

/* How it works (steps) */

.steps {
  position: relative;
  overflow: hidden;
}

.steps-inner {
  position: relative;
  margin-inline: auto;
  margin-top: 96px;
  max-width: 1200px;
  padding-inline: 20px;
}

.step-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
}

.step-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  flex: 1 1 260px;
  padding: 28px;
  text-align: center;
}

.step-icon {
  margin-inline: auto;
  margin-bottom: 18px;
}

.item-title {
  margin: 0;
  margin-bottom: 6px;
  font-size: 15px;
  font-weight: 700;
}

.step-text {
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--ink-soft);
}

/* Features */

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 26px;
}

.feature {
  display: flex;
  gap: 16px;
  padding: 8px;
}

.item-text {
  font-size: 13.5px;
  line-height: 1.625;
  color: var(--ink-soft);
}

/* Format cards (explore other tools) */

.format-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

.format-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  transition: transform 0.28s, box-shadow 0.28s, border-color 0.28s;
  padding: 22px 24px 20px;
  text-align: left;
  box-shadow: 0 10px 26px rgba(20, 23, 26, 0.06);
}

.format-card:hover {
  transform: translateY(-8px)scale(1.015);
  box-shadow: 0 30px 60px rgba(20, 23, 26, 0.16);
}

.format-card:hover .format-card-icon {
  transform: scale(1.08)rotate(-4deg);
}

.format-card-icon {
  margin-bottom: 14px;
  display: flex;
  height: 48px;
  width: 48px;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  box-shadow: 0 10px 22px -6px rgba(20, 23, 26, 0.32);
}

.format-card-title {
  margin-bottom: 6px;
  font-size: 16.5px;
  font-weight: 700;
}

.format-card-text {
  margin-bottom: 14px;
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--ink-soft);
}

.format-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  line-height: 20px;
  font-weight: 700;
}

/* Definition card (tool pages) */

.definition-card {
  background: var(--surface);
  border: none;
  border-radius: 20px;
  position: relative;
  overflow: hidden;
  padding: 32px 20px 24px;
  box-shadow: 0 20px 50px rgba(20, 23, 26, 0.07);
}

.definition-bar {
  position: absolute;
  inset-inline: 0;
  top: 0;
  height: 5px;
  background-image: linear-gradient(90deg, #00b39b, #6c5ce7);
}

.definition-quote {
  position: absolute;
  top: -10px;
  right: 16px;
  font-size: 70px;
  line-height: 1;
}

.definition-body {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.definition-icon {
  height: 44px;
  width: 44px;
  flex-shrink: 0;
  border-radius: 16px;
}

.definition-content {
  min-width: 0;
  flex: 1;
}

.eyebrow-dark {
  margin-bottom: 12px;
  display: inline-block;
  background-color: var(--ink);
  color: #fff;
}

.definition-title {
  margin-block: 12px;
  font-size: 19px;
  line-height: 1.3;
  font-weight: 700;
}

.definition-text {
  margin-bottom: 14px;
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--ink-soft);
}

.definition-text.is-last {
  margin-bottom: 20px;
}

.also-called {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  border-top: 1px dashed var(--border);
  border-style: dashed;
  padding-top: 16px;
}

.also-called-label {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.4px;
  color: var(--ink-faint);
}

.chip {
  cursor: pointer;
  border: none;
  border-radius: 999px;
  font-family: inherit;
  background-color: var(--surface-2);
  font-size: 12px;
  padding: 6px 13px;
  line-height: 16px;
  font-weight: 600;
  color: var(--ink-soft);
}

/* FAQ */

.faq {
  margin-inline: auto;
  margin-top: 112px;
  max-width: 820px;
  scroll-margin-top: 96px;
  padding-inline: 20px;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  cursor: pointer;
  background-color: var(--surface);
  padding: 20px 24px;
}

.faq-item.is-open {
  border-color: rgba(0, 0, 0, 0);
  background-color: var(--surface-2);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 14.5px;
  font-weight: 700;
}

.faq-heading {
  margin: 0;
}

.faq-answer {
  margin-top: 12px;
  font-size: 13.5px;
  line-height: 1.625;
  color: var(--ink-soft);
}

/* Comparison (home) */

.compare {
  margin-inline: auto;
  margin-top: 112px;
  max-width: 1000px;
  padding-inline: 20px;
}

.compare-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.compare-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  flex: 1 1 320px;
  padding: 30px;
}

.compare-card-us {
  border: 1.5px solid var(--accent);
  background-image: linear-gradient(rgba(0, 179, 155, 0.05), rgba(108, 92, 231, 0.05));
}

.compare-label {
  margin-bottom: 18px;
  font-size: 14px;
  line-height: 20px;
  font-weight: 700;
  letter-spacing: 0.3px;
  color: var(--ink-faint);
}

.compare-label-us {
  color: var(--accent);
}

.compare-list {
  display: flex;
  list-style-type: none;
  flex-direction: column;
  gap: 16px;
}

.compare-list-them {
  font-size: 14px;
  line-height: 20px;
  color: var(--ink-soft);
}

.compare-list-us {
  font-size: 14.5px;
  font-weight: 600;
}

.compare-item {
  display: flex;
  gap: 10px;
}

/* Legal pages */

.legal {
  margin-inline: auto;
  margin-top: 40px;
  max-width: 820px;
  padding-inline: 20px;
  padding-bottom: 32px;
}

.legal-title {
  margin-bottom: 8px;
  font-size: 26px;
  line-height: 1.2;
  font-weight: 700;
}

.legal-updated {
  margin-bottom: 40px;
  font-size: 13px;
  color: var(--ink-faint);
}

.legal-sections {
  display: flex;
  flex-direction: column;
  gap: 36px;
}

.legal-heading {
  margin-bottom: 12px;
  font-size: 20px;
  line-height: 1.3;
  font-weight: 700;
}

.legal-body {
  font-size: 14.5px;
  line-height: 1.75;
  color: var(--ink-soft);
}

.legal-body p+p {
  margin-top: 12px;
}

.legal-body ul {
  margin: 12px 0;
  padding-left: 22px;
}

.legal-body ol {
  margin: 12px 0;
  padding-left: 22px;
}

.legal-body li+li {
  margin-top: 4px;
}

/* Footer */

.site-footer {
  margin-top: 90px;
  border-top: 1px solid var(--border);
  padding: 52px 20px 40px;
}

.app-banner {
  margin-inline: auto;
  margin-bottom: 44px;
  display: flex;
  max-width: 1200px;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-radius: 16px;
  border: 1px solid var(--border);
  background-image: linear-gradient(90deg, rgba(0, 179, 155, 0.08), rgba(108, 92, 231, 0.08));
  padding: 22px 28px;
}

.app-banner-title {
  margin-bottom: 4px;
  font-size: 15px;
  font-weight: 700;
}

.app-banner-text {
  font-size: 13px;
  color: var(--ink-soft);
}

.app-banner-badge {
  border-radius: 10px;
  background-color: var(--ink);
  font-size: 13px;
  padding: 10px 18px;
  font-weight: 700;
  white-space: nowrap;
  color: #fff;
}

.footer-main {
  margin-inline: auto;
  display: flex;
  max-width: 1200px;
  flex-direction: column;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 32px;
}

.footer-about {
  max-width: none;
}

.footer-brand {
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-brand .brand {
  font-size: 17px;
}

.footer-disclaimer {
  font-size: 12.5px;
  line-height: 1.625;
  color: var(--ink-faint);
}

.footer-columns {
  display: flex;
  flex-wrap: wrap;
  font-size: 13.5px;
  gap: 32px 36px;
}

.footer-heading {
  margin-bottom: 14px;
  font-weight: 700;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
  color: var(--ink-soft);
}

.footer-link {
  color: var(--ink-soft);
  text-decoration-line: none;
}

@media (hover: hover) {
  .footer-link:hover {
    color: var(--ink);
  }
}

.footer-bottom {
  margin-inline: auto;
  margin-top: 36px;
  display: flex;
  max-width: 1200px;
  flex-direction: column-reverse;
  align-items: center;
  gap: 16px;
  border-top: 1px solid var(--border);
  padding-top: 24px;
}

.copyright {
  font-size: 12.5px;
  color: var(--ink-faint);
}

/* Language switcher */

.lang-switcher {
  position: relative;
}

.lang-button {
  cursor: pointer;
  border: 1.5px solid var(--border);
  border-radius: 999px;
  font-family: inherit;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 6px;
  background-color: var(--surface);
  font-size: 12.5px;
  padding: 8px 14px;
  color: var(--ink);
}

.lang-panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  position: absolute;
  inset-inline-end: 0;
  bottom: calc(100% + 8px);
  z-index: 20;
  max-height: 280px;
  min-width: 160px;
  overflow-y: auto;
  padding: 6px;
  box-shadow: 0 12px 28px rgba(20, 23, 26, 0.14);
}

.lang-link {
  display: block;
  border-radius: 10px;
  font-size: 13px;
  padding: 10px 12px;
  font-weight: 500;
  white-space: nowrap;
  color: var(--ink);
}

.lang-link.is-active {
  background-color: var(--accent-soft);
  font-weight: 700;
  color: var(--accent);
}

/* 404 page */

.not-found {
  display: grid;
  min-height: 100vh;
  place-items: center;
  padding: 24px;
  text-align: center;
}

.not-found-title {
  margin-bottom: 8px;
  font-size: 24px;
  line-height: 32px;
}

/* Download results (rendered by app.js) */

.loading-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  margin-inline: auto;
  margin-top: 24px;
  max-width: 440px;
  padding: 40px;
  text-align: center;
  box-shadow: 0 16px 40px rgba(20, 23, 26, 0.1);
}

.spinner {
  margin-inline: auto;
  margin-bottom: 16px;
  height: 40px;
  width: 40px;
  animation: spin 1s linear infinite;
  border-radius: 9999px;
  border: 3px solid var(--accent-soft);
  border-top-color: var(--accent);
}

.loading-text {
  font-size: 14px;
  line-height: 20px;
  font-weight: 500;
  color: var(--ink-soft);
}

.profile-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  margin-inline: auto;
  margin-top: 24px;
  max-width: 440px;
  padding: 32px;
  text-align: center;
  box-shadow: 0 16px 40px rgba(20, 23, 26, 0.1);
}

.avatar-sm {
  margin-inline: auto;
  margin-bottom: 20px;
  height: 92px;
  width: 92px;
  border-radius: 9999px;
  border: 4px solid var(--accent-soft);
  object-fit: cover;
}

.profile-name-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.profile-handle-sm {
  font-size: 16px;
  line-height: 24px;
  font-weight: 700;
  color: var(--ink);
}

.profile-handle {
  font-size: 18px;
  line-height: 28px;
  font-weight: 700;
  color: var(--ink);
}

.profile-link {
  color: var(--ink-faint);
}

@media (hover: hover) {
  .profile-link:hover {
    color: var(--accent-2);
  }
}

.profile-fullname-sm {
  margin-top: 4px;
  font-size: 14px;
  line-height: 20px;
  color: var(--ink-soft);
}

.profile-fullname {
  margin-top: 12px;
  font-size: 14px;
  line-height: 20px;
  color: var(--ink-soft);
}

.stats {
  margin-inline: auto;
  margin-top: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.stats > :not(:last-child) {
  border-inline-style: solid;
  border-inline-start-width: 0;
  border-inline-end-width: 1px;
  border-color: var(--border);
}

.stats-narrow {
  max-width: 280px;
}

.stats-wide {
  max-width: 320px;
}

.stat {
  flex: 1;
  padding-inline: 12px;
}

.stat-value-sm {
  font-size: 14px;
  line-height: 20px;
  font-weight: 700;
  color: var(--ink);
}

.stat-label-sm {
  font-size: 11px;
  color: var(--ink-faint);
}

.stat-value {
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
}

.stat-label {
  font-size: 11.5px;
  color: var(--ink-faint);
}

.private-note {
  background: var(--surface);
  border: 1.5px solid #f7c9ce;
  border-radius: 20px;
  margin-inline: auto;
  margin-top: 16px;
  max-width: 440px;
  background-color: #fdf0f1;
  padding: 24px;
  text-align: center;
}

.private-note-title {
  font-size: 15px;
  font-weight: 700;
  color: #c4293a;
}

.private-note-text {
  margin-top: 8px;
  font-size: 13px;
  line-height: 1.625;
  color: var(--ink-soft);
}

.error-note {
  margin-inline: auto;
  margin-top: 16px;
  max-width: 440px;
  text-align: center;
  font-size: 13px;
  color: var(--ink-faint);
}

.avatar-wrap {
  position: relative;
  margin-inline: auto;
  margin-bottom: 20px;
  height: 132px;
  width: 132px;
}

.avatar {
  height: 100%;
  width: 100%;
  border-radius: 9999px;
  border: 4px solid var(--accent-soft);
  object-fit: cover;
}

.zoom-button {
  position: absolute;
  right: 4px;
  bottom: 4px;
  display: flex;
  height: 36px;
  width: 36px;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  border: 2px solid #fff;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
  background: linear-gradient(120deg, var(--accent), var(--accent-2));
}

.profile-actions {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.btn-profile {
  display: flex;
  flex: 1;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding-block: 14px;
  font-size: 14px;
}

.btn-profile:disabled {
  cursor: not-allowed;
  opacity: 0.7;
}

.result-note {
  margin-top: 12px;
  font-size: 11.5px;
  color: var(--ink-faint);
}

.download-error {
  margin-top: 8px;
  font-size: 12px;
  line-height: 16px;
  font-weight: 500;
  color: #fb2c36;
}

.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(0, 0, 0, 0.7);
  padding: 24px;
}

.modal-box {
  position: relative;
  max-width: 90vw;
}

.modal-close {
  position: absolute;
  top: -16px;
  right: -16px;
  display: flex;
  height: 36px;
  width: 36px;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  background-color: #fff;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
}

.modal-image {
  max-height: 80vh;
  max-width: 100%;
  border-radius: 16px;
  object-fit: contain;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.result-single {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  margin-inline: auto;
  margin-top: 24px;
  display: flex;
  max-width: 620px;
  flex-direction: column;
  gap: 24px;
  padding: 24px;
  box-shadow: 0 16px 40px rgba(20, 23, 26, 0.1);
}

.result-preview {
  position: relative;
  margin-inline: auto;
  aspect-ratio: 9/16;
  width: 140px;
  flex-shrink: 0;
  overflow: hidden;
  border-radius: 16px;
  background-image: linear-gradient(to bottom right in oklab, #0f9c88, #3a2e9e);
}

.media-cover {
  height: 100%;
  width: 100%;
  object-fit: cover;
}

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

.progress-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(0, 0, 0, 0.35);
}

.progress-ring {
  position: absolute;
}

.audio-preview {
  display: flex;
  height: 100%;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 16px;
}

.audio-badge {
  display: flex;
  height: 44px;
  width: 44px;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  background-color: rgba(255, 255, 255, 0.2);
}

.audio-player {
  width: 100%;
  height: 32px;
}

.result-body {
  flex: 1;
}

.result-heading {
  margin-bottom: 12px;
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 0.3px;
  color: var(--ink-faint);
}

.quality-table {
  margin-bottom: 20px;
  overflow: hidden;
  border-radius: 16px;
  border: 1.5px solid var(--border);
}

.quality-head {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  background-color: var(--surface-2);
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.3px;
  color: var(--ink-faint);
}

.quality-head-cell {
  padding: 10px 16px;
}

.align-right {
  text-align: right;
}

.quality-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: center;
  border-top: 1px solid var(--border);
  background-color: var(--accent-soft);
  font-size: 13.5px;
  font-weight: 700;
  color: var(--ink);
}

.quality-label {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 16px;
}

.quality-cell {
  color: var(--ink-soft);
  padding: 14px 16px;
}

.btn-download {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding-block: 16px;
  font-size: 14.5px;
}

.btn-download:disabled {
  cursor: not-allowed;
  opacity: 0.7;
}

.result-grid {
  margin-inline: auto;
  margin-top: 24px;
  max-width: 820px;
}

.grid-header {
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-inline: 4px;
}

.grid-count {
  font-size: 13px;
  font-weight: 700;
  color: var(--ink-soft);
}

.btn-all {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  padding: 10px 20px;
}

.grid-items {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.grid-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
}

.grid-thumb {
  position: relative;
  display: block;
  aspect-ratio: 1;
  width: 100%;
  cursor: pointer;
  background-color: var(--surface-2);
}

.play-overlay {
  pointer-events: none;
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(0, 0, 0, 0.15);
}

.play-badge {
  display: flex;
  height: 36px;
  width: 36px;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  background-color: rgba(0, 0, 0, 0.45);
}

.thumb-placeholder {
  display: flex;
  height: 100%;
  align-items: center;
  justify-content: center;
}

.grid-save {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border-radius: 0;
  border-bottom-right-radius: 16px;
  border-bottom-left-radius: 16px;
  background-color: rgba(0, 0, 0, 0);
  padding-block: 10px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--ink-soft);
  border-style: none;
  border-top: 1px solid var(--border);
}

.grid-save:disabled {
  cursor: not-allowed;
}

/* Story viewer (full screen) */

.story-overlay {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #000;
}

.story-stage {
  position: relative;
  height: 100%;
  width: 100%;
  overflow: hidden;
  background-color: #000;
}

.story-media {
  display: flex;
  height: 100%;
  width: 100%;
  align-items: center;
  justify-content: center;
}

.story-taps {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: flex;
}

.story-tap-prev {
  height: 100%;
  width: 40%;
}

.story-tap-next {
  height: 100%;
  width: 60%;
}

.story-bars {
  position: absolute;
  inset-inline: 0;
  top: 0;
  z-index: 20;
  display: flex;
  gap: 4px;
  padding: 10px;
  padding-top: calc(0.625rem + env(safe-area-inset-top, 0px));
}

.story-bar {
  height: 2.5px;
  flex: 1;
  overflow: hidden;
  border-radius: 9999px;
  background-color: rgba(255, 255, 255, 0.3);
}

.story-bar-fill {
  height: 100%;
  background-color: #fff;
}

.story-topbar {
  position: absolute;
  inset-inline: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-inline: 12px;
  top: calc(0.875rem + env(safe-area-inset-top, 0px));
}

.story-counter {
  font-size: 12.5px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.9);
}

.story-close {
  display: flex;
  height: 32px;
  width: 32px;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  background-color: rgba(0, 0, 0, 0.35);
}

.story-arrow {
  position: absolute;
  top: 50%;
  z-index: 20;
  display: flex;
  height: 40px;
  width: 40px;
  translate: 0 -50%;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  background-color: rgba(0, 0, 0, 0.4);
  color: #fff;
}

@media (hover: hover) {
  .story-arrow:hover {
    background-color: rgba(0, 0, 0, 0.6);
  }
}

.story-arrow-prev {
  left: 10px;
}

.story-arrow-next {
  right: 10px;
}

/* =====================================================================
   Responsive: Small screens and up (min-width: 640px)
   ===================================================================== */

@media (min-width: 640px) {
  /* Header */

  .site-header {
    height: 80px;
    gap: 12px;
    padding-inline: 32px;
  }

  .site-logo {
    gap: 10px;
  }

  .site-logo .brand {
    font-size: 22px;
  }

  .header-tools {
    gap: 14px;
  }

  .header-badge {
    display: block;
  }

  .mobile-menu {
    padding-inline: 24px;
  }

  .mobile-badge {
    display: none;
  }

  /* Hero */

  .hero-inner {
    padding-inline: 32px;
    padding-top: 56px;
  }

  .hero-eyebrow {
    margin-bottom: 22px;
  }

  .hero-title {
    margin-bottom: 18px;
    letter-spacing: -0.8px;
  }

  .hero-title-home {
    font-size: 38px;
  }

  .hero-title-tool {
    font-size: 36px;
  }

  .hero-text {
    margin-bottom: 30px;
    font-size: 16px;
    line-height: 26px;
  }

  .tabs {
    flex-wrap: wrap;
    justify-content: center;
    overflow: visible;
  }

  /* Download box */

  .dl-input-card {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    padding-block: 10px;
    padding-right: 10px;
    padding-left: 22px;
  }

  .dl-find {
    width: auto;
    gap: 8px;
    font-size: 15px;
    padding: 16px 30px;
  }

  /* Sections */

  .section {
    padding-inline: 32px;
  }

  .section-title {
    font-size: 26px;
  }

  /* How it works (steps) */

  .steps-inner {
    padding-inline: 32px;
  }

  /* Definition card (tool pages) */

  .definition-card {
    padding-inline: 28px;
    padding-top: 36px;
  }

  .definition-quote {
    top: -18px;
    right: 26px;
    font-size: 140px;
  }

  .definition-body {
    gap: 22px;
  }

  .definition-icon {
    height: 56px;
    width: 56px;
  }

  .definition-title {
    font-size: 23px;
  }

  /* FAQ */

  .faq {
    padding-inline: 32px;
  }

  /* Comparison (home) */

  .compare {
    padding-inline: 32px;
  }

  /* Legal pages */

  .legal {
    margin-top: 56px;
    padding-inline: 24px;
  }

  .legal-title {
    font-size: 34px;
    line-height: 1.15;
  }

  /* Footer */

  .site-footer {
    padding-inline: 32px;
  }

  .footer-main {
    flex-direction: row;
    gap: 40px;
  }

  .footer-about {
    max-width: 280px;
  }

  .footer-columns {
    column-gap: 64px;
  }

  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
  }

  /* Download results (rendered by app.js) */

  .profile-actions {
    flex-direction: row;
  }

  .result-single {
    flex-direction: row;
  }

  .result-preview {
    margin-inline: 0;
  }

  .grid-items {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  /* Story viewer (full screen) */

  .story-stage {
    height: 92vh;
    max-width: 460px;
    border-radius: 16px;
  }
}

/* =====================================================================
   Responsive: Medium screens and up (min-width: 768px)
   ===================================================================== */

@media (min-width: 768px) {
  /* Header */

  .site-header {
    padding-inline: 56px;
  }

  /* Hero */

  .hero-inner {
    padding-inline: 56px;
    padding-top: 64px;
  }

  .hero-title {
    letter-spacing: -1px;
  }

  .hero-title-home {
    font-size: 48px;
    line-height: 1.1;
  }

  .hero-title-tool {
    font-size: 48px;
    line-height: 1.1;
  }

  /* Sections */

  .section {
    padding-inline: 56px;
  }

  .section-title {
    font-size: 30px;
  }

  /* How it works (steps) */

  .steps-inner {
    padding-inline: 56px;
  }

  /* Definition card (tool pages) */

  .definition-card {
    padding: 40px 40px 34px;
  }

  /* FAQ */

  .faq {
    padding-inline: 56px;
  }

  /* Comparison (home) */

  .compare {
    padding-inline: 56px;
  }

  /* Footer */

  .site-footer {
    padding-inline: 56px;
  }

  /* Download results (rendered by app.js) */

  .grid-items {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

/* =====================================================================
   Responsive: Large screens and up (min-width: 1024px)
   ===================================================================== */

@media (min-width: 1024px) {
  /* Header */

  .site-header {
    display: grid;
    grid-template-columns: auto 1fr auto;
  }

  .site-nav {
    display: flex;
  }

  .menu-button {
    display: none;
  }

  .mobile-menu {
    display: none;
  }
}
