:root {
  color-scheme: light;
  --paper: #fafaf7;
  --paper-strong: #f1f2ec;
  --surface: #ffffff;
  --surface-muted: #f6f7f2;
  --ink: #171715;
  --muted: #5f655e;
  --soft: #858b82;
  --line: #d9dbd3;
  --line-strong: #bcc1b7;
  --line-dark: #9da59a;
  --sage: #466657;
  --sage-dark: #23372e;
  --blue: #315a70;
  --clay: #885d52;
  --shadow: 0 18px 46px rgba(24, 29, 22, 0.085);
  --radius: 8px;
  --max: 1160px;
  --font: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

:root[data-theme="gray"] {
  --paper: #c3c8bf;
  --paper-strong: #b2b9ae;
  --surface: #dde2d9;
  --surface-muted: #cfd6cb;
  --ink: #0f120f;
  --muted: #384239;
  --soft: #59645a;
  --line: #9da79b;
  --line-strong: #818c80;
  --sage: #365145;
  --sage-dark: #1b2c24;
}

:root[data-theme="black"] {
  color-scheme: dark;
  --paper: #090a09;
  --paper-strong: #111310;
  --surface: #151815;
  --surface-muted: #1b1f1b;
  --ink: #f4f4ef;
  --muted: #a7ada3;
  --soft: #7f877d;
  --line: #2f352f;
  --line-strong: #424a42;
  --line-dark: #5c675c;
  --sage: #8eb59e;
  --sage-dark: #d9eadf;
  --blue: #88abc0;
  --clay: #c99082;
  --shadow: 0 18px 46px rgba(0, 0, 0, 0.34);
}

:root[data-theme="aurora"] {
  --paper: #edf5ef;
  --paper-strong: #dcebe4;
  --surface: #fbfffc;
  --surface-muted: #e3f1ea;
  --ink: #111814;
  --muted: #485f53;
  --soft: #6f877a;
  --line: #bdd6c8;
  --line-strong: #8eb19f;
  --sage: #2f755d;
  --sage-dark: #14392d;
  --blue: #2e6d91;
  --clay: #a7675d;
}

:root[data-theme="blueprint"] {
  --paper: #eaf1f3;
  --paper-strong: #d8e4e8;
  --surface: #f9fcfd;
  --surface-muted: #e2edf1;
  --ink: #0f171a;
  --muted: #465c64;
  --soft: #6e828a;
  --line: #b8cbd2;
  --line-strong: #91aab4;
  --sage: #285d69;
  --sage-dark: #153943;
  --blue: #1f638c;
}

:root[data-theme="graphite"] {
  --paper: #dfe1de;
  --paper-strong: #d0d3ce;
  --surface: #f6f7f4;
  --surface-muted: #e9ebe6;
  --ink: #151713;
  --muted: #545a52;
  --soft: #7a8178;
  --line: #c0c6bd;
  --line-strong: #a5ada2;
  --sage: #525c54;
  --sage-dark: #222821;
}

:root[data-theme="steel"] {
  --paper: #e6e9eb;
  --paper-strong: #d6dde0;
  --surface: #f9fbfc;
  --surface-muted: #ebf0f3;
  --ink: #13181b;
  --muted: #536068;
  --soft: #7b8991;
  --line: #c4d0d7;
  --line-strong: #a8b7bf;
  --sage: #446271;
  --sage-dark: #1f3540;
}

:root[data-theme="mono"] {
  --paper: #ebebea;
  --paper-strong: #d9d9d7;
  --surface: #ffffff;
  --surface-muted: #efefee;
  --ink: #0f1110;
  --muted: #4e5250;
  --soft: #767b78;
  --line: #c9cdca;
  --line-strong: #a8ada9;
  --sage: #3f4542;
  --sage-dark: #202522;
}

:root[data-theme="slate"] {
  --paper: #eef2f5;
  --paper-strong: #e1e7ec;
  --surface: #fbfdff;
  --surface-muted: #eaf0f5;
  --ink: #141b20;
  --muted: #55636f;
  --soft: #7a8995;
  --line: #c7d4df;
  --line-strong: #acbcc9;
  --sage: #3b617b;
  --sage-dark: #1d3445;
}

:root[data-theme="cobalt"] {
  --paper: #e7eef7;
  --paper-strong: #d5e2f2;
  --surface: #f8fbff;
  --surface-muted: #e8f1fb;
  --ink: #101b2b;
  --muted: #4d6381;
  --soft: #758ca9;
  --line: #c0d1e6;
  --line-strong: #9fb5d2;
  --sage: #315f98;
  --sage-dark: #1b3964;
}

:root[data-theme="marine"] {
  --paper: #e8f2f3;
  --paper-strong: #d8e8ea;
  --surface: #f9feff;
  --surface-muted: #e7f2f5;
  --ink: #101d21;
  --muted: #4c6770;
  --soft: #759198;
  --line: #bdd3d8;
  --line-strong: #99b8be;
  --sage: #2f6a78;
  --sage-dark: #18404b;
}

:root[data-theme="moss"] {
  --paper: #eef3ea;
  --paper-strong: #e0e8d8;
  --surface: #fbfdf8;
  --surface-muted: #edf4e8;
  --ink: #151c14;
  --muted: #556550;
  --soft: #7a8a75;
  --line: #c8d6c1;
  --line-strong: #acbda2;
  --sage: #4f7247;
  --sage-dark: #264024;
}

:root[data-theme="olive"] {
  --paper: #f1f1e7;
  --paper-strong: #e4e2d2;
  --surface: #fdfdf8;
  --surface-muted: #f2f0e2;
  --ink: #1a1a12;
  --muted: #66644f;
  --soft: #8b886f;
  --line: #d6d2be;
  --line-strong: #bbb59d;
  --sage: #6f7440;
  --sage-dark: #40461f;
}

:root[data-theme="mint"] {
  --paper: #eaf6f1;
  --paper-strong: #d7ebe3;
  --surface: #f8fffc;
  --surface-muted: #e8f6f0;
  --ink: #11201b;
  --muted: #4b6a60;
  --soft: #739489;
  --line: #bcdcd0;
  --line-strong: #97bfaf;
  --sage: #2f8f72;
  --sage-dark: #17604a;
}

:root[data-theme="plum"] {
  --paper: #f4eff8;
  --paper-strong: #e8def0;
  --surface: #fefbff;
  --surface-muted: #f2eaf6;
  --ink: #1d1622;
  --muted: #665875;
  --soft: #8d7ea0;
  --line: #d9cce5;
  --line-strong: #c0aed2;
  --sage: #76558f;
  --sage-dark: #432b58;
}

:root[data-theme="violet"] {
  --paper: #f0edfa;
  --paper-strong: #e2dbf4;
  --surface: #fcfbff;
  --surface-muted: #ece8f7;
  --ink: #1b1730;
  --muted: #5f5a86;
  --soft: #8781af;
  --line: #d2cbea;
  --line-strong: #b4a9d4;
  --sage: #5f57a6;
  --sage-dark: #332d6a;
}

:root[data-theme="rose"] {
  --paper: #f8eff2;
  --paper-strong: #efdee5;
  --surface: #fffafd;
  --surface-muted: #f7eaf0;
  --ink: #23151c;
  --muted: #765464;
  --soft: #9e7386;
  --line: #e3cdd8;
  --line-strong: #caaebc;
  --sage: #925271;
  --sage-dark: #5f2a43;
}

:root[data-theme="clay"] {
  --paper: #f6eeeb;
  --paper-strong: #ecded8;
  --surface: #fffdfb;
  --surface-muted: #f4e9e4;
  --ink: #221714;
  --muted: #775750;
  --soft: #9e7970;
  --line: #e1cdc6;
  --line-strong: #c8b0a6;
  --sage: #925d4e;
  --sage-dark: #5f3429;
}

:root[data-theme="ember"] {
  color-scheme: dark;
  --paper: #100d0c;
  --paper-strong: #171210;
  --surface: #1d1715;
  --surface-muted: #251d1a;
  --ink: #f6eeeb;
  --muted: #ceb3a8;
  --soft: #a58579;
  --line: #3b2d28;
  --line-strong: #524038;
  --sage: #d08b71;
  --sage-dark: #f4ddd3;
  --shadow: 0 18px 46px rgba(0, 0, 0, 0.34);
}

:root[data-theme="sand"] {
  --paper: #f6f1e7;
  --paper-strong: #ebe2d2;
  --surface: #fffdf8;
  --surface-muted: #f4ecdd;
  --ink: #1c170f;
  --muted: #685f4f;
  --soft: #8f836e;
  --line: #dccfbb;
  --line-strong: #c1b098;
  --sage: #856945;
  --sage-dark: #4c3820;
}

:root[data-theme="paper"] {
  --paper: #f7f5f0;
  --paper-strong: #ece8dd;
  --surface: #ffffff;
  --surface-muted: #f5f2e9;
  --ink: #1a1813;
  --muted: #615d51;
  --soft: #878273;
  --line: #d8d2c2;
  --line-strong: #bfb79f;
  --sage: #6e6550;
  --sage-dark: #3d3728;
}

:root[data-theme="linen"] {
  --paper: #f6f3ec;
  --paper-strong: #ece5da;
  --surface: #fffefb;
  --surface-muted: #f5efe4;
  --ink: #1c1913;
  --muted: #666053;
  --soft: #8e8678;
  --line: #ddd3c4;
  --line-strong: #c4b6a4;
  --sage: #7d6b54;
  --sage-dark: #493b2b;
}

:root[data-theme="solar"] {
  --paper: #f9f3dd;
  --paper-strong: #f0e3ba;
  --surface: #fffdf4;
  --surface-muted: #f8f0cf;
  --ink: #231b0f;
  --muted: #7a6439;
  --soft: #a58a59;
  --line: #e6d8ac;
  --line-strong: #ccb881;
  --sage: #b5842e;
  --sage-dark: #664912;
}

:root[data-theme="frost"] {
  --paper: #f4f8fb;
  --paper-strong: #e5eef5;
  --surface: #ffffff;
  --surface-muted: #edf4f8;
  --ink: #12181d;
  --muted: #55626b;
  --soft: #7d8a93;
  --line: #cddbe4;
  --line-strong: #aec0cc;
  --sage: #4d6b7d;
  --sage-dark: #263c4a;
}

:root[data-theme="ink"] {
  color-scheme: dark;
  --paper: #0b0d11;
  --paper-strong: #131821;
  --surface: #171d27;
  --surface-muted: #1f2734;
  --ink: #eff4ff;
  --muted: #a9b7cd;
  --soft: #7f8fa7;
  --line: #313e55;
  --line-strong: #435471;
  --sage: #86a9d6;
  --sage-dark: #dbe8ff;
  --shadow: 0 18px 46px rgba(0, 0, 0, 0.34);
}

:root[data-theme="night"] {
  color-scheme: dark;
  --paper: #070910;
  --paper-strong: #101426;
  --surface: #151a30;
  --surface-muted: #1b2240;
  --ink: #edf0ff;
  --muted: #a4adc8;
  --soft: #7783a7;
  --line: #2f385a;
  --line-strong: #404d78;
  --sage: #8a98d8;
  --sage-dark: #d7ddff;
  --shadow: 0 18px 46px rgba(0, 0, 0, 0.34);
}

:root[data-theme="terminal"] {
  color-scheme: dark;
  --paper: #060906;
  --paper-strong: #0e120e;
  --surface: #121912;
  --surface-muted: #192319;
  --ink: #e8f7e8;
  --muted: #99b499;
  --soft: #6f8f6f;
  --line: #2b3d2b;
  --line-strong: #3d5740;
  --sage: #84d08f;
  --sage-dark: #daf7df;
  --shadow: 0 18px 46px rgba(0, 0, 0, 0.34);
}

:root[data-theme="dune"] {
  --paper: #f8efe2;
  --paper-strong: #eddcc5;
  --surface: #fffaf2;
  --surface-muted: #f6e8d6;
  --ink: #231810;
  --muted: #745743;
  --soft: #9d7960;
  --line: #e2ccb1;
  --line-strong: #c9af90;
  --sage: #a36a42;
  --sage-dark: #5e3b22;
}

:root[data-theme="canyon"] {
  --paper: #f5ebe8;
  --paper-strong: #ead6ce;
  --surface: #fff9f7;
  --surface-muted: #f6e5de;
  --ink: #241513;
  --muted: #7b534b;
  --soft: #a37067;
  --line: #e2c4bc;
  --line-strong: #caa49b;
  --sage: #a55243;
  --sage-dark: #632a21;
}

:root[data-theme="willow"] {
  --paper: #edf4ee;
  --paper-strong: #dde8de;
  --surface: #fbfffc;
  --surface-muted: #eaf3ec;
  --ink: #122017;
  --muted: #4e6757;
  --soft: #748d7d;
  --line: #c5d9cb;
  --line-strong: #a6bea9;
  --sage: #437f58;
  --sage-dark: #235037;
}

:root[data-theme="lagoon"] {
  --paper: #e9f4f5;
  --paper-strong: #d7e8ea;
  --surface: #f9ffff;
  --surface-muted: #e6f3f6;
  --ink: #102026;
  --muted: #4a6873;
  --soft: #6e8b95;
  --line: #bdd6dd;
  --line-strong: #9dbcc6;
  --sage: #2e7b87;
  --sage-dark: #1a4c56;
}

:root[data-theme="sakura"] {
  --paper: #faf0f4;
  --paper-strong: #efdee6;
  --surface: #fffafd;
  --surface-muted: #f7e8ef;
  --ink: #23151b;
  --muted: #765161;
  --soft: #9d7485;
  --line: #e3cfd8;
  --line-strong: #c8adba;
  --sage: #a45a78;
  --sage-dark: #682f49;
}

:root[data-theme="glacier"] {
  --paper: #edf6ff;
  --paper-strong: #dcecf9;
  --surface: #fbfdff;
  --surface-muted: #e9f1f8;
  --ink: #111b27;
  --muted: #52667f;
  --soft: #7890aa;
  --line: #c6d8ea;
  --line-strong: #a8bfd6;
  --sage: #3f75ad;
  --sage-dark: #22486e;
}

:root[data-theme="bronze"] {
  --paper: #f5efe7;
  --paper-strong: #ebdfcf;
  --surface: #fffbf6;
  --surface-muted: #f5eadf;
  --ink: #22170f;
  --muted: #76563e;
  --soft: #9d7a5d;
  --line: #dfccb8;
  --line-strong: #c4ab90;
  --sage: #9a6642;
  --sage-dark: #5f3a24;
}

:root[data-theme="obsidian"] {
  color-scheme: dark;
  --paper: #040506;
  --paper-strong: #0a0c10;
  --surface: #10131a;
  --surface-muted: #171d28;
  --ink: #f2f5fd;
  --muted: #a3afc6;
  --soft: #79869f;
  --line: #2a3345;
  --line-strong: #3b4860;
  --sage: #90a6d6;
  --sage-dark: #dee8ff;
  --shadow: 0 18px 46px rgba(0, 0, 0, 0.4);
}

:root[data-theme="charcoal"] {
  color-scheme: dark;
  --paper: #0b0c0d;
  --paper-strong: #111315;
  --surface: #171a1d;
  --surface-muted: #1f2328;
  --ink: #f0f1f2;
  --muted: #afb4bb;
  --soft: #838b94;
  --line: #2f353d;
  --line-strong: #424a55;
  --sage: #95a3b2;
  --sage-dark: #dfe5ec;
  --shadow: 0 18px 46px rgba(0, 0, 0, 0.36);
}

:root[data-theme="nebula"] {
  color-scheme: dark;
  --paper: #07060d;
  --paper-strong: #120f1e;
  --surface: #19142b;
  --surface-muted: #231c3b;
  --ink: #f3eeff;
  --muted: #b4a9d0;
  --soft: #8b7cad;
  --line: #3a2f5b;
  --line-strong: #4e3f75;
  --sage: #a58cf0;
  --sage-dark: #e6deff;
  --shadow: 0 18px 46px rgba(0, 0, 0, 0.42);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(244, 245, 240, 0.74)),
    var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: 0;
  text-rendering: geometricPrecision;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  background-image:
    linear-gradient(rgba(23, 23, 21, 0.026) 1px, transparent 1px),
    linear-gradient(90deg, rgba(23, 23, 21, 0.022) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(180deg, black, transparent 78%);
}

body::after {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  content: "";
}

:root[data-theme="gray"] body {
  background:
    linear-gradient(180deg, rgba(217, 223, 213, 0.9), rgba(188, 195, 186, 0.9)),
    var(--paper);
}

:root[data-theme="gray"] body::before {
  background-image:
    linear-gradient(rgba(18, 20, 16, 0.038) 1px, transparent 1px),
    linear-gradient(90deg, rgba(18, 20, 16, 0.03) 1px, transparent 1px);
}

:root[data-theme="aurora"] body::after {
  background:
    linear-gradient(135deg, rgba(47, 117, 93, 0.24), transparent 48%),
    linear-gradient(225deg, rgba(46, 109, 145, 0.2), transparent 46%),
    linear-gradient(12deg, rgba(167, 103, 93, 0.16), transparent 60%);
  background-size: 180% 180%;
  animation: softDrift 18s ease-in-out infinite;
}

:root[data-theme="aurora"] .app-sidebar,
:root[data-theme="aurora"] .auth-card,
:root[data-theme="aurora"] .pricing-card {
  background: rgba(251, 255, 252, 0.78);
  backdrop-filter: blur(20px) saturate(1.08);
}

:root[data-theme="aurora"] .product-visual,
:root[data-theme="aurora"] .portfolio-mockup {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.86), rgba(244, 251, 246, 0.8)),
    var(--surface);
  border-color: color-mix(in srgb, var(--sage) 22%, var(--line-strong));
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.42) inset;
}

:root[data-theme="linen"] body {
  background:
    linear-gradient(180deg, rgba(255, 254, 250, 0.92), rgba(246, 238, 226, 0.84)),
    repeating-linear-gradient(
      0deg,
      rgba(125, 107, 84, 0.035) 0,
      rgba(125, 107, 84, 0.035) 1px,
      transparent 1px,
      transparent 5px
    ),
    var(--paper);
}

:root[data-theme="paper"] body {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(246, 241, 231, 0.84)),
    radial-gradient(circle at 14% 12%, rgba(110, 101, 80, 0.07), transparent 42%),
    var(--paper);
}

:root[data-theme="sand"] body {
  background:
    linear-gradient(180deg, rgba(255, 252, 245, 0.9), rgba(246, 238, 220, 0.84)),
    radial-gradient(circle at 86% 20%, rgba(133, 105, 69, 0.08), transparent 38%),
    var(--paper);
}

:root[data-theme="slate"] body {
  background:
    linear-gradient(180deg, rgba(250, 253, 255, 0.9), rgba(228, 237, 244, 0.84)),
    radial-gradient(circle at 82% 12%, rgba(59, 97, 123, 0.09), transparent 42%),
    var(--paper);
}

:root[data-theme="cobalt"] body {
  background:
    linear-gradient(180deg, rgba(248, 251, 255, 0.9), rgba(221, 233, 248, 0.82)),
    radial-gradient(circle at 78% 14%, rgba(49, 95, 152, 0.1), transparent 42%),
    var(--paper);
}

:root[data-theme="marine"] body {
  background:
    linear-gradient(180deg, rgba(249, 254, 255, 0.9), rgba(223, 237, 241, 0.84)),
    radial-gradient(circle at 16% 74%, rgba(47, 106, 120, 0.08), transparent 40%),
    var(--paper);
}

:root[data-theme="solar"] body::after {
  background:
    radial-gradient(circle at 84% 14%, rgba(235, 190, 86, 0.28), transparent 44%),
    radial-gradient(circle at 16% 76%, rgba(181, 132, 46, 0.2), transparent 38%);
  animation: softDrift 22s ease-in-out infinite;
}

:root[data-theme="frost"] body::after {
  background:
    radial-gradient(circle at 82% 24%, rgba(100, 148, 191, 0.2), transparent 42%),
    radial-gradient(circle at 18% 72%, rgba(138, 170, 199, 0.16), transparent 40%);
  animation: softDrift 24s ease-in-out infinite;
}

:root[data-theme="blueprint"] body::before {
  background-image:
    linear-gradient(rgba(31, 99, 140, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(31, 99, 140, 0.065) 1px, transparent 1px);
  background-size: 24px 24px;
  mask-image: linear-gradient(180deg, black, transparent 86%);
}

:root[data-theme="blueprint"] body {
  background:
    linear-gradient(180deg, rgba(247, 252, 253, 0.92), rgba(220, 233, 238, 0.84)),
    var(--paper);
}

:root[data-theme="dune"] body {
  background:
    linear-gradient(180deg, rgba(255, 251, 243, 0.9), rgba(243, 226, 199, 0.84)),
    radial-gradient(circle at 18% 76%, rgba(163, 106, 66, 0.12), transparent 42%),
    var(--paper);
}

:root[data-theme="canyon"] body {
  background:
    linear-gradient(180deg, rgba(255, 249, 246, 0.9), rgba(237, 211, 201, 0.84)),
    radial-gradient(circle at 84% 16%, rgba(165, 82, 67, 0.12), transparent 42%),
    var(--paper);
}

:root[data-theme="willow"] body {
  background:
    linear-gradient(180deg, rgba(252, 255, 252, 0.9), rgba(223, 234, 223, 0.84)),
    radial-gradient(circle at 18% 18%, rgba(67, 127, 88, 0.09), transparent 42%),
    var(--paper);
}

:root[data-theme="lagoon"] body {
  background:
    linear-gradient(180deg, rgba(248, 255, 255, 0.9), rgba(216, 233, 237, 0.84)),
    radial-gradient(circle at 82% 18%, rgba(46, 123, 135, 0.1), transparent 44%),
    var(--paper);
}

:root[data-theme="sakura"] body {
  background:
    linear-gradient(180deg, rgba(255, 251, 254, 0.9), rgba(240, 221, 229, 0.84)),
    radial-gradient(circle at 22% 78%, rgba(164, 90, 120, 0.09), transparent 42%),
    var(--paper);
}

:root[data-theme="glacier"] body {
  background:
    linear-gradient(180deg, rgba(250, 253, 255, 0.92), rgba(220, 233, 245, 0.86)),
    radial-gradient(circle at 84% 18%, rgba(63, 117, 173, 0.1), transparent 42%),
    var(--paper);
}

:root[data-theme="bronze"] body {
  background:
    linear-gradient(180deg, rgba(255, 252, 247, 0.92), rgba(234, 218, 196, 0.84)),
    radial-gradient(circle at 14% 82%, rgba(154, 102, 66, 0.1), transparent 42%),
    var(--paper);
}

:root[data-theme="black"] body {
  background:
    linear-gradient(180deg, rgba(15, 17, 15, 0.96), rgba(9, 10, 9, 0.98)),
    var(--paper);
}

:root[data-theme="ink"] body,
:root[data-theme="night"] body,
:root[data-theme="terminal"] body,
:root[data-theme="ember"] body,
:root[data-theme="obsidian"] body,
:root[data-theme="charcoal"] body,
:root[data-theme="nebula"] body {
  background: linear-gradient(180deg, rgba(10, 12, 18, 0.98), rgba(7, 9, 14, 0.99)), var(--paper);
}

:root[data-theme="night"] body::after {
  background:
    radial-gradient(circle at 72% 16%, rgba(122, 137, 214, 0.16), transparent 38%),
    radial-gradient(circle at 20% 78%, rgba(76, 88, 147, 0.2), transparent 42%);
  animation: softDrift 26s ease-in-out infinite;
}

:root[data-theme="terminal"] body::after {
  background:
    radial-gradient(circle at 70% 14%, rgba(132, 208, 143, 0.1), transparent 42%),
    radial-gradient(circle at 22% 82%, rgba(132, 208, 143, 0.08), transparent 36%);
  animation: softDrift 20s ease-in-out infinite;
}

:root[data-theme="obsidian"] body::after {
  background:
    radial-gradient(circle at 82% 16%, rgba(84, 108, 167, 0.12), transparent 36%),
    radial-gradient(circle at 18% 82%, rgba(48, 64, 102, 0.16), transparent 44%);
  animation: softDrift 24s ease-in-out infinite;
}

:root[data-theme="charcoal"] body::after {
  background:
    radial-gradient(circle at 80% 20%, rgba(120, 138, 158, 0.1), transparent 40%),
    radial-gradient(circle at 20% 78%, rgba(92, 106, 124, 0.12), transparent 42%);
}

:root[data-theme="nebula"] body::after {
  background:
    radial-gradient(circle at 76% 14%, rgba(165, 140, 240, 0.16), transparent 38%),
    radial-gradient(circle at 18% 82%, rgba(109, 84, 177, 0.2), transparent 44%);
  animation: softDrift 28s ease-in-out infinite;
}

:root[data-theme="black"] body::before,
:root[data-theme="ink"] body::before,
:root[data-theme="night"] body::before,
:root[data-theme="terminal"] body::before,
:root[data-theme="ember"] body::before,
:root[data-theme="obsidian"] body::before,
:root[data-theme="charcoal"] body::before,
:root[data-theme="nebula"] body::before {
  background-image:
    linear-gradient(rgba(244, 244, 239, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(244, 244, 239, 0.03) 1px, transparent 1px);
}

:root[data-theme="black"] .site-header,
:root[data-theme="black"] .site-header.is-scrolled,
:root[data-theme="black"] .auth-page .site-header,
:root[data-theme="black"] .pricing-page .site-header,
:root[data-theme="black"] .pricing-page .site-header.is-scrolled,
:root[data-theme="ink"] .site-header,
:root[data-theme="night"] .site-header,
:root[data-theme="terminal"] .site-header,
:root[data-theme="ember"] .site-header,
:root[data-theme="obsidian"] .site-header,
:root[data-theme="charcoal"] .site-header,
:root[data-theme="nebula"] .site-header {
  background: rgba(9, 10, 9, 0.86);
}

:root[data-theme="black"] .nav-action,
:root[data-theme="black"] .language-button,
:root[data-theme="black"] .nav-account,
:root[data-theme="black"] .auth-card,
:root[data-theme="black"] .pricing-card,
:root[data-theme="black"] .product-visual,
:root[data-theme="black"] .step-card,
:root[data-theme="black"] .dashboard-sidebar,
:root[data-theme="black"] .workspace-section,
:root[data-theme="ink"] .nav-action,
:root[data-theme="ink"] .language-button,
:root[data-theme="ink"] .nav-account,
:root[data-theme="ink"] .auth-card,
:root[data-theme="ink"] .pricing-card,
:root[data-theme="ink"] .product-visual,
:root[data-theme="night"] .nav-action,
:root[data-theme="night"] .language-button,
:root[data-theme="night"] .nav-account,
:root[data-theme="night"] .auth-card,
:root[data-theme="night"] .pricing-card,
:root[data-theme="night"] .product-visual,
:root[data-theme="terminal"] .nav-action,
:root[data-theme="terminal"] .language-button,
:root[data-theme="terminal"] .nav-account,
:root[data-theme="terminal"] .auth-card,
:root[data-theme="terminal"] .pricing-card,
:root[data-theme="terminal"] .product-visual,
:root[data-theme="ember"] .nav-action,
:root[data-theme="ember"] .language-button,
:root[data-theme="ember"] .nav-account,
:root[data-theme="ember"] .auth-card,
:root[data-theme="ember"] .pricing-card,
:root[data-theme="ember"] .product-visual,
:root[data-theme="obsidian"] .nav-action,
:root[data-theme="obsidian"] .language-button,
:root[data-theme="obsidian"] .nav-account,
:root[data-theme="obsidian"] .auth-card,
:root[data-theme="obsidian"] .pricing-card,
:root[data-theme="obsidian"] .product-visual,
:root[data-theme="charcoal"] .nav-action,
:root[data-theme="charcoal"] .language-button,
:root[data-theme="charcoal"] .nav-account,
:root[data-theme="charcoal"] .auth-card,
:root[data-theme="charcoal"] .pricing-card,
:root[data-theme="charcoal"] .product-visual,
:root[data-theme="nebula"] .nav-action,
:root[data-theme="nebula"] .language-button,
:root[data-theme="nebula"] .nav-account,
:root[data-theme="nebula"] .auth-card,
:root[data-theme="nebula"] .pricing-card,
:root[data-theme="nebula"] .product-visual {
  background: color-mix(in srgb, var(--surface) 86%, transparent);
}

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

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
}

[hidden] {
  display: none !important;
}

.skip-link {
  position: fixed;
  left: 18px;
  top: 12px;
  z-index: 20;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--surface);
  box-shadow: var(--shadow);
  transform: translateY(-160%);
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid rgba(217, 219, 211, 0);
  background: rgba(250, 250, 247, 0.84);
  backdrop-filter: blur(20px) saturate(1.08);
  transition:
    border-color 180ms ease,
    background 180ms ease;
}

.site-header.is-scrolled {
  border-color: rgba(217, 219, 211, 0.88);
  background: rgba(250, 250, 247, 0.96);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  width: min(100% - 40px, var(--max));
  margin: 0 auto;
  padding: 16px 0;
}

.brand,
.nav-action,
.nav-links a,
.button {
  transition:
    color 180ms ease,
    border-color 180ms ease,
    background 180ms ease,
    transform 180ms ease;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  gap: 10px;
  width: max-content;
  font-weight: 700;
}

.brand-mark {
  width: 28px;
  height: 28px;
}

.nav-links {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin-left: auto;
  color: var(--muted);
  font-size: 0.91rem;
}

.nav-links a {
  position: relative;
  padding: 4px 0;
  white-space: nowrap;
}

.nav-links a::after {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 1px;
  background: currentColor;
  content: "";
  opacity: 0;
  transform: scaleX(0.72);
  transition:
    opacity 180ms ease,
    transform 180ms ease;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--ink);
}

.nav-links a:hover::after,
.nav-links a:focus-visible::after {
  opacity: 0.54;
  transform: scaleX(1);
}

.nav-action {
  flex: 0 0 auto;
  padding: 9px 13px;
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 650;
  white-space: nowrap;
}

.nav-action:hover,
.nav-action:focus-visible {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--surface);
  transform: translateY(-1px);
}

.hero {
  padding: 92px 20px 54px;
}

.hero-inner,
.section-inner,
.account-inner,
.site-footer {
  width: min(100% - 40px, var(--max));
  margin: 0 auto;
}

.hero-copy {
  max-width: 960px;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--sage-dark);
  font-family: var(--mono);
  font-size: 0.78rem;
  font-weight: 680;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  max-width: 980px;
  margin-bottom: 24px;
  font-size: 5.12rem;
  font-weight: 710;
  line-height: 1;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 0;
  font-size: 2.28rem;
  font-weight: 670;
  line-height: 1.1;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.08rem;
  line-height: 1.2;
  letter-spacing: 0;
}

.hero-text {
  max-width: 660px;
  margin-bottom: 30px;
  color: var(--muted);
  font-size: 1.14rem;
  line-height: 1.66;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 16px;
}

.button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  padding: 11px 16px;
  border: 1px solid transparent;
  cursor: pointer;
  font-weight: 650;
  line-height: 1;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.button-primary {
  background: var(--ink);
  color: var(--surface);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: var(--sage-dark);
}

.button-secondary {
  border-color: var(--line);
  background: color-mix(in srgb, var(--surface) 82%, transparent);
  color: var(--ink);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  border-color: var(--ink);
}

.quiet-line {
  margin-bottom: 0;
  color: var(--soft);
  font-size: 0.96rem;
}

.product-visual {
  overflow: hidden;
  margin-top: 54px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.86);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.9) inset,
    var(--shadow);
}

.preview-topbar {
  display: flex;
  min-height: 44px;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid rgba(188, 193, 183, 0.68);
  padding: 0 16px;
  color: var(--soft);
  font-family: var(--mono);
  font-size: 0.78rem;
}

.preview-topbar span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--line-strong);
}

.preview-topbar span:nth-child(2) {
  background: rgba(84, 112, 96, 0.34);
}

.preview-topbar span:nth-child(3) {
  background: rgba(52, 95, 120, 0.34);
}

.preview-topbar p {
  min-width: 116px;
  margin: 0 0 0 10px;
}

.profile-dynamic {
  caret-color: transparent;
}

.profile-dynamic.is-typing::after {
  display: inline-block;
  width: 1px;
  height: 0.92em;
  margin-left: 2px;
  background: currentColor;
  content: "";
  opacity: 0.68;
  transform: translateY(0.12em);
  animation: caret 680ms steps(1) infinite;
}

.portfolio-preview {
  display: grid;
  grid-template-columns: 0.86fr 1.14fr;
  min-height: 358px;
}

.profile-column,
.work-column {
  padding: 32px;
}

.profile-column {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-right: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(70, 102, 87, 0.065), transparent 46%),
    var(--surface);
}

.label {
  margin-bottom: 8px;
  color: var(--soft);
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 650;
  letter-spacing: 0;
  text-transform: uppercase;
}

.profile-column h2 {
  min-height: 42px;
  margin-bottom: 18px;
  font-size: 2.05rem;
}

.profile-bio {
  max-width: 360px;
  min-height: 78px;
  color: var(--muted);
  line-height: 1.62;
}

.stack-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  min-height: 35px;
  margin-top: 32px;
}

.stack-list span {
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  padding: 7px 9px;
  background: rgba(255, 255, 255, 0.66);
  color: var(--sage-dark);
  font-family: var(--mono);
  font-size: 0.78rem;
  transition:
    opacity 240ms ease,
    transform 240ms ease,
    border-color 240ms ease;
  transition-delay: var(--chip-delay, 0ms);
}

.stack-list.is-changing span {
  opacity: 0;
  transform: translateY(5px);
}

.work-column {
  display: grid;
  align-content: center;
  gap: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.34), transparent),
    var(--surface-muted);
}

.project-row {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 24px;
  border-top: 1px solid var(--line);
  padding: 24px 0;
}

.project-row:first-child {
  border-top: 0;
  padding-top: 0;
}

.project-row h3 {
  min-height: 21px;
  margin-bottom: 0;
}

.project-row p:last-child {
  min-height: 24px;
  margin-bottom: 0;
  color: var(--muted);
}

.timeline-strip {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
  margin-top: 8px;
}

.timeline-strip span {
  position: relative;
  height: 8px;
  overflow: hidden;
  border-radius: 4px;
  background: #e1e4dc;
}

.timeline-strip span::after {
  position: absolute;
  inset: 0;
  width: 42%;
  border-radius: inherit;
  background: var(--sage);
  content: "";
  transform: translateX(-110%);
  animation: trace 5.4s ease-in-out infinite;
}

.timeline-strip span:nth-child(2)::after {
  animation-delay: 0.18s;
  background: var(--blue);
}

.timeline-strip span:nth-child(3)::after {
  animation-delay: 0.32s;
  background: var(--clay);
}

.timeline-strip span:nth-child(4)::after {
  animation-delay: 0.44s;
}

.timeline-strip span:nth-child(5)::after {
  animation-delay: 0.56s;
  background: var(--blue);
}

.section {
  padding: 76px 20px;
  position: relative;
}

.section-plain {
  border-top: 1px solid rgba(222, 223, 215, 0.72);
}

.section-heading {
  max-width: 740px;
  margin-bottom: 34px;
}

.step-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.step-card {
  position: relative;
  overflow: hidden;
  min-height: 220px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.74), rgba(250, 250, 247, 0.74)),
    var(--surface);
  transition:
    border-color 260ms ease,
    background 260ms ease,
    transform 260ms ease;
}

.step-card::before,
.feature-item::before {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line-strong), var(--sage), transparent);
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 820ms cubic-bezier(0.22, 1, 0.36, 1);
}

.step-card.is-visible::before,
.feature-item.is-visible::before {
  transform: scaleX(1);
}

.step-number {
  display: block;
  margin-bottom: 52px;
  color: var(--sage-dark);
  font-family: var(--mono);
  font-size: 0.82rem;
}

.step-card p {
  margin-bottom: 0;
  color: var(--muted);
}

.step-card:hover {
  border-color: var(--line-dark);
  background: rgba(255, 255, 255, 0.92);
  transform: translateY(-2px);
}

.section-split {
  border-top: 1px solid rgba(222, 223, 215, 0.72);
  border-bottom: 1px solid rgba(222, 223, 215, 0.72);
  background: rgba(255, 255, 255, 0.58);
}

.split-inner {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 90px;
  align-items: start;
}

.copy-block {
  max-width: 460px;
}

.text-stack {
  color: var(--muted);
  font-size: 1.04rem;
  line-height: 1.72;
}

.text-stack p:last-child {
  margin-bottom: 0;
}

.launch-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 70px;
  align-items: start;
}

.feature-list {
  border-top: 1px solid var(--line);
}

.feature-item {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 12px 1fr;
  gap: 16px;
  align-items: start;
  border-bottom: 1px solid var(--line);
  padding: 20px 0;
  transition:
    background 260ms ease,
    transform 260ms ease;
}

.feature-dot {
  width: 8px;
  height: 8px;
  margin-top: 8px;
  border-radius: 50%;
  background: var(--sage);
}

.feature-item:nth-child(2) .feature-dot {
  background: var(--blue);
}

.feature-item:nth-child(3) .feature-dot {
  background: var(--clay);
}

.feature-item p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 1.02rem;
}

.pricing-section {
  background: rgba(255, 255, 255, 0.42);
}

.pricing-heading,
.comparison-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: end;
  margin-bottom: 34px;
}

.pricing-heading h2,
.comparison-heading h2 {
  max-width: 760px;
}

.text-link {
  position: relative;
  width: max-content;
  color: var(--ink);
  font-size: 0.94rem;
  font-weight: 650;
  white-space: nowrap;
}

.text-link::after {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -3px;
  height: 1px;
  background: currentColor;
  content: "";
  opacity: 0.34;
  transition:
    opacity 180ms ease,
    transform 180ms ease;
}

.text-link:hover::after,
.text-link:focus-visible::after {
  opacity: 0.8;
  transform: translateY(-1px);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.pricing-card {
  display: flex;
  min-height: 430px;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(250, 250, 247, 0.72)),
    var(--surface);
  transition:
    border-color 220ms ease,
    background 220ms ease,
    transform 220ms ease,
    box-shadow 220ms ease;
}

.pricing-card:hover {
  border-color: var(--line-dark);
  transform: translateY(-2px);
  box-shadow: 0 16px 38px rgba(24, 29, 22, 0.07);
}

.pricing-card.is-default {
  border-color: rgba(70, 102, 87, 0.44);
  background:
    linear-gradient(180deg, rgba(236, 246, 237, 0.92), rgba(248, 252, 247, 0.86)),
    var(--surface);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.92) inset,
    0 18px 42px rgba(70, 102, 87, 0.11);
}

.plan-topline {
  display: flex;
  min-height: 30px;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
}

.plan-topline h3 {
  margin-bottom: 0;
  font-size: 1.08rem;
}

.plan-topline span {
  border: 1px solid rgba(70, 102, 87, 0.28);
  border-radius: 6px;
  padding: 5px 8px;
  background: rgba(255, 255, 255, 0.62);
  color: var(--sage-dark);
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 650;
}

.plan-price {
  margin-bottom: 14px;
  color: var(--ink);
  font-size: 2.65rem;
  font-weight: 700;
  line-height: 1;
}

.plan-price span {
  color: var(--soft);
  font-size: 0.98rem;
  font-weight: 560;
}

.plan-copy {
  min-height: 75px;
  margin-bottom: 24px;
  color: var(--muted);
  line-height: 1.62;
}

.plan-features {
  display: grid;
  gap: 12px;
  margin: 0 0 26px;
  padding: 0;
  color: var(--muted);
  list-style: none;
}

.plan-features li {
  position: relative;
  padding-left: 18px;
}

.plan-features li::before {
  position: absolute;
  left: 0;
  top: 0.68em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--sage);
  content: "";
}

.plan-button {
  width: 100%;
  margin-top: auto;
}

.page-hero {
  padding: 86px 20px 58px;
}

.page-hero h1 {
  max-width: 860px;
  font-size: 4.35rem;
}

.page-hero-text {
  max-width: 700px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 1.14rem;
  line-height: 1.66;
}

.comparison-section {
  padding-top: 68px;
}

.comparison-wrap {
  overflow-x: auto;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.84);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.9) inset,
    var(--shadow);
}

.comparison-table {
  width: 100%;
  min-width: 820px;
  border-collapse: collapse;
  color: var(--ink);
}

.comparison-table caption {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.comparison-table th,
.comparison-table td {
  border-bottom: 1px solid var(--line);
  padding: 18px 20px;
  text-align: center;
  vertical-align: middle;
}

.comparison-table thead th {
  position: sticky;
  top: 0;
  z-index: 1;
  background: rgba(250, 250, 247, 0.96);
  font-size: 0.94rem;
  font-weight: 700;
}

.comparison-table th:first-child {
  width: 42%;
  text-align: left;
}

.comparison-table tbody th {
  color: var(--muted);
  font-weight: 560;
}

.comparison-table tbody tr:last-child th,
.comparison-table tbody tr:last-child td {
  border-bottom: 0;
}

.comparison-table .default-column {
  background: rgba(236, 246, 237, 0.68);
}

.mark {
  display: inline-flex;
  width: 24px;
  height: 24px;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  font-size: 1.1rem;
  font-weight: 760;
  line-height: 1;
}

.compare-hero {
  padding: 78px 20px 42px;
}

.compare-hero h1 {
  max-width: 880px;
  font-size: 4rem;
}

.compare-hero-text {
  max-width: 690px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 1.12rem;
  line-height: 1.66;
}

.compare-section {
  padding-top: 42px;
}

.plan-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 54px;
}

.compare-plan {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  background: rgba(255, 255, 255, 0.72);
}

.compare-plan.is-default {
  border-color: rgba(70, 102, 87, 0.42);
  background:
    linear-gradient(180deg, rgba(236, 246, 237, 0.92), rgba(248, 252, 247, 0.86)),
    var(--surface);
}

.compare-plan p {
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 650;
}

.compare-plan strong {
  display: block;
  margin-bottom: 8px;
  font-size: 2rem;
  line-height: 1;
}

.compare-plan span {
  color: var(--soft);
  font-size: 0.92rem;
}

.clean-heading {
  margin-bottom: 22px;
}

.clean-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.88);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.9) inset,
    0 18px 42px rgba(24, 29, 22, 0.06);
}

.clean-table {
  width: 100%;
  min-width: 780px;
  border-collapse: collapse;
}

.clean-table caption {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.clean-table th,
.clean-table td {
  border-bottom: 1px solid var(--line);
  padding: 16px 18px;
  text-align: center;
  vertical-align: middle;
}

.clean-table thead th {
  background: rgba(250, 250, 247, 0.98);
  color: var(--ink);
  font-size: 0.94rem;
  font-weight: 720;
}

.clean-table th:first-child {
  width: 44%;
  text-align: left;
}

.clean-table tbody th {
  color: var(--muted);
  font-size: 0.96rem;
  font-weight: 560;
}

.clean-table .default-column {
  background: rgba(236, 246, 237, 0.68);
}

.clean-table .table-group th {
  border-bottom: 1px solid var(--line-strong);
  background: rgba(246, 247, 242, 0.82);
  color: var(--sage-dark);
  font-family: var(--mono);
  font-size: 0.74rem;
  font-weight: 680;
  text-transform: uppercase;
}

.clean-table tbody tr:last-child th,
.clean-table tbody tr:last-child td {
  border-bottom: 0;
}

.simple-pricing-page .site-header,
.simple-pricing-page .site-header.is-scrolled {
  border-color: rgba(217, 219, 211, 0.72);
  background: rgba(250, 250, 247, 0.94);
  transition: none;
}

.pricing-clean-hero {
  padding: 86px 20px 54px;
}

.pricing-clean-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 86px;
  align-items: end;
}

.pricing-clean-hero h1 {
  max-width: 800px;
  font-size: 4.15rem;
}

.pricing-clean-text {
  max-width: 650px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 1.12rem;
  line-height: 1.66;
}

.price-lines {
  border-top: 1px solid var(--line-strong);
}

.price-line {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4px 18px;
  align-items: baseline;
  border-bottom: 1px solid var(--line);
  padding: 18px 0;
}

.price-line span {
  color: var(--ink);
  font-size: 1rem;
  font-weight: 680;
}

.price-line strong {
  color: var(--ink);
  font-size: 1.42rem;
  font-weight: 720;
  line-height: 1;
}

.price-line small {
  color: var(--soft);
  font-size: 0.88rem;
}

.price-cta {
  justify-self: end;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 10px;
  background: color-mix(in srgb, var(--surface) 76%, transparent);
  color: var(--ink);
  font-size: 0.78rem;
  font-weight: 650;
  text-decoration: none;
  transition:
    border-color 180ms ease,
    background 180ms ease,
    transform 180ms ease;
}

.price-cta:hover,
.price-cta:focus-visible {
  border-color: var(--ink);
  background: var(--surface);
  transform: translateY(-1px);
}

.pricing-showcase-section {
  padding: 54px 20px 68px;
  border-top: 1px solid rgba(222, 223, 215, 0.72);
}

.pricing-showcase-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 32px;
  align-items: end;
  margin-bottom: 28px;
}

.pricing-showcase-head h2 {
  max-width: 680px;
  margin-bottom: 12px;
  font-size: 2.06rem;
}

.pricing-showcase-head p:last-child {
  max-width: 660px;
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.62;
}

.plan-switcher {
  display: inline-grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 3px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 4px;
  background: color-mix(in srgb, var(--surface) 76%, transparent);
}

.plan-switcher button {
  min-width: 86px;
  min-height: 37px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 720;
  transition:
    background 180ms ease,
    color 180ms ease;
}

.plan-switcher button:hover,
.plan-switcher button:focus-visible {
  color: var(--ink);
}

.plan-switcher button.is-active {
  background: var(--ink);
  color: var(--paper);
}

.plan-preview {
  display: none;
  grid-template-columns: 0.72fr 1.28fr;
  gap: 36px;
  align-items: center;
  border-top: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
  padding: 30px 0;
}

.plan-preview.is-active {
  display: grid;
}

.plan-preview-copy h3 {
  margin-bottom: 12px;
  font-size: 1.82rem;
}

.plan-preview-copy p:not(.label) {
  max-width: 460px;
  color: var(--muted);
  line-height: 1.64;
}

.plan-preview-list {
  display: grid;
  gap: 9px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.plan-preview-list li {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 650;
}

.plan-preview-list li::before {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--sage);
  content: "";
}

.portfolio-mockup {
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.74), rgba(250, 250, 247, 0.72)),
    var(--surface);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.86) inset,
    0 18px 48px rgba(24, 29, 22, 0.08);
}

.mockup-browser {
  display: flex;
  align-items: center;
  gap: 7px;
  min-height: 40px;
  border-bottom: 1px solid var(--line);
  padding: 0 14px;
  color: var(--soft);
  font-family: var(--mono);
  font-size: 0.75rem;
}

.mockup-browser span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--line-strong);
}

.mockup-browser p {
  margin: 0 0 0 8px;
}

.mockup-page {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  min-height: 362px;
}

.mockup-profile,
.mockup-work {
  padding: 28px;
}

.mockup-profile {
  border-right: 1px solid var(--line);
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--sage) 12%, transparent), transparent 50%),
    var(--surface);
}

.mockup-avatar {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  margin-bottom: 28px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: var(--surface-muted);
  color: var(--sage-dark);
  font-family: var(--mono);
  font-size: 0.82rem;
  font-weight: 760;
}

.mockup-profile h3 {
  margin-bottom: 12px;
  font-size: 1.86rem;
  line-height: 1.04;
}

.mockup-profile p:not(.label),
.mockup-project span {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.55;
}

.mockup-stack,
.mockup-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 24px;
}

.mockup-stack span,
.mockup-metrics span {
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 6px 8px;
  background: color-mix(in srgb, var(--surface) 74%, transparent);
  color: var(--sage-dark);
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 650;
}

.mockup-work {
  display: grid;
  align-content: center;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.36), transparent),
    var(--surface-muted);
}

.mockup-project {
  border-top: 1px solid var(--line);
  padding: 17px 0;
}

.mockup-project strong,
.mockup-project span {
  display: block;
}

.mockup-project strong {
  margin-bottom: 5px;
  font-size: 0.98rem;
}

.mockup-timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-top: 10px;
}

.mockup-timeline span {
  position: relative;
  height: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: var(--line);
}

.mockup-timeline span::after {
  position: absolute;
  inset: 0;
  width: 54%;
  border-radius: inherit;
  background: var(--sage);
  content: "";
}

.mockup-timeline span:nth-child(2)::after {
  width: 72%;
}

.mockup-timeline span:nth-child(3)::after {
  width: 46%;
}

.mockup-timeline span:nth-child(4)::after {
  width: 82%;
}

.mockup-watermark {
  display: inline-flex;
  width: max-content;
  margin-top: 10px;
  color: var(--soft);
  font-family: var(--mono);
  font-size: 0.72rem;
}

.portfolio-mockup-pro {
  border-color: rgba(31, 99, 140, 0.44);
  background:
    linear-gradient(135deg, rgba(31, 99, 140, 0.12), transparent 44%),
    linear-gradient(225deg, rgba(47, 117, 93, 0.1), transparent 48%),
    #f7fbfc;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.92) inset,
    0 22px 58px rgba(31, 99, 140, 0.14);
}

.portfolio-mockup-pro .mockup-browser {
  min-height: 46px;
  border-bottom-color: rgba(31, 99, 140, 0.18);
  background:
    linear-gradient(90deg, rgba(31, 99, 140, 0.09), rgba(47, 117, 93, 0.055)),
    rgba(255, 255, 255, 0.62);
  color: #44606b;
}

.portfolio-mockup-pro .mockup-profile {
  border-right-color: rgba(31, 99, 140, 0.18);
  background:
    linear-gradient(160deg, rgba(31, 99, 140, 0.16), rgba(47, 117, 93, 0.07) 48%, transparent 74%),
    #eff7f8;
}

.portfolio-mockup-pro .mockup-work {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.56), transparent),
    #f9fcfb;
}

.portfolio-mockup-pro .mockup-avatar {
  border-color: rgba(31, 99, 140, 0.24);
  background: #ffffff;
  color: #1f638c;
  box-shadow: 0 10px 22px rgba(31, 99, 140, 0.12);
}

.portfolio-mockup-pro .mockup-profile h3 {
  color: #10242c;
}

.portfolio-mockup-pro .mockup-profile p:not(.label),
.portfolio-mockup-pro .mockup-project span {
  color: #4c6269;
}

.portfolio-mockup-pro .mockup-project {
  border-top-color: rgba(31, 99, 140, 0.14);
}

.portfolio-mockup-pro .mockup-stack span,
.portfolio-mockup-pro .mockup-metrics span {
  border-color: rgba(31, 99, 140, 0.2);
  background: #ffffff;
  color: #174a62;
}

.portfolio-mockup-pro .mockup-browser span:nth-child(2),
.portfolio-mockup-pro .mockup-timeline span::after,
.portfolio-mockup-pro .plan-preview-list li::before {
  background: var(--blue);
}

.portfolio-mockup-studio {
  color-scheme: dark;
  border-color: rgba(130, 155, 136, 0.32);
  background:
    linear-gradient(135deg, rgba(142, 181, 158, 0.16), transparent 44%),
    #090b09;
  color: #f5f5ee;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.08) inset,
    0 22px 62px rgba(0, 0, 0, 0.24);
}

.portfolio-mockup-studio .mockup-browser,
.portfolio-mockup-studio .mockup-profile,
.portfolio-mockup-studio .mockup-project {
  border-color: rgba(245, 245, 238, 0.13);
}

.portfolio-mockup-studio .mockup-browser {
  color: #8f9b8f;
}

.portfolio-mockup-studio .mockup-page {
  background: #0e110e;
}

.portfolio-mockup-studio .mockup-profile {
  background:
    linear-gradient(135deg, rgba(142, 181, 158, 0.18), transparent 58%),
    #111611;
}

.portfolio-mockup-studio .mockup-work {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), transparent),
    #0d100d;
}

.portfolio-mockup-studio .mockup-avatar,
.portfolio-mockup-studio .mockup-stack span,
.portfolio-mockup-studio .mockup-metrics span {
  border-color: rgba(245, 245, 238, 0.16);
  background: rgba(245, 245, 238, 0.055);
  color: #dce8dd;
}

.portfolio-mockup-studio .label {
  color: #90aa96;
}

.portfolio-mockup-studio .mockup-profile p:not(.label),
.portfolio-mockup-studio .mockup-project span {
  color: #aab5aa;
}

.pricing-clean-section {
  padding: 56px 20px 86px;
  border-top: 1px solid rgba(222, 223, 215, 0.72);
}

.pricing-clean-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
}

.pricing-clean-heading h2 {
  font-size: 2rem;
}

.simple-table-wrap {
  overflow-x: auto;
  border-top: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
}

.simple-pricing-table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
  table-layout: fixed;
}

.simple-pricing-table caption {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.simple-pricing-table th,
.simple-pricing-table td {
  border-bottom: 1px solid var(--line);
}

.simple-pricing-table thead th {
  padding: 22px 18px;
  color: var(--ink);
  text-align: center;
  vertical-align: bottom;
}

.simple-pricing-table thead th:first-child {
  width: 46%;
  color: var(--soft);
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 680;
  text-align: left;
  text-transform: uppercase;
}

.simple-pricing-table thead th span,
.simple-pricing-table thead th small {
  display: block;
}

.simple-pricing-table thead th span {
  margin-bottom: 7px;
  font-size: 1rem;
  font-weight: 700;
}

.simple-pricing-table thead th small {
  color: var(--soft);
  font-size: 0.84rem;
  font-weight: 560;
}

.simple-pricing-table tbody th {
  width: 46%;
  padding: 18px 18px 18px 0;
  color: var(--ink);
  font-size: 0.98rem;
  font-weight: 570;
  text-align: left;
}

.simple-pricing-table tbody td {
  width: 18%;
  padding: 18px;
  color: var(--ink);
  font-size: 1.14rem;
  font-weight: 720;
  text-align: center;
}

.simple-pricing-table tbody tr:last-child th,
.simple-pricing-table tbody tr:last-child td {
  border-bottom: 0;
}

.simple-pricing-table thead th:nth-child(3),
.simple-pricing-table tbody td:nth-child(3) {
  background: rgba(255, 255, 255, 0.5);
}

.pricing-note {
  max-width: 680px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.62;
}

.pricing-page .site-header,
.pricing-page .site-header.is-scrolled {
  border-color: rgba(217, 219, 211, 0.72);
  background: rgba(250, 250, 247, 0.94);
  transition: none;
}

.pricing-page .compare-section {
  padding-top: 30px;
}

.pricing-matrix-wrap {
  overflow-x: auto;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.84), rgba(250, 250, 247, 0.7)),
    var(--surface);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.92) inset,
    0 18px 44px rgba(24, 29, 22, 0.06);
}

.pricing-matrix {
  width: 100%;
  min-width: 860px;
  border-collapse: collapse;
  table-layout: fixed;
}

.pricing-matrix caption {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.pricing-matrix th,
.pricing-matrix td {
  border-bottom: 1px solid var(--line);
  vertical-align: middle;
}

.pricing-matrix th + th,
.pricing-matrix td + td {
  border-left: 1px solid rgba(217, 219, 211, 0.72);
}

.pricing-matrix thead th {
  border-bottom-color: var(--line-strong);
  padding: 28px 22px 24px;
  color: var(--ink);
  text-align: center;
  vertical-align: middle;
}

.pricing-matrix thead th:first-child {
  width: 43%;
  color: var(--soft);
  text-align: left;
}

.pricing-matrix tbody th {
  width: 43%;
  padding: 19px 28px 19px 24px;
  text-align: left;
}

.pricing-matrix tbody td {
  width: 19%;
  padding: 19px 20px;
  text-align: center;
}

.pricing-matrix tbody tr:hover th,
.pricing-matrix tbody tr:hover td {
  background: rgba(255, 255, 255, 0.62);
}

.pricing-matrix tbody tr:last-child th,
.pricing-matrix tbody tr:last-child td,
.pricing-matrix tfoot th,
.pricing-matrix tfoot td {
  border-bottom: 0;
}

.pricing-matrix .default-column {
  background: rgba(236, 246, 237, 0.48);
}

.pricing-matrix thead th:nth-child(3),
.pricing-matrix tbody td:nth-child(3),
.pricing-matrix tfoot td:nth-child(3) {
  background: rgba(255, 255, 255, 0.82);
  box-shadow:
    1px 0 0 rgba(23, 23, 21, 0.06) inset,
    -1px 0 0 rgba(23, 23, 21, 0.06) inset;
}

.matrix-feature-label,
.matrix-plan,
.matrix-price,
.matrix-note,
.matrix-badge,
.feature-title,
.feature-desc {
  display: block;
}

.matrix-feature-label {
  width: max-content;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 7px 9px;
  background: rgba(255, 255, 255, 0.68);
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 680;
  text-transform: uppercase;
}

.matrix-badge {
  width: max-content;
  margin: 0 auto 12px;
  border: 1px solid rgba(70, 102, 87, 0.28);
  border-radius: 6px;
  padding: 5px 8px;
  background: rgba(236, 246, 237, 0.72);
  color: var(--sage-dark);
  font-family: var(--mono);
  font-size: 0.68rem;
  font-weight: 700;
}

.matrix-plan {
  margin-bottom: 12px;
  color: var(--ink);
  font-size: 1rem;
  font-weight: 700;
}

.matrix-price {
  margin-bottom: 8px;
  color: var(--ink);
  font-size: 1.62rem;
  font-weight: 740;
  line-height: 1;
}

.matrix-note {
  color: var(--soft);
  font-size: 0.78rem;
  font-weight: 560;
}

.feature-title {
  margin-bottom: 5px;
  color: var(--ink);
  font-size: 1rem;
  font-weight: 650;
}

.feature-desc {
  max-width: 420px;
  color: var(--soft);
  font-size: 0.875rem;
  font-weight: 450;
  line-height: 1.45;
}

.pricing-matrix tfoot th,
.pricing-matrix tfoot td {
  border-top: 1px solid var(--line-strong);
  padding: 22px;
}

.pricing-matrix tfoot th {
  color: var(--ink);
  font-size: 0.96rem;
  font-weight: 680;
  text-align: left;
}

.matrix-action {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  padding: 9px 12px;
  font-size: 0.88rem;
  font-weight: 680;
  white-space: nowrap;
  transition:
    background 180ms ease,
    border-color 180ms ease,
    color 180ms ease,
    transform 180ms ease;
}

.matrix-action:hover,
.matrix-action:focus-visible {
  transform: translateY(-1px);
}

.matrix-action.primary {
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--surface);
}

.matrix-action.secondary {
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.7);
  color: var(--ink);
}

.account-section {
  padding: 78px 20px;
  border-top: 1px solid rgba(222, 223, 215, 0.72);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.78), rgba(244, 245, 240, 0.9)),
    var(--paper-strong);
}

.account-inner {
  max-width: 790px;
}

.account-section h2 {
  margin-bottom: 18px;
}

.account-section p {
  max-width: 560px;
  margin-bottom: 0;
  color: var(--muted);
}

.account-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.nav form {
  flex: 0 0 auto;
  margin: 0;
}

.nav-tools,
.nav-auth {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  gap: 10px;
}

.beta-payment-pill {
  display: inline-flex;
  min-height: 34px;
  max-width: 220px;
  align-items: center;
  border: 1px solid color-mix(in srgb, var(--clay) 42%, var(--line));
  border-radius: 6px;
  padding: 0 10px;
  background: color-mix(in srgb, var(--clay) 10%, var(--surface));
  color: color-mix(in srgb, var(--clay) 74%, var(--ink));
  font-size: 0.78rem;
  font-weight: 720;
  line-height: 1.2;
  white-space: normal;
}

.beta-payment-note,
.beta-payment-sidebar {
  border: 1px solid color-mix(in srgb, var(--clay) 36%, var(--line));
  border-radius: 8px;
  padding: 10px 12px;
  background: color-mix(in srgb, var(--clay) 8%, var(--surface));
  color: color-mix(in srgb, var(--clay) 70%, var(--ink));
  font-size: 0.9rem;
  font-weight: 650;
  line-height: 1.45;
}

.beta-payment-note {
  max-width: 680px;
  margin: 14px 0 0;
}

.beta-payment-sidebar {
  margin: 0;
  font-size: 0.82rem;
}

.language-switch {
  position: relative;
  flex: 0 0 auto;
}

.language-button {
  display: inline-flex;
  min-width: 42px;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.62);
  color: var(--ink);
  cursor: pointer;
  font-family: var(--mono);
  font-size: 0.78rem;
  font-weight: 760;
  transition:
    border-color 180ms ease,
    background 180ms ease,
    transform 180ms ease;
}

.language-button:hover,
.language-button:focus-visible {
  border-color: var(--line-dark);
  background: var(--surface);
  transform: translateY(-1px);
}

.language-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  z-index: 30;
  display: grid;
  min-width: 154px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 6px;
  background: color-mix(in srgb, var(--surface) 94%, transparent);
  box-shadow: var(--shadow);
}

.language-menu button {
  border: 0;
  border-radius: 6px;
  padding: 8px 10px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-size: 0.9rem;
  text-align: left;
}

.language-menu button:hover,
.language-menu button:focus-visible,
.language-menu button.is-active {
  background: var(--surface-muted);
  color: var(--ink);
}

.app-sidebar-bottom .language-menu {
  top: auto;
  right: auto;
  bottom: calc(100% + 8px);
  left: 0;
}

.nav-account {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 6px 9px 6px 7px;
  background: rgba(255, 255, 255, 0.64);
  transition:
    border-color 180ms ease,
    background 180ms ease,
    transform 180ms ease;
}

.nav-account:hover,
.nav-account:focus-visible {
  border-color: var(--line-dark);
  background: rgba(255, 255, 255, 0.92);
  transform: translateY(-1px);
}

.nav-avatar {
  display: inline-flex;
  width: 26px;
  height: 26px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--ink);
  color: var(--surface);
  font-size: 0.72rem;
  font-weight: 760;
  line-height: 1;
}

.nav-account-text {
  display: grid;
  min-width: 0;
  gap: 1px;
}

.nav-account-text strong {
  color: var(--ink);
  font-size: 0.82rem;
  line-height: 1.05;
}

.nav-account-text small {
  max-width: 150px;
  overflow: hidden;
  color: var(--soft);
  font-size: 0.73rem;
  line-height: 1.05;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.nav-button {
  cursor: pointer;
}

.auth-page .site-header,
.dashboard-page .site-header {
  border-color: rgba(217, 219, 211, 0.72);
  background: rgba(250, 250, 247, 0.94);
}

.auth-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 430px;
  gap: 86px;
  align-items: start;
  width: min(100% - 40px, var(--max));
  margin: 0 auto;
  padding: 86px 0 78px;
}

.auth-copy {
  max-width: 660px;
}

.auth-copy h1 {
  font-size: 4.15rem;
}

.auth-copy p {
  max-width: 610px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 1.12rem;
  line-height: 1.66;
}

.auth-card {
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  padding: 24px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(250, 250, 247, 0.78)),
    var(--surface);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.92) inset,
    var(--shadow);
}

.auth-card-head {
  margin-bottom: 24px;
}

.auth-card-head h2 {
  margin-bottom: 10px;
  font-size: 1.6rem;
}

.auth-card-head p,
.auth-switch {
  margin-bottom: 0;
  color: var(--muted);
}

.auth-card label {
  display: block;
  margin: 18px 0 8px;
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 650;
}

.auth-card input[type="email"],
.auth-card input[type="password"],
.auth-card input[type="text"] {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 0 13px;
  background: var(--surface);
  color: var(--ink);
  outline: none;
  transition:
    border-color 160ms ease,
    box-shadow 160ms ease;
}

.auth-card input:focus {
  border-color: var(--sage);
  box-shadow: 0 0 0 3px rgba(84, 112, 96, 0.14);
}

.password-field {
  position: relative;
}

.password-field input[type="password"],
.password-field input[type="text"] {
  padding-right: 46px;
}

.password-toggle {
  position: absolute;
  right: 8px;
  top: 50%;
  display: inline-flex;
  width: 30px;
  height: 30px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--soft);
  cursor: pointer;
  transform: translateY(-50%);
  transition:
    background 160ms ease,
    color 160ms ease;
}

.password-toggle:hover,
.password-toggle:focus-visible {
  background: rgba(23, 23, 21, 0.06);
  color: var(--ink);
  outline: none;
}

.password-toggle svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.password-toggle .icon-eye-open {
  display: none;
}

.password-toggle[aria-pressed="true"] .icon-eye-open {
  display: block;
}

.password-toggle[aria-pressed="true"] .icon-eye-closed {
  display: none;
}

.password-check {
  margin-top: 10px;
}

.password-meter {
  overflow: hidden;
  height: 4px;
  border-radius: 99px;
  background: rgba(217, 219, 211, 0.74);
}

.password-meter span {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: var(--line-dark);
  transition:
    width 220ms ease,
    background 220ms ease;
}

.password-check p,
.field-note,
.override-message {
  margin-bottom: 0;
  color: var(--soft);
  font-size: 0.86rem;
  line-height: 1.48;
}

.password-check p {
  margin-top: 8px;
}

.password-check.is-weak p {
  color: #6f4037;
}

.password-check.is-weak .password-meter span {
  width: 34%;
  background: var(--clay);
}

.password-check.is-medium p {
  color: #6f5b31;
}

.password-check.is-medium .password-meter span {
  width: 64%;
  background: #a17c3c;
}

.password-check.is-strong p {
  color: var(--sage-dark);
}

.password-check.is-strong .password-meter span {
  width: 100%;
  background: var(--sage);
}

.security-override {
  margin-top: 14px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 14px 0;
}

.security-override p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.52;
}

.auth-card .override-consent {
  display: grid;
  grid-template-columns: 16px 1fr;
  gap: 9px;
  align-items: start;
  margin: 12px 0;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 520;
}

.override-consent input {
  width: 15px;
  height: 15px;
  margin: 3px 0 0;
  accent-color: var(--sage-dark);
}

.override-button {
  min-height: 36px;
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  padding: 8px 11px;
  background: rgba(255, 255, 255, 0.66);
  color: var(--ink);
  cursor: pointer;
  font-size: 0.86rem;
  font-weight: 680;
  transition:
    border-color 180ms ease,
    background 180ms ease,
    color 180ms ease,
    transform 180ms ease;
}

.override-button:hover,
.override-button:focus-visible {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--surface);
  transform: translateY(-1px);
}

.security-override.is-enabled {
  border-color: rgba(70, 102, 87, 0.34);
}

.security-override.is-enabled .override-message {
  color: var(--sage-dark);
}

.override-message {
  min-height: 20px;
  margin-top: 9px;
}

.field-note {
  margin-top: 8px;
  transition: color 180ms ease;
}

.field-note.is-active {
  color: var(--sage-dark);
}

.auth-submit {
  width: 100%;
  margin-top: 24px;
}

.auth-switch {
  margin-top: 18px;
  font-size: 0.94rem;
  text-align: center;
}

.auth-switch a {
  color: var(--ink);
  font-weight: 650;
}

.auth-error {
  border: 1px solid rgba(136, 93, 82, 0.34);
  border-radius: 6px;
  padding: 10px 12px;
  background: rgba(136, 93, 82, 0.08);
  color: #63372e;
  font-size: 0.92rem;
}

.dashboard-shell {
  width: min(100% - 40px, var(--max));
  margin: 0 auto;
  padding: 76px 0 84px;
}

.dashboard-heading {
  max-width: 760px;
  margin-bottom: 40px;
}

.dashboard-heading h1 {
  font-size: 4rem;
}

.dashboard-heading p {
  max-width: 680px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.66;
}

.dashboard-heading strong {
  color: var(--ink);
  font-weight: 650;
}

.dashboard-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 14px;
}

.dashboard-panel {
  min-height: 250px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.74), rgba(250, 250, 247, 0.74)),
    var(--surface);
}

.dashboard-panel.primary-panel {
  border-color: rgba(70, 102, 87, 0.42);
  background:
    linear-gradient(180deg, rgba(236, 246, 237, 0.86), rgba(248, 252, 247, 0.78)),
    var(--surface);
}

.dashboard-panel h2 {
  margin-bottom: 16px;
  font-size: 1.45rem;
}

.dashboard-panel p:last-of-type {
  margin-bottom: 24px;
  color: var(--muted);
  line-height: 1.62;
}

.dashboard-panel .button:disabled {
  cursor: not-allowed;
  opacity: 0.55;
  transform: none;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
}

.form-row input {
  min-width: 0;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 0 13px;
  background: var(--surface);
  color: var(--ink);
  outline: none;
  transition:
    border-color 160ms ease,
    box-shadow 160ms ease;
}

.form-row input:focus {
  border-color: var(--sage);
  box-shadow: 0 0 0 3px rgba(84, 112, 96, 0.14);
}

.form-note {
  min-height: 21px;
  margin-top: 12px;
  color: var(--soft);
  font-size: 0.88rem;
}

.dashboard-page {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.86), rgba(244, 245, 240, 0.86)),
    var(--paper);
}

.dashboard-shell {
  display: grid;
  grid-template-columns: 236px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  width: min(100% - 40px, var(--max));
  margin: 0 auto;
  padding: 48px 0 84px;
}

.dashboard-sidebar {
  position: sticky;
  top: 86px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 12px 30px rgba(24, 29, 22, 0.045);
}

.sidebar-label {
  margin-bottom: 14px;
  color: var(--soft);
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 680;
  text-transform: uppercase;
}

.sidebar-nav {
  display: grid;
  gap: 4px;
}

.sidebar-nav a {
  border-radius: 6px;
  padding: 9px 10px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 650;
  transition:
    background 160ms ease,
    color 160ms ease;
}

.sidebar-nav a:hover,
.sidebar-nav a:focus-visible,
.sidebar-nav a.is-active {
  background: rgba(70, 102, 87, 0.09);
  color: var(--ink);
}

.sidebar-account {
  display: grid;
  gap: 4px;
  margin-top: 22px;
  border-top: 1px solid var(--line);
  padding-top: 14px;
}

.sidebar-account span {
  color: var(--soft);
  font-size: 0.8rem;
}

.sidebar-account strong {
  overflow: hidden;
  color: var(--ink);
  font-size: 0.86rem;
  font-weight: 650;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dashboard-content {
  display: grid;
  gap: 14px;
  min-width: 0;
}

.workspace-section {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.78), rgba(250, 250, 247, 0.76)),
    var(--surface);
}

.workspace-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 250px;
  gap: 30px;
  align-items: end;
  border-color: rgba(70, 102, 87, 0.34);
  background:
    linear-gradient(135deg, rgba(236, 246, 237, 0.92), rgba(255, 255, 255, 0.82) 54%),
    var(--surface);
}

.workspace-hero h1 {
  max-width: 660px;
  margin-bottom: 18px;
  font-size: 3.1rem;
}

.workspace-hero p:last-child {
  max-width: 650px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 1.04rem;
  line-height: 1.66;
}

.workspace-status {
  border-top: 1px solid rgba(70, 102, 87, 0.28);
  padding-top: 16px;
}

.workspace-status span,
.workspace-status small,
.connection-count {
  color: var(--soft);
  font-size: 0.84rem;
}

.workspace-status strong {
  display: block;
  margin: 5px 0;
  color: var(--ink);
  font-size: 2.1rem;
  line-height: 1;
}

.section-line {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 22px;
}

.section-line h2 {
  max-width: 700px;
  font-size: 1.85rem;
}

.portfolio-control-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.9fr 0.95fr;
  gap: 12px;
}

.control-panel {
  min-height: 156px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  background: rgba(255, 255, 255, 0.62);
}

.control-panel.primary-panel {
  border-color: rgba(70, 102, 87, 0.36);
  background: rgba(236, 246, 237, 0.56);
}

.control-panel h3 {
  margin-bottom: 12px;
  font-size: 1.16rem;
}

.control-panel p:last-child {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.58;
}

.connection-list,
.settings-list {
  border-top: 1px solid var(--line);
}

.connection-row,
.settings-row {
  display: grid;
  align-items: center;
  border-bottom: 1px solid var(--line);
}

.connection-row {
  grid-template-columns: 48px minmax(0, 1fr) auto;
  gap: 16px;
  padding: 16px 0;
}

.connection-row:last-child,
.settings-row:last-child {
  border-bottom: 0;
}

.connection-mark,
.connection-icon {
  display: inline-flex;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: color-mix(in srgb, var(--surface) 72%, transparent);
  color: #8b9288;
  transition:
    border-color 180ms ease,
    color 180ms ease,
    background 180ms ease;
}

.connection-icon svg {
  width: 21px;
  height: 21px;
  fill: currentColor;
}

.connection-row[data-connected="true"] .connection-icon {
  border-color: color-mix(in srgb, var(--brand-color) 38%, var(--line));
  background: color-mix(in srgb, var(--brand-color) 10%, var(--surface));
  color: var(--brand-color);
}

.connection-row[data-brand="github"],
.connection-row[data-connection="github"] {
  --brand-color: #181717;
}

:root[data-theme="black"] .connection-row[data-connection="github"],
:root[data-theme="ink"] .connection-row[data-connection="github"],
:root[data-theme="night"] .connection-row[data-connection="github"],
:root[data-theme="terminal"] .connection-row[data-connection="github"] {
  --brand-color: #f4f4ef;
}

.connection-row[data-connection="gitlab"] {
  --brand-color: #fc6d26;
}

.connection-row[data-connection="behance"] {
  --brand-color: #1769ff;
}

.connection-row[data-connection="dribbble"] {
  --brand-color: #ea4c89;
}

.connection-row[data-connection="linkedin"] {
  --brand-color: #0a66c2;
}

.connection-row[data-connection="resume"] {
  --brand-color: #d93831;
}

.connection-row[data-connection="stackoverflow"] {
  --brand-color: #f58025;
}

.connection-row[data-connection="website"] {
  --brand-color: #2f7d6b;
}

.connection-row h3 {
  margin-bottom: 4px;
  font-size: 0.96rem;
}

.connection-row p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.5;
}

.connection-edit-form,
.connection-sync-form {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.connection-edit-form input {
  min-height: 36px;
  flex: 1 1 180px;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 8px 10px;
  background: color-mix(in srgb, var(--surface) 74%, transparent);
  color: var(--ink);
}

.connection-edit-form input:focus-visible {
  border-color: var(--line-dark);
  outline: none;
}

.detail-row input {
  width: min(420px, 100%);
  min-height: 36px;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 8px 10px;
  background: color-mix(in srgb, var(--surface) 74%, transparent);
  color: var(--ink);
}

.connection-row .button {
  min-height: 38px;
  padding: 9px 12px;
  font-size: 0.86rem;
}

.connection-row .button:disabled {
  cursor: not-allowed;
  opacity: 0.58;
  transform: none;
}

.connection-row[data-connected="true"] .button {
  border-color: color-mix(in srgb, var(--brand-color) 34%, var(--line));
  background: color-mix(in srgb, var(--brand-color) 8%, var(--surface));
}

.settings-row {
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  padding: 17px 0;
}

.settings-row span {
  color: var(--muted);
}

.settings-row strong {
  color: var(--ink);
  font-size: 0.94rem;
  font-weight: 650;
  text-align: right;
}

.dashboard-app {
  min-height: 100vh;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.74), rgba(244, 245, 240, 0.86)),
    var(--paper);
}

.app-shell {
  display: grid;
  grid-template-columns: 264px minmax(0, 1fr);
  min-height: 100vh;
}

.app-sidebar {
  position: sticky;
  top: 0;
  display: flex;
  height: 100vh;
  flex-direction: column;
  justify-content: space-between;
  border-right: 1px solid var(--line);
  padding: 18px;
  background: color-mix(in srgb, var(--surface) 78%, transparent);
  backdrop-filter: blur(18px) saturate(1.05);
}

.app-sidebar-top,
.app-sidebar-bottom {
  display: grid;
  gap: 18px;
}

.app-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: max-content;
  font-weight: 740;
}

.app-nav {
  display: grid;
  gap: 4px;
}

.app-nav a {
  border-radius: 7px;
  padding: 10px 11px;
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 650;
  transition:
    background 160ms ease,
    color 160ms ease;
}

.app-nav a:hover,
.app-nav a:focus-visible,
.app-nav a.is-active {
  background: var(--surface-muted);
  color: var(--ink);
}

.app-user {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  border-top: 1px solid var(--line);
  padding-top: 16px;
}

.app-user small,
.app-user strong {
  display: block;
}

.app-user small {
  color: var(--soft);
  font-size: 0.78rem;
}

.app-user strong {
  overflow: hidden;
  color: var(--ink);
  font-size: 0.88rem;
  font-weight: 650;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.app-sidebar form {
  margin: 0;
}

.app-signout {
  width: 100%;
  min-height: 38px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 650;
  transition:
    border-color 160ms ease,
    background 160ms ease,
    color 160ms ease;
}

.app-signout:hover,
.app-signout:focus-visible {
  border-color: var(--line-dark);
  background: var(--surface-muted);
  color: var(--ink);
}

.app-main {
  width: min(100% - 56px, 880px);
  margin: 0 auto;
  padding: 46px 0 64px;
}

.app-page-head {
  margin-bottom: 20px;
}

.app-page-head h1 {
  max-width: 780px;
  margin-bottom: 12px;
  font-size: 2.64rem;
  line-height: 1.05;
}

.app-page-head p:last-child {
  max-width: 690px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.58;
}

.app-panel {
  border-top: 1px solid var(--line-strong);
  padding: 20px 0;
}

.app-panel-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  gap: 36px;
  align-items: center;
}

.app-panel h2 {
  margin-bottom: 10px;
  font-size: 1.42rem;
}

.app-panel p:last-child {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.58;
}

.state-stack {
  display: grid;
  gap: 9px;
}

.state-stack span {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 8px 10px;
  background: color-mix(in srgb, var(--surface) 70%, transparent);
  color: var(--muted);
  font-size: 0.84rem;
}

.state-stack strong {
  color: var(--ink);
  font-family: var(--mono);
  font-size: 0.82rem;
  font-weight: 650;
}

.state-label {
  color: var(--soft);
  font-family: var(--mono);
  font-size: 0.76rem;
  text-transform: uppercase;
}

.app-section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 16px;
}

.detail-list {
  border-top: 1px solid var(--line);
}

.detail-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 20px;
  align-items: center;
  border-bottom: 1px solid var(--line);
  padding: 13px 0;
}

.detail-row:last-child {
  border-bottom: 0;
}

.detail-row span {
  color: var(--muted);
}

.detail-row strong {
  color: var(--ink);
  font-size: 0.95rem;
  font-weight: 650;
  text-align: right;
}

.document-upload-form {
  display: grid;
  gap: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 15px;
  background: color-mix(in srgb, var(--surface) 78%, transparent);
}

.document-upload-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: 14px;
}

.document-upload-grid label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 560;
}

.document-upload-grid input[type="text"],
.document-upload-grid input[type="file"] {
  min-height: 40px;
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 8px 10px;
  background: color-mix(in srgb, var(--surface) 72%, transparent);
  color: var(--ink);
}

.file-input-wrap {
  align-content: start;
}

.file-input-wrap input[type="file"] {
  border-style: dashed;
  border-color: var(--line-strong);
  padding: 5px;
  background: color-mix(in srgb, var(--surface) 82%, transparent);
}

.file-input-wrap:focus-within input[type="file"] {
  border-color: var(--line-dark);
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--line-dark) 24%, transparent) inset;
}

.document-upload-grid input[type="file"]::file-selector-button {
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  padding: 7px 10px;
  margin-right: 10px;
  background: color-mix(in srgb, var(--surface) 94%, transparent);
  color: var(--ink);
  font-family: inherit;
  font-size: 0.82rem;
  font-weight: 640;
  cursor: pointer;
}

.document-upload-form .button {
  justify-self: start;
}

.document-list {
  margin-top: 14px;
  border-top: 0;
}

.document-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 12px;
  background: color-mix(in srgb, var(--surface) 74%, transparent);
}

.document-item + .document-item {
  margin-top: 8px;
}

.document-meta {
  display: grid;
  gap: 2px;
}

.document-meta strong {
  color: var(--ink);
  font-size: 0.92rem;
}

.document-meta small {
  color: var(--muted);
  font-size: 0.82rem;
}

.document-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.document-actions form {
  margin: 0;
}

.quiet-preview {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  background: color-mix(in srgb, var(--surface) 68%, transparent);
}

.dashboard-portfolio-mockup .mockup-page {
  min-height: 332px;
}

.dashboard-portfolio-mockup .mockup-profile,
.dashboard-portfolio-mockup .mockup-work {
  padding: 24px;
}

.dashboard-portfolio-mockup .mockup-avatar {
  margin-bottom: 22px;
}

.app-list {
  border-top: 0;
}

.theme-options {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
}

.theme-option {
  display: grid;
  min-height: 104px;
  align-content: start;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px;
  background: color-mix(in srgb, var(--surface) 72%, transparent);
  color: var(--ink);
  cursor: pointer;
  text-align: left;
  transition:
    border-color 180ms ease,
    background 180ms ease,
    transform 180ms ease;
}

.theme-option::before {
  display: block;
  width: 100%;
  height: 24px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background:
    linear-gradient(90deg, var(--surface) 0 45%, var(--paper-strong) 45% 72%, var(--sage) 72% 100%);
  content: "";
}

.theme-option:hover,
.theme-option:focus-visible,
.theme-option.is-active {
  border-color: var(--sage);
  background: var(--surface);
  transform: translateY(-1px);
}

.theme-option[data-theme-preview].is-active {
  border-color: var(--blue);
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--blue) 22%, transparent) inset;
}

.theme-option.is-locked {
  border-style: dashed;
}

.theme-option.is-locked::after {
  justify-self: start;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 2px 7px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.66rem;
  content: attr(data-lock-label);
}

.theme-option[data-theme-option="white"]::before {
  background: linear-gradient(90deg, #ffffff 0 45%, #f1f2ec 45% 72%, #466657 72% 100%);
}

.theme-option[data-theme-option="linen"]::before {
  background: linear-gradient(90deg, #fffefb 0 45%, #ece5da 45% 72%, #7d6b54 72% 100%);
}

.theme-option[data-theme-option="gray"]::before {
  background: linear-gradient(90deg, #eceee8 0 45%, #c8ccc2 45% 72%, #3f5548 72% 100%);
}

.theme-option[data-theme-option="black"]::before {
  background: linear-gradient(90deg, #151815 0 45%, #090a09 45% 72%, #8eb59e 72% 100%);
}

.theme-option[data-theme-option="aurora"]::before {
  background:
    linear-gradient(135deg, rgba(47, 117, 93, 0.78), transparent 48%),
    linear-gradient(225deg, rgba(46, 109, 145, 0.62), transparent 50%),
    #edf5ef;
}

.theme-option[data-theme-option="blueprint"]::before {
  background:
    linear-gradient(rgba(31, 99, 140, 0.22) 1px, transparent 1px),
    linear-gradient(90deg, rgba(31, 99, 140, 0.18) 1px, transparent 1px),
    #eaf1f3;
  background-size: 8px 8px;
}

.theme-option[data-theme-option="graphite"]::before {
  background: linear-gradient(90deg, #f6f7f4 0 45%, #d0d3ce 45% 72%, #525c54 72% 100%);
}

.theme-option[data-theme-option="steel"]::before {
  background: linear-gradient(90deg, #f9fbfc 0 45%, #d6dde0 45% 72%, #446271 72% 100%);
}

.theme-option[data-theme-option="mono"]::before {
  background: linear-gradient(90deg, #ffffff 0 45%, #d9d9d7 45% 72%, #3f4542 72% 100%);
}

.theme-option[data-theme-option="slate"]::before {
  background: linear-gradient(90deg, #fbfefe 0 45%, #dfe8eb 45% 72%, #315a70 72% 100%);
}

.theme-option[data-theme-option="cobalt"]::before {
  background: linear-gradient(90deg, #f8fbff 0 45%, #d5e2f2 45% 72%, #315f98 72% 100%);
}

.theme-option[data-theme-option="marine"]::before {
  background: linear-gradient(90deg, #f9feff 0 45%, #d8e8ea 45% 72%, #2f6a78 72% 100%);
}

.theme-option[data-theme-option="moss"]::before {
  background: linear-gradient(90deg, #fbfdf8 0 45%, #e1e9d9 45% 72%, #4e7146 72% 100%);
}

.theme-option[data-theme-option="olive"]::before {
  background: linear-gradient(90deg, #fdfdf8 0 45%, #e4e2d2 45% 72%, #6f7440 72% 100%);
}

.theme-option[data-theme-option="mint"]::before {
  background: linear-gradient(90deg, #f8fffc 0 45%, #d7ebe3 45% 72%, #2f8f72 72% 100%);
}

.theme-option[data-theme-option="plum"]::before {
  background: linear-gradient(90deg, #fffaff 0 45%, #e8e1ed 45% 72%, #6b517c 72% 100%);
}

.theme-option[data-theme-option="violet"]::before {
  background: linear-gradient(90deg, #fcfbff 0 45%, #e2dbf4 45% 72%, #5f57a6 72% 100%);
}

.theme-option[data-theme-option="rose"]::before {
  background: linear-gradient(90deg, #fffdfb 0 45%, #ebe0dc 45% 72%, #885d52 72% 100%);
}

.theme-option[data-theme-option="clay"]::before {
  background: linear-gradient(90deg, #fffdfb 0 45%, #ecded8 45% 72%, #925d4e 72% 100%);
}

.theme-option[data-theme-option="ember"]::before {
  background: linear-gradient(90deg, #1d1715 0 45%, #171210 45% 72%, #d08b71 72% 100%);
}

.theme-option[data-theme-option="dune"]::before {
  background: linear-gradient(90deg, #fffaf2 0 45%, #eddcc5 45% 72%, #a36a42 72% 100%);
}

.theme-option[data-theme-option="canyon"]::before {
  background: linear-gradient(90deg, #fff9f7 0 45%, #ead6ce 45% 72%, #a55243 72% 100%);
}

.theme-option[data-theme-option="willow"]::before {
  background: linear-gradient(90deg, #fbfffc 0 45%, #dde8de 45% 72%, #437f58 72% 100%);
}

.theme-option[data-theme-option="lagoon"]::before {
  background: linear-gradient(90deg, #f9ffff 0 45%, #d7e8ea 45% 72%, #2e7b87 72% 100%);
}

.theme-option[data-theme-option="nebula"]::before {
  background: linear-gradient(90deg, #19142b 0 45%, #120f1e 45% 72%, #a58cf0 72% 100%);
}

.theme-option[data-theme-option="obsidian"]::before {
  background: linear-gradient(90deg, #10131a 0 45%, #0a0c10 45% 72%, #90a6d6 72% 100%);
}

.theme-option[data-theme-option="charcoal"]::before {
  background: linear-gradient(90deg, #171a1d 0 45%, #111315 45% 72%, #95a3b2 72% 100%);
}

.theme-option[data-theme-option="sakura"]::before {
  background: linear-gradient(90deg, #fffafd 0 45%, #efdee6 45% 72%, #a45a78 72% 100%);
}

.theme-option[data-theme-option="glacier"]::before {
  background: linear-gradient(90deg, #fbfdff 0 45%, #dcecf9 45% 72%, #3f75ad 72% 100%);
}

.theme-option[data-theme-option="bronze"]::before {
  background: linear-gradient(90deg, #fffbf6 0 45%, #ebdfcf 45% 72%, #9a6642 72% 100%);
}

.theme-option[data-theme-option="sand"]::before {
  background: linear-gradient(90deg, #fffdf8 0 45%, #ebe4d4 45% 72%, #806c42 72% 100%);
}

.theme-option[data-theme-option="paper"]::before {
  background: linear-gradient(90deg, #ffffff 0 45%, #ece8dd 45% 72%, #6e6550 72% 100%);
}

.theme-option[data-theme-option="solar"]::before {
  background: linear-gradient(90deg, #fffdf4 0 45%, #f0e3ba 45% 72%, #b5842e 72% 100%);
}

.theme-option[data-theme-option="frost"]::before {
  background: linear-gradient(90deg, #ffffff 0 45%, #e5eef5 45% 72%, #4d6b7d 72% 100%);
}

.theme-option[data-theme-option="ink"]::before {
  background: linear-gradient(90deg, #171d27 0 45%, #131821 45% 72%, #86a9d6 72% 100%);
}

.theme-option[data-theme-option="night"]::before {
  background: linear-gradient(90deg, #151a30 0 45%, #101426 45% 72%, #8a98d8 72% 100%);
}

.theme-option[data-theme-option="terminal"]::before {
  background: linear-gradient(90deg, #121912 0 45%, #0e120e 45% 72%, #84d08f 72% 100%);
}

.theme-option span {
  font-size: 0.92rem;
  font-weight: 700;
}

.theme-option small {
  color: var(--muted);
  font-size: 0.76rem;
  line-height: 1.4;
}

.premium-themes {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 16px;
}

.premium-themes .theme-option {
  min-height: 94px;
}

.theme-options-wide {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.theme-group + .theme-group {
  margin-top: 20px;
}

.theme-group-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}

.theme-group-head h3 {
  margin: 0;
  font-size: 1rem;
}

.plan-pill {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 5px 8px;
  background: color-mix(in srgb, var(--surface) 72%, transparent);
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 720;
}

.settings-copy {
  max-width: 660px;
}

.mfa-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
}

.mfa-action-button {
  min-height: 36px;
  padding: 8px 12px;
}

.totp-disable-form,
.totp-verify-form {
  display: grid;
  gap: 12px;
}

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

.totp-disable-form label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 0.84rem;
}

.totp-disable-form input,
.totp-confirm-row input {
  min-height: 40px;
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 8px 10px;
  background: color-mix(in srgb, var(--surface) 72%, transparent);
  color: var(--ink);
}

.totp-setup-head h3 {
  margin: 0 0 8px;
  font-size: 1rem;
}

.totp-setup-head p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.55;
}

.totp-setup-grid {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  margin: 12px 0 14px;
}

.totp-qr-wrap {
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 8px;
  background: #fff;
}

.totp-qr svg {
  width: 156px;
  height: 156px;
  display: block;
}

.totp-manual code {
  display: inline-block;
  margin: 0 0 8px;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 6px 8px;
  font-family: var(--mono);
  font-size: 0.86rem;
  letter-spacing: 0;
  word-break: break-word;
}

.totp-confirm-row {
  display: flex;
  gap: 10px;
  align-items: center;
}

.totp-confirm-row input {
  width: 188px;
  font-family: var(--mono);
  letter-spacing: 0;
}

.vexor-modal {
  position: fixed;
  inset: 0;
  z-index: 45;
  display: grid;
  place-items: center;
  padding: 20px;
}

.vexor-modal[hidden] {
  display: none !important;
}

.vexor-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 12, 16, 0.44);
  backdrop-filter: blur(2px);
}

.vexor-modal-card {
  position: relative;
  z-index: 1;
  width: min(640px, 100%);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px 16px 14px;
  background: color-mix(in srgb, var(--surface) 94%, transparent);
  box-shadow: var(--shadow);
}

.vexor-modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}

.vexor-modal-head h3 {
  margin: 0;
  font-size: 1.02rem;
}

.vexor-modal-close {
  width: 32px;
  height: 32px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: color-mix(in srgb, var(--surface) 86%, transparent);
  color: var(--muted);
  cursor: pointer;
  font-size: 1.24rem;
  line-height: 1;
}

.modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 12px;
}

body.modal-open {
  overflow: hidden;
}

.vexor-toast-root {
  position: fixed;
  right: 14px;
  bottom: 14px;
  z-index: 80;
  display: grid;
  gap: 8px;
  width: min(360px, calc(100vw - 24px));
}

.vexor-toast {
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 10px 12px;
  background: color-mix(in srgb, var(--surface) 92%, transparent);
  color: var(--ink);
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 180ms ease, transform 180ms ease;
  cursor: pointer;
}

.vexor-toast p {
  margin: 0;
  font-size: 0.86rem;
  line-height: 1.5;
}

.vexor-toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.vexor-toast-error {
  border-color: color-mix(in srgb, #b04646 38%, var(--line));
  background: color-mix(in srgb, #b04646 8%, var(--surface));
}

.vexor-toast-success {
  border-color: color-mix(in srgb, #3e8f67 36%, var(--line));
  background: color-mix(in srgb, #3e8f67 8%, var(--surface));
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 26px 0 34px;
  color: var(--soft);
  font-size: 0.92rem;
}

.site-footer p {
  margin: 0;
}

.public-portfolio .site-header,
.public-portfolio .site-header.is-scrolled {
  background: color-mix(in srgb, var(--surface) 82%, transparent);
}

.portfolio-shell {
  width: min(100% - 44px, 980px);
  margin: 0 auto;
  padding: 96px 0 74px;
}

.portfolio-hero {
  max-width: 700px;
  margin-bottom: 32px;
}

.portfolio-hero .eyebrow {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 5px 9px;
  background: color-mix(in srgb, var(--surface) 78%, transparent);
  color: var(--muted);
  font-size: 0.7rem;
  text-transform: none;
}

.portfolio-hero h1 {
  margin-bottom: 10px;
  font-size: 2.26rem;
  line-height: 1.14;
}

.portfolio-headline {
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.52;
}

.portfolio-bio {
  margin-bottom: 0;
  color: var(--soft);
  font-size: 0.9rem;
  line-height: 1.56;
}

.portfolio-section + .portfolio-section {
  margin-top: 28px;
}

.portfolio-section {
  border-top: 1px solid var(--line);
  padding-top: 16px;
}

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

.portfolio-card {
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 14px;
  background: color-mix(in srgb, var(--surface) 74%, transparent);
}

.portfolio-card h3 {
  margin: 2px 0 8px;
  font-size: 1rem;
}

.portfolio-card p {
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 0.87rem;
  line-height: 1.5;
}

.portfolio-links {
  margin: 0;
  padding: 0;
  list-style: none;
  border: 1px solid var(--line);
  border-radius: 7px;
  overflow: hidden;
}

.portfolio-links li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 13px;
  border-bottom: 1px solid var(--line);
  font-size: 0.87rem;
}

.portfolio-links li:last-child {
  border-bottom: 0;
}

.portfolio-links span {
  color: var(--soft);
  font-family: var(--mono);
  font-size: 0.72rem;
  text-transform: uppercase;
}

.portfolio-links a {
  font-weight: 620;
}

.portfolio-footer {
  width: min(100% - 48px, 1040px);
}

.portfolio-dossier {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(260px, 0.85fr);
  gap: 14px;
  margin: 0 0 34px;
}

.portfolio-dossier.dossier-single {
  grid-template-columns: 1fr;
}

.dossier-main,
.dossier-aside {
  display: grid;
  gap: 12px;
  align-content: start;
}

.dossier-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px;
  background: color-mix(in srgb, var(--surface) 78%, transparent);
  box-shadow: 0 14px 34px rgba(16, 20, 16, 0.045);
}

.compact-heading {
  margin-bottom: 12px;
}

.compact-heading h2 {
  margin: 0;
  font-size: 1rem;
  line-height: 1.25;
}

.signal-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.signal-grid span {
  display: grid;
  gap: 2px;
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 10px;
  background: color-mix(in srgb, var(--surface-muted) 62%, transparent);
}

.signal-grid small,
.activity-list span,
.dossier-link-card span,
.widget-domain {
  color: var(--soft);
  font-family: var(--mono);
  font-size: 0.69rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.signal-grid strong {
  font-size: 1.28rem;
  line-height: 1.1;
}

.stack-cloud,
.widget-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.stack-cloud span,
.widget-stack span {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 5px 9px;
  background: color-mix(in srgb, var(--surface-muted) 72%, transparent);
  color: var(--ink);
  font-size: 0.78rem;
}

.activity-list {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.activity-list li {
  display: grid;
  grid-template-columns: minmax(90px, 0.32fr) minmax(0, 0.68fr) auto;
  gap: 10px;
  align-items: center;
  border-top: 1px solid var(--line);
  padding-top: 8px;
}

.activity-list li:first-child {
  border-top: 0;
  padding-top: 0;
}

.activity-list strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 0.9rem;
}

.activity-list small {
  color: var(--muted);
  font-size: 0.76rem;
  text-align: right;
}

.dossier-link-list {
  display: grid;
  gap: 8px;
}

.dossier-link-card {
  display: grid;
  gap: 3px;
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 10px 11px;
  background: color-mix(in srgb, var(--surface-muted) 56%, transparent);
  color: var(--ink);
  text-decoration: none;
  transition:
    border-color 180ms ease,
    background 180ms ease,
    transform 180ms ease;
}

.dossier-link-card:hover,
.dossier-link-card:focus-visible {
  border-color: var(--line-dark);
  background: color-mix(in srgb, var(--surface) 88%, transparent);
  transform: translateY(-1px);
}

.dossier-link-card strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 0.88rem;
}

.repo-choice-list {
  display: grid;
  max-height: min(58vh, 520px);
  gap: 8px;
  overflow: auto;
  padding: 2px 2px 4px;
}

.repo-choice {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 11px;
  background: color-mix(in srgb, var(--surface) 78%, transparent);
}

.repo-choice input[type="checkbox"] {
  width: 16px;
  height: 16px;
  margin-top: 2px;
  accent-color: var(--sage);
}

.repo-choice span {
  display: grid;
  gap: 3px;
}

.repo-choice small,
.repo-choice em {
  color: var(--muted);
  font-size: 0.78rem;
  font-style: normal;
}

.wide-modal {
  width: min(780px, 100%);
}

.compact-modal {
  width: min(520px, 100%);
}

.external-link-target {
  overflow-wrap: anywhere;
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 10px;
  background: var(--surface-muted);
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.78rem;
}

.widget-export-grid {
  display: grid;
  grid-template-columns: minmax(300px, 420px) minmax(0, 1fr);
  gap: 14px;
  align-items: start;
}

.widget-preview-frame {
  width: 100%;
  min-height: 354px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
}

.widget-code-box {
  display: grid;
  gap: 10px;
}

.widget-code-box p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.widget-code-box textarea {
  width: 100%;
  resize: vertical;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 11px;
  background: var(--surface-muted);
  color: var(--ink);
  font-family: var(--mono);
  font-size: 0.78rem;
}

.public-widget {
  min-width: 0;
  background: transparent;
}

.public-widget::before,
.public-widget::after {
  display: none;
}

.widget-shell {
  width: 100%;
  min-height: 100vh;
  padding: 0;
}

.widget-card {
  display: grid;
  min-height: 100vh;
  gap: 12px;
  align-content: start;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 18px;
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--surface) 92%, transparent), color-mix(in srgb, var(--surface-muted) 82%, transparent)),
    var(--surface);
  color: var(--ink);
  text-decoration: none;
  box-shadow: var(--shadow);
}

.widget-card > strong {
  font-size: 1.25rem;
  line-height: 1.18;
}

.widget-headline {
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.5;
}

.widget-projects {
  display: grid;
  gap: 7px;
  margin: 2px 0 0;
  padding: 0;
  list-style: none;
}

.widget-projects li {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  border-top: 1px solid var(--line);
  padding-top: 8px;
}

.widget-projects strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 0.84rem;
}

.widget-projects span {
  color: var(--soft);
  font-size: 0.74rem;
  white-space: nowrap;
}

.checkout-shell {
  width: min(100% - 44px, 1080px);
  margin: 0 auto;
  padding: 132px 0 84px;
}

.checkout-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 360px);
  gap: 18px;
  align-items: start;
}

.checkout-copy,
.checkout-summary {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: color-mix(in srgb, var(--surface) 82%, transparent);
  box-shadow: var(--shadow);
}

.checkout-copy {
  padding: clamp(28px, 6vw, 58px);
}

.checkout-copy h1 {
  margin: 0 0 10px;
  font-size: clamp(2.2rem, 7vw, 4.6rem);
  line-height: 0.96;
}

.checkout-copy > p {
  max-width: 640px;
  color: var(--muted);
  font-size: 1.02rem;
}

.checkout-feature-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
}

.checkout-feature-list li {
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 10px 12px;
  background: color-mix(in srgb, var(--surface-muted) 64%, transparent);
  color: var(--ink);
  font-size: 0.9rem;
}

.checkout-summary {
  position: sticky;
  top: 96px;
  display: grid;
  gap: 14px;
  padding: 22px;
}

.checkout-price-row {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 14px;
}

.checkout-price-row strong {
  font-size: 2.4rem;
  line-height: 1;
}

.checkout-price-row span,
.checkout-note {
  color: var(--muted);
  font-size: 0.86rem;
}

.checkout-form .button {
  width: 100%;
}

.checkout-note {
  margin: 0;
}

body.admin-root {
  min-height: 100vh;
  background: #080808;
  color: #ececec;
  font-size: 15px;
  line-height: 1.42;
}

body.admin-root::before,
body.admin-root::after {
  display: none;
}

body.admin-root .admin-shell {
  display: grid;
  grid-template-columns: 278px minmax(0, 1fr);
  min-height: 100vh;
}

body.admin-root .admin-sidebar {
  position: sticky;
  top: 0;
  display: flex;
  height: 100vh;
  flex-direction: column;
  justify-content: space-between;
  border-right: 1px solid #222;
  padding: 20px;
  background: #0d0d0d;
}

body.admin-root .admin-sidebar-head h1,
body.admin-root .admin-page-head h2,
body.admin-root .admin-panel h3 {
  margin: 0;
  letter-spacing: 0;
}

body.admin-root .admin-sidebar-head h1 {
  font-size: 1.62rem;
  font-weight: 720;
}

body.admin-root .admin-mark {
  margin: 0 0 10px;
  color: #9c9c9c;
  font-family: var(--mono);
  font-size: 0.76rem;
  font-weight: 650;
  text-transform: uppercase;
}

body.admin-root .admin-nav {
  display: grid;
  gap: 4px;
  margin: 26px 0 0;
}

body.admin-root .admin-nav a {
  border: 1px solid transparent;
  border-radius: 6px;
  padding: 9px 10px;
  color: #bcbcbc;
  font-size: 0.9rem;
  font-weight: 640;
  transition:
    border-color 120ms ease,
    color 120ms ease,
    background 120ms ease;
}

body.admin-root .admin-nav a:hover,
body.admin-root .admin-nav a:focus-visible,
body.admin-root .admin-nav a.is-active {
  border-color: #303030;
  background: #151515;
  color: #f4f4f4;
}

body.admin-root .admin-sidebar-foot {
  border-top: 1px solid #222;
  padding-top: 16px;
}

body.admin-root .admin-sidebar-foot p {
  overflow: hidden;
  margin: 0 0 12px;
  color: #9f9f9f;
  font-size: 0.84rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body.admin-root .admin-foot-actions {
  display: grid;
  gap: 8px;
}

body.admin-root .admin-link,
body.admin-root .admin-foot-actions button,
body.admin-root .admin-foot-actions a {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  justify-content: center;
  border: 1px solid #323232;
  border-radius: 6px;
  padding: 0 10px;
  background: #111;
  color: #dfdfdf;
  font-size: 0.84rem;
  font-weight: 640;
  text-decoration: none;
  transition:
    border-color 120ms ease,
    color 120ms ease,
    background 120ms ease;
}

body.admin-root .admin-link:hover,
body.admin-root .admin-link:focus-visible,
body.admin-root .admin-foot-actions button:hover,
body.admin-root .admin-foot-actions button:focus-visible,
body.admin-root .admin-foot-actions a:hover,
body.admin-root .admin-foot-actions a:focus-visible {
  border-color: #4a4a4a;
  background: #1a1a1a;
  color: #ffffff;
}

body.admin-root .admin-foot-actions form {
  margin: 0;
}

body.admin-root .admin-foot-actions button {
  width: 100%;
  cursor: pointer;
}

body.admin-root .admin-main {
  width: min(100% - 42px, 1320px);
  margin: 0 auto;
  padding: 28px 0 46px;
}

body.admin-root .admin-page-head {
  margin-bottom: 16px;
}

body.admin-root .admin-page-head > p:first-child {
  margin: 0 0 10px;
  color: #9f9f9f;
  font-family: var(--mono);
  font-size: 0.76rem;
  font-weight: 650;
  text-transform: uppercase;
}

body.admin-root .admin-page-head h2 {
  margin-bottom: 8px;
  font-size: 2.16rem;
  font-weight: 720;
  line-height: 1.06;
}

body.admin-root .admin-page-head > p:last-child {
  max-width: 760px;
  margin: 0;
  color: #aeaeae;
  font-size: 0.92rem;
}

body.admin-root .admin-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 14px;
}

body.admin-root .admin-card {
  border: 1px solid #232323;
  border-radius: 6px;
  padding: 12px;
  background: #101010;
}

body.admin-root .admin-card p {
  margin: 0 0 7px;
  color: #aaaaaa;
  font-size: 0.82rem;
}

body.admin-root .admin-card strong {
  color: #f2f2f2;
  font-size: 1.34rem;
  font-weight: 720;
}

body.admin-root .admin-panel {
  border: 1px solid #252525;
  border-radius: 8px;
  padding: 14px;
  background: #0f0f0f;
}

body.admin-root .admin-panel + .admin-panel {
  margin-top: 12px;
}

body.admin-root .admin-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

body.admin-root .admin-panel-head h3 {
  font-size: 1rem;
  font-weight: 690;
}

body.admin-root .admin-filter {
  display: grid;
  grid-template-columns: auto minmax(0, 260px);
  align-items: center;
  gap: 8px;
  color: #949494;
  font-family: var(--mono);
  font-size: 0.74rem;
}

body.admin-root .admin-filter input {
  width: 100%;
}

body.admin-root .admin-table-wrap {
  overflow: auto;
  border: 1px solid #252525;
  border-radius: 6px;
}

body.admin-root .admin-table {
  width: 100%;
  min-width: 940px;
  border-collapse: collapse;
  background: #0b0b0b;
}

body.admin-root .admin-table.admin-table-tight {
  min-width: 460px;
}

body.admin-root .admin-table th,
body.admin-root .admin-table td {
  border-bottom: 1px solid #212121;
  padding: 10px 10px;
  text-align: left;
  vertical-align: middle;
}

body.admin-root .admin-table th {
  color: #a7a7a7;
  font-family: var(--mono);
  font-size: 0.74rem;
  font-weight: 640;
  letter-spacing: 0;
  text-transform: uppercase;
}

body.admin-root .admin-table td {
  color: #e2e2e2;
  font-size: 0.86rem;
}

body.admin-root .admin-table tbody tr:last-child td {
  border-bottom: 0;
}

body.admin-root form {
  margin: 0;
}

body.admin-root input,
body.admin-root select,
body.admin-root button {
  min-height: 32px;
  border: 1px solid #303030;
  border-radius: 6px;
  padding: 0 9px;
  background: #111;
  color: #efefef;
  font-size: 0.82rem;
}

body.admin-root input::placeholder {
  color: #707070;
}

body.admin-root button {
  cursor: pointer;
  font-weight: 650;
}

body.admin-root button:hover,
body.admin-root button:focus-visible,
body.admin-root select:hover,
body.admin-root select:focus-visible,
body.admin-root input:hover,
body.admin-root input:focus-visible {
  border-color: #4b4b4b;
  background: #161616;
  outline: none;
}

body.admin-root .admin-inline-form {
  display: flex;
  align-items: center;
  gap: 6px;
}

body.admin-root .admin-inline-form select {
  min-width: 88px;
}

body.admin-root .admin-actions {
  display: grid;
  gap: 6px;
}

body.admin-root .admin-actions button {
  width: 100%;
}

body.admin-root button.danger {
  border-color: #4a2a2a;
  background: #1b0f0f;
  color: #f0cbcb;
}

body.admin-root button.danger:hover,
body.admin-root button.danger:focus-visible {
  border-color: #6f3030;
  background: #251212;
  color: #ffdede;
}

body.admin-root .admin-detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 360px) minmax(0, 1fr);
  gap: 12px;
  align-items: start;
}

body.admin-root .admin-detail-card,
body.admin-root .admin-detail-actions {
  border: 1px solid #262626;
  border-radius: 6px;
  padding: 12px;
  background: #0b0b0b;
}

body.admin-root .admin-detail-card h2 {
  margin-bottom: 8px;
  font-size: 1.28rem;
}

body.admin-root .admin-detail-email {
  overflow: hidden;
  margin: 0 0 12px;
  color: #a7a7a7;
  font-family: var(--mono);
  font-size: 0.78rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body.admin-root .admin-detail-card dl {
  display: grid;
  gap: 8px;
  margin: 0;
}

body.admin-root .admin-detail-card dl div {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 8px;
}

body.admin-root .admin-detail-card dt {
  color: #8f8f8f;
  font-family: var(--mono);
  font-size: 0.73rem;
  text-transform: uppercase;
}

body.admin-root .admin-detail-card dd {
  margin: 0;
  color: #ececec;
  font-size: 0.83rem;
}

body.admin-root .admin-detail-actions {
  display: grid;
  gap: 8px;
}

body.admin-root .admin-detail-actions form {
  display: grid;
  gap: 6px;
}

body.admin-root .admin-detail-actions label {
  color: #949494;
  font-family: var(--mono);
  font-size: 0.72rem;
  text-transform: uppercase;
}

@media (max-width: 1180px) {
  body.admin-root .admin-shell {
    grid-template-columns: 1fr;
  }

  body.admin-root .admin-sidebar {
    position: static;
    height: auto;
    border-right: 0;
    border-bottom: 1px solid #232323;
    padding-bottom: 14px;
  }

  body.admin-root .admin-nav {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 16px;
  }

  body.admin-root .admin-main {
    width: min(100% - 28px, 1320px);
    padding-top: 22px;
  }

  body.admin-root .admin-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body.admin-root .admin-detail-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  body.admin-root .admin-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body.admin-root .admin-main {
    width: min(100% - 20px, 1320px);
    padding: 16px 0 30px;
  }

  body.admin-root .admin-page-head h2 {
    font-size: 1.7rem;
  }

  body.admin-root .admin-panel {
    padding: 10px;
  }

  body.admin-root .admin-panel-head {
    align-items: start;
    flex-direction: column;
  }

  body.admin-root .admin-filter {
    width: 100%;
    grid-template-columns: 1fr;
  }

  body.admin-root .admin-table {
    min-width: 760px;
  }

  body.admin-root .admin-card-grid {
    grid-template-columns: 1fr;
  }
}

[data-reveal] {
  opacity: 0;
  transform: translateY(12px);
  transition:
    opacity 520ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 520ms cubic-bezier(0.22, 1, 0.36, 1);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

.section-heading.is-visible .eyebrow,
.copy-block.is-visible .eyebrow {
  animation: microFocus 520ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes softDrift {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(1);
    opacity: 1;
  }
  50% {
    transform: translate3d(0, -1.2%, 0) scale(1.02);
    opacity: 0.9;
  }
}

@keyframes trace {
  0%,
  58% {
    transform: translateX(-110%);
  }
  82%,
  100% {
    transform: translateX(250%);
  }
}

@keyframes caret {
  0%,
  49% {
    opacity: 0.7;
  }
  50%,
  100% {
    opacity: 0;
  }
}

@keyframes microFocus {
  0% {
    color: var(--soft);
  }
  100% {
    color: var(--sage-dark);
  }
}

@media (max-width: 920px) {
  .nav {
    gap: 16px;
  }

  .nav-links {
    display: none;
  }

  .hero {
    padding-top: 72px;
  }

  h1 {
    font-size: 3.6rem;
  }

  h2 {
    font-size: 2rem;
  }

  .portfolio-preview,
  .split-inner,
  .launch-grid,
  .account-inner {
    grid-template-columns: 1fr;
  }

  .pricing-heading,
  .comparison-heading {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .pricing-card {
    min-height: auto;
  }

  .plan-copy {
    min-height: auto;
  }

  .page-hero h1 {
    font-size: 3.4rem;
  }

  .compare-hero h1 {
    font-size: 3.2rem;
  }

  .plan-strip {
    grid-template-columns: 1fr;
    margin-bottom: 38px;
  }

  .pricing-clean-grid {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .pricing-showcase-head,
  .plan-preview {
    grid-template-columns: 1fr;
  }

  .pricing-showcase-head {
    align-items: start;
  }

  .pricing-clean-hero h1 {
    font-size: 3.3rem;
  }

  .price-lines {
    max-width: 420px;
  }

  .auth-shell {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .auth-copy h1,
  .dashboard-heading h1 {
    font-size: 3.25rem;
  }

  .portfolio-shell {
    width: min(100% - 40px, 980px);
    padding-top: 90px;
  }

  .portfolio-grid {
    grid-template-columns: 1fr;
  }

  .portfolio-hero h1 {
    font-size: 2.18rem;
  }

  .dashboard-grid {
    grid-template-columns: 1fr;
  }

  .profile-column {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .step-grid {
    grid-template-columns: 1fr;
  }

  .split-inner,
  .launch-grid,
  .account-inner {
    gap: 34px;
  }
}

@media (max-width: 640px) {
  .nav,
  .hero-inner,
  .section-inner,
  .account-inner,
  .site-footer {
    width: min(100% - 28px, var(--max));
  }

  .nav-action {
    padding: 8px 10px;
    font-size: 0.88rem;
  }

  .brand-mark {
    width: 27px;
    height: 27px;
  }

  .hero {
    padding: 56px 14px 42px;
  }

  .portfolio-shell,
  .portfolio-footer {
    width: min(100% - 28px, 980px);
  }

  .portfolio-shell {
    padding: 82px 0 54px;
  }

  .portfolio-hero h1 {
    font-size: 1.92rem;
  }

  .portfolio-links li {
    align-items: start;
    flex-direction: column;
  }

  h1 {
    font-size: 2.7rem;
    line-height: 1.03;
  }

  .page-hero h1 {
    font-size: 2.55rem;
  }

  .compare-hero h1 {
    font-size: 2.45rem;
  }

  .pricing-clean-hero {
    padding: 56px 14px 42px;
  }

  .pricing-clean-hero h1 {
    font-size: 2.52rem;
    line-height: 1.04;
  }

  .pricing-clean-section {
    padding: 46px 14px 64px;
  }

  .pricing-showcase-section {
    padding: 44px 14px 58px;
  }

  .pricing-showcase-head {
    gap: 18px;
    margin-bottom: 22px;
  }

  .plan-switcher {
    width: 100%;
  }

  .plan-switcher button {
    min-width: 0;
  }

  .plan-preview {
    gap: 24px;
    padding: 24px 0;
  }

  .mockup-page {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .mockup-profile {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .mockup-profile,
  .mockup-work {
    padding: 20px;
  }

  .auth-shell,
  .dashboard-shell {
    width: min(100% - 28px, var(--max));
    padding: 56px 0 64px;
  }

  .auth-copy h1,
  .dashboard-heading h1 {
    font-size: 2.48rem;
    line-height: 1.05;
  }

  .auth-card,
  .dashboard-panel {
    padding: 20px;
  }

  .pricing-clean-heading {
    align-items: start;
    flex-direction: column;
    gap: 14px;
  }

  .simple-pricing-table {
    min-width: 660px;
  }

  .simple-pricing-table thead th {
    padding: 18px 14px;
  }

  .simple-pricing-table tbody th {
    padding: 16px 14px 16px 0;
  }

  .simple-pricing-table tbody td {
    padding: 16px 14px;
  }

  h2 {
    font-size: 1.72rem;
  }

  .hero-text {
    font-size: 1.04rem;
  }

  .hero-actions,
  .form-row,
  .site-footer {
    flex-direction: column;
  }

  .button,
  .form-row {
    width: 100%;
  }

  .form-row {
    display: flex;
  }

  .profile-column,
  .work-column {
    padding: 22px;
  }

  .project-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .section,
  .page-hero,
  .account-section {
    padding: 56px 14px;
  }

  .pricing-heading,
  .comparison-heading {
    gap: 18px;
  }

  .pricing-card {
    padding: 20px;
  }

  .plan-price {
    font-size: 2.28rem;
  }

  .comparison-table {
    min-width: 760px;
  }

  .comparison-table th,
  .comparison-table td {
    padding: 15px 16px;
  }

  .clean-table {
    min-width: 720px;
  }

  .clean-table th,
  .clean-table td {
    padding: 14px 14px;
  }

  .pricing-matrix {
    min-width: 760px;
  }

  .pricing-matrix thead th {
    padding: 22px 14px 18px;
  }

  .pricing-matrix tbody th {
    padding: 16px 18px 16px 0;
  }

  .pricing-matrix tbody td {
    padding: 16px 14px;
  }

  .step-card {
    min-height: auto;
  }

  .step-number {
    margin-bottom: 38px;
  }
}

@media (max-width: 860px) {
  .portfolio-dossier,
  .widget-export-grid,
  .checkout-card {
    grid-template-columns: 1fr;
  }

  .activity-list li {
    grid-template-columns: 1fr;
    gap: 3px;
  }

  .activity-list small {
    text-align: left;
  }

  .checkout-summary {
    position: static;
  }
}

@media (max-width: 560px) {
  .checkout-feature-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 920px) {
  .nav-tools,
  .nav-auth {
    gap: 8px;
  }

  .nav-account-text {
    display: none;
  }

  .app-shell {
    grid-template-columns: 1fr;
  }

  .app-sidebar {
    position: static;
    height: auto;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .app-sidebar-top {
    gap: 14px;
  }

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

  .app-sidebar-bottom {
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
  }

  .beta-payment-sidebar {
    grid-column: 1 / -1;
  }

  .app-user {
    border-top: 0;
    padding-top: 0;
  }

  .app-main {
    width: min(100% - 40px, 940px);
    padding-top: 42px;
  }

  .theme-options {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .theme-options-wide {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .document-upload-grid,
  .totp-field-grid,
  .totp-setup-grid {
    grid-template-columns: 1fr;
  }

  .dashboard-shell {
    grid-template-columns: 1fr;
    padding-top: 34px;
  }

  .dashboard-sidebar {
    position: static;
  }

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

  .sidebar-account {
    display: none;
  }

  .workspace-hero,
  .portfolio-control-grid {
    grid-template-columns: 1fr;
  }

  .workspace-hero h1 {
    font-size: 2.72rem;
  }
}

@media (max-width: 640px) {
  .nav-tools .nav-action,
  .nav-auth .nav-action {
    display: none;
  }

  .beta-payment-pill {
    min-height: 32px;
    max-width: 64px;
    padding: 0 9px;
    font-size: 0;
  }

  .beta-payment-pill::before {
    content: "Beta";
    font-size: 0.78rem;
  }

  .nav-account {
    padding-right: 7px;
  }

  .language-button {
    min-width: 38px;
    min-height: 34px;
  }

  .app-sidebar {
    padding: 14px;
  }

  .app-nav {
    grid-template-columns: 1fr;
  }

  .app-sidebar-bottom {
    grid-template-columns: 1fr;
  }

  .app-main {
    width: min(100% - 28px, 940px);
    padding: 34px 0 58px;
  }

  .app-page-head h1 {
    font-size: 2.38rem;
    line-height: 1.04;
  }

  .app-panel-hero,
  .app-section-head,
  .detail-row {
    grid-template-columns: 1fr;
  }

  .totp-confirm-row {
    flex-direction: column;
    align-items: stretch;
  }

  .totp-confirm-row input {
    width: 100%;
  }

  .document-item,
  .document-actions {
    align-items: start;
    flex-direction: column;
  }

  .app-section-head {
    align-items: start;
  }

  .detail-row {
    gap: 5px;
  }

  .detail-row strong {
    text-align: left;
  }

  .theme-options {
    grid-template-columns: 1fr;
  }

  .dashboard-shell {
    width: min(100% - 28px, var(--max));
    padding: 28px 0 64px;
  }

  .dashboard-sidebar,
  .workspace-section {
    padding: 18px;
  }

  .sidebar-nav {
    grid-template-columns: 1fr;
  }

  .workspace-hero h1 {
    font-size: 2.28rem;
    line-height: 1.04;
  }

  .section-line {
    align-items: start;
    flex-direction: column;
    gap: 12px;
  }

  .connection-row {
    grid-template-columns: 42px minmax(0, 1fr);
  }

  .connection-row .button {
    grid-column: 1 / -1;
    width: 100%;
  }

  .settings-row {
    grid-template-columns: 1fr;
    gap: 5px;
  }

  .settings-row strong {
    text-align: left;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
  }

  .profile-dynamic.is-typing::after {
    animation: none;
  }
}
