/*!************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ../../node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[14].oneOf[2].use[1]!../../node_modules/next/dist/build/webpack/loaders/next-font-loader/index.js??ruleSet[1].rules[14].oneOf[2].use[2]!../../node_modules/next/font/google/target.css?{"path":"app/layout.tsx","import":"Onest","arguments":[{"subsets":["latin","cyrillic"],"weight":"variable","variable":"--font-body"}],"variableName":"onest"} ***!
  \************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
/* cyrillic-ext */
@font-face {
  font-family: 'Onest';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(/_next/static/media/7bb4ad34d7ebf0d7-s.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Onest';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(/_next/static/media/c1f853e4758089a8-s.p.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* latin-ext */
@font-face {
  font-family: 'Onest';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(/_next/static/media/4c4943bfceab8361-s.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Onest';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(/_next/static/media/6e50af2f4c313e23-s.p.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}@font-face {font-family: 'Onest Fallback';src: local("Arial");ascent-override: 92.20%;descent-override: 28.99%;line-gap-override: 0.00%;size-adjust: 105.20%
}.__className_796408 {font-family: 'Onest', 'Onest Fallback';font-style: normal
}.__variable_796408 {--font-body: 'Onest', 'Onest Fallback'
}

/*!**************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ../../node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[14].oneOf[2].use[1]!../../node_modules/next/dist/build/webpack/loaders/next-font-loader/index.js??ruleSet[1].rules[14].oneOf[2].use[2]!../../node_modules/next/font/google/target.css?{"path":"app/layout.tsx","import":"Inter_Tight","arguments":[{"subsets":["latin","cyrillic"],"weight":"variable","variable":"--font-display"}],"variableName":"interTight"} ***!
  \**************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
/* cyrillic-ext */
@font-face {
  font-family: 'Inter Tight';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(/_next/static/media/c95a17d6aa1ccc69-s.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Inter Tight';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(/_next/static/media/84792440f5374347-s.p.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* greek-ext */
@font-face {
  font-family: 'Inter Tight';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(/_next/static/media/10735954b8957dce-s.woff2) format('woff2');
  unicode-range: U+1F00-1FFF;
}
/* greek */
@font-face {
  font-family: 'Inter Tight';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(/_next/static/media/69c8297e91a203ed-s.woff2) format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
/* vietnamese */
@font-face {
  font-family: 'Inter Tight';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(/_next/static/media/32ec8d161d520037-s.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Inter Tight';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(/_next/static/media/ceda3e828136e1b8-s.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Inter Tight';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(/_next/static/media/103fc5fac08dcb15-s.p.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}@font-face {font-family: 'Inter Tight Fallback';src: local("Arial");ascent-override: 100.51%;descent-override: 25.03%;line-gap-override: 0.00%;size-adjust: 96.39%
}.__className_0fdca1 {font-family: 'Inter Tight', 'Inter Tight Fallback';font-style: normal
}.__variable_0fdca1 {--font-display: 'Inter Tight', 'Inter Tight Fallback'
}

/*!*********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ../../node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[14].oneOf[2].use[1]!../../node_modules/next/dist/build/webpack/loaders/next-font-loader/index.js??ruleSet[1].rules[14].oneOf[2].use[2]!../../node_modules/next/font/google/target.css?{"path":"app/layout.tsx","import":"Manrope","arguments":[{"subsets":["latin","cyrillic"],"weight":["300","400","500","600"],"variable":"--font-legacy"}],"variableName":"manrope"} ***!
  \*********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
/* cyrillic-ext */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url(/_next/static/media/438aa629764e75f3-s.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url(/_next/static/media/875ae681bfde4580-s.p.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* greek */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url(/_next/static/media/51251f8b9793cdb3-s.woff2) format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
/* vietnamese */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url(/_next/static/media/e857b654a2caa584-s.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url(/_next/static/media/cc978ac5ee68c2b6-s.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url(/_next/static/media/4c9affa5bc8f420e-s.p.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* cyrillic-ext */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/_next/static/media/438aa629764e75f3-s.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/_next/static/media/875ae681bfde4580-s.p.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* greek */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/_next/static/media/51251f8b9793cdb3-s.woff2) format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
/* vietnamese */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/_next/static/media/e857b654a2caa584-s.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/_next/static/media/cc978ac5ee68c2b6-s.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/_next/static/media/4c9affa5bc8f420e-s.p.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* cyrillic-ext */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/_next/static/media/438aa629764e75f3-s.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/_next/static/media/875ae681bfde4580-s.p.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* greek */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/_next/static/media/51251f8b9793cdb3-s.woff2) format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
/* vietnamese */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/_next/static/media/e857b654a2caa584-s.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/_next/static/media/cc978ac5ee68c2b6-s.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/_next/static/media/4c9affa5bc8f420e-s.p.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* cyrillic-ext */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/_next/static/media/438aa629764e75f3-s.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/_next/static/media/875ae681bfde4580-s.p.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* greek */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/_next/static/media/51251f8b9793cdb3-s.woff2) format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
/* vietnamese */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/_next/static/media/e857b654a2caa584-s.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/_next/static/media/cc978ac5ee68c2b6-s.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/_next/static/media/4c9affa5bc8f420e-s.p.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}@font-face {font-family: 'Manrope Fallback';src: local("Arial");ascent-override: 103.31%;descent-override: 29.07%;line-gap-override: 0.00%;size-adjust: 103.19%
}.__className_fd9acc {font-family: 'Manrope', 'Manrope Fallback';font-style: normal
}.__variable_fd9acc {--font-legacy: 'Manrope', 'Manrope Fallback'
}

/*!*********************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ../../node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[14].oneOf[10].use[2]!../../node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[14].oneOf[10].use[3]!./app/globals.css ***!
  \*********************************************************************************************************************************************************************************************************************************************************************/
:root {
  color-scheme: light;
  --font-body: "Onest", "Segoe UI", sans-serif;
  --font-display: "Inter Tight", "Segoe UI", sans-serif;
  --bg: #f7f7f8;
  --bg-alt: #f7f7f8;
  --surface: rgba(250, 250, 248, 0.74);
  --surface-soft: rgba(248, 248, 246, 0.64);
  --surface-strong: rgba(252, 252, 251, 0.88);
  --surface-dark: #251d16;
  --line: rgba(64, 58, 51, 0.11);
  --line-strong: rgba(64, 58, 51, 0.2);
  --text: #231c16;
  --muted: #726557;
  --accent: #ad7b49;
  --accent-soft: rgba(173, 123, 73, 0.14);
  --shadow-sm: 0 8px 24px rgba(66, 44, 20, 0.06);
  --shadow-md: 0 18px 52px rgba(66, 44, 20, 0.1);
  --shadow-lg: 0 28px 80px rgba(66, 44, 20, 0.16);
  --radius-xs: 18px;
  --radius-sm: 24px;
  --radius-md: 32px;
  --radius-lg: 40px;
  --content: min(1240px, calc(100vw - 36px));
  --content-wide: min(1320px, calc(100vw - 24px));
  --focus-ring: 0 0 0 4px rgba(173, 123, 73, 0.16);
  --motion-fast: 140ms;
  --motion-base: 220ms;
  --motion-slow: 420ms;
  --ease-premium: cubic-bezier(0.22, 1, 0.36, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-body);
  color: var(--text);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  background: var(--bg);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background: none;
  z-index: -1;
}

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

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

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

::selection {
  background: rgba(173, 123, 73, 0.18);
}

@keyframes reveal-up {
  from {
    opacity: 0;
    transform: translate3d(0, 18px, 0);
  }

  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

:focus-visible {
  outline: none;
  box-shadow: var(--focus-ring);
}

.page-shell {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  padding-bottom: 0;
}

.page-shell--miniapp {
  padding-bottom: 24px;
}

.site-header,
.content-stack,
.cta-section,
.inner-page,
.admin-layout {
  width: var(--content);
  margin: 0 auto;
}

.surface {
  position: relative;
}

.site-header {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 40;
  padding: 18px 0 10px;
}

.site-header__shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 18px;
  border: 1px solid rgba(102, 77, 52, 0.1);
  border-radius: 999px;
  background: rgba(255, 252, 248, 0.74);
  -webkit-backdrop-filter: blur(18px);
          backdrop-filter: blur(18px);
  box-shadow: var(--shadow-sm);
}

.brand,
.brand__meta,
.site-nav,
.hero__actions,
.two-column,
.card-grid,
.dashboard__head,
.payment-card__actions,
.admin-layout {
  display: flex;
}

.brand {
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.brand__mark {
  flex: 0 0 auto;
  width: 50px;
  height: 50px;
  border-radius: 20px;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.06em;
  color: #fff9f3;
  background:
    linear-gradient(150deg, rgba(67, 48, 32, 0.96), rgba(29, 22, 16, 0.98)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), transparent);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16), var(--shadow-sm);
}

.brand__meta {
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.brand__meta span:first-child {
  font-weight: 600;
  letter-spacing: -0.03em;
}

.brand__meta span:last-child,
.muted,
.section__lead,
.error-text {
  color: var(--muted);
}

.site-nav {
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.site-header__end {
  position: relative;
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-left: auto;
}

.site-nav__link,
.admin-nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 999px;
  color: var(--muted);
  transition:
    color var(--motion-fast) var(--ease-premium),
    background var(--motion-fast) var(--ease-premium),
    transform var(--motion-fast) var(--ease-premium);
}

.site-nav__link::after {
  content: "";
  position: absolute;
  inset: 6px;
  border-radius: inherit;
  border: 1px solid transparent;
  transition: border-color var(--motion-fast) var(--ease-premium);
}

.site-nav__link:hover,
.site-nav__link--active {
  color: var(--text);
  background: rgba(255, 255, 255, 0.72);
}

.site-nav__link:hover::after,
.site-nav__link--active::after {
  border-color: rgba(102, 77, 52, 0.1);
}

.site-header__toggle {
  display: none;
  width: 48px;
  height: 48px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.72);
  color: var(--text);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  padding: 0;
  transition:
    transform var(--motion-fast) var(--ease-premium),
    background var(--motion-fast) var(--ease-premium),
    border-color var(--motion-fast) var(--ease-premium);
}

.site-header__toggle span {
  position: absolute;
  width: 18px;
  height: 1.5px;
  border-radius: 999px;
  background: currentColor;
  transition:
    transform var(--motion-base) var(--ease-premium),
    opacity var(--motion-fast) var(--ease-premium);
}

.site-header__toggle span:nth-child(1) {
  transform: translateY(-6px);
}

.site-header__toggle span:nth-child(3) {
  transform: translateY(6px);
}

.site-header__toggle--open span:nth-child(1) {
  transform: rotate(45deg);
}

.site-header__toggle--open span:nth-child(2) {
  opacity: 0;
}

.site-header__toggle--open span:nth-child(3) {
  transform: rotate(-45deg);
}

.marketing-page {
  padding-bottom: 56px;
}

.hero {
  position: relative;
  width: var(--content-wide);
  margin: 0 auto;
  min-height: min(880px, 88svh);
  overflow: hidden;
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.hero__video,
.hero__overlay {
  position: absolute;
  inset: 0;
}

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

.hero__overlay {
  background:
    linear-gradient(110deg, rgba(245, 238, 229, 0.9) 6%, rgba(245, 238, 229, 0.3) 40%, rgba(245, 238, 229, 0.64) 100%),
    linear-gradient(180deg, rgba(26, 21, 16, 0.08), rgba(26, 21, 16, 0.2));
}

.hero__content {
  position: relative;
  width: min(1224px, calc(100% - 48px));
  min-height: min(880px, 88svh);
  margin: 0 auto;
  display: flex;
  align-items: center;
  padding: 132px 0 54px;
}

.hero__frame {
  width: 100%;
  display: flex;
  justify-content: flex-end;
}

.hero__card {
  width: min(100%, 580px);
  display: grid;
  grid-gap: 16px;
  gap: 16px;
  padding: clamp(28px, 3.8vw, 40px);
  border-color: rgba(255, 255, 255, 0.26);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.38), rgba(255, 255, 255, 0.14)),
    rgba(255, 249, 243, 0.18);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.38),
    0 28px 72px rgba(39, 26, 12, 0.18);
  -webkit-backdrop-filter: blur(28px) saturate(135%);
          backdrop-filter: blur(28px) saturate(135%);
}

.hero__eyebrow,
.section__eyebrow,
.small-label,
.chat-preview__role,
.chat-bubble__role {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--muted);
}

.hero__card h1,
.section__title,
.dashboard__head h1,
.cta-section__card h2,
.payment-card h1 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 4.7vw, 5.6rem);
  line-height: 0.92;
  letter-spacing: -0.07em;
}

.hero__card h1 {
  font-family: var(--font-body);
  font-size: clamp(0.82rem, 1vw, 0.96rem);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(35, 28, 22, 0.76);
}

.hero__card p,
.section__lead,
.ui-card__body p,
.ui-card__header p,
.dashboard,
.chat-page,
.admin-layout__content,
.payment-card {
  font-size: 1rem;
  line-height: 1.65;
}

.hero__lead {
  margin: 0;
  max-width: 11ch;
  font-family: var(--font-display);
  font-size: clamp(2.9rem, 5.1vw, 5.4rem);
  line-height: 0.94;
  letter-spacing: -0.08em;
  color: var(--text);
}

.hero__description {
  max-width: 30rem;
  color: rgba(35, 28, 22, 0.78);
}

.site-header--legacy-home {
  --legacy-header-height: 4.2rem;
  --legacy-container-max: 1280px;
  --legacy-container-gutter: 0.9rem;
  width: 100%;
  margin: 0;
  padding: 0;
  font-family: var(--font-legacy);
  position: fixed;
  inset: 0 0 auto;
  background: rgba(255, 255, 255, 0.46);
  backdrop-filter: blur(18px) saturate(145%);
  -webkit-backdrop-filter: blur(18px) saturate(145%);
  border-bottom: 2px solid rgba(17, 17, 17, 0.86);
  box-shadow: 0 10px 30px rgba(15, 15, 15, 0.06);
}

.site-header__shell--legacy {
  width: min(calc(100% - (var(--legacy-container-gutter) * 2)), var(--legacy-container-max));
  min-height: var(--legacy-header-height);
  margin-inline: auto;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  -webkit-backdrop-filter: none;
          backdrop-filter: none;
}

.brand--legacy {
  align-items: flex-start;
  gap: 0.38rem;
  line-height: 1.05;
}

.brand__mark--legacy {
  width: auto;
  height: auto;
  display: inline-block;
  background: transparent;
  box-shadow: none;
  color: #121212;
  border: 0;
  border-radius: 0;
  font-family: var(--font-legacy);
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.brand__pipe {
  font-size: 0.72rem;
  opacity: 0.6;
  transform: translateY(0.02em);
}

.brand__meta--legacy {
  gap: 0.08rem;
}

.brand__meta--legacy span:last-child {
  color: inherit;
}

.brand__name {
  font-size: 0.78rem;
  letter-spacing: 0.08em;
}

.brand__role {
  font-size: 0.64rem;
  letter-spacing: 0.1em;
  text-transform: lowercase;
}

.site-header__toggle--legacy {
  position: relative;
  z-index: 2;
  display: inline-grid;
  place-items: center;
  width: 2.85rem;
  height: 2.85rem;
  border-radius: 0;
  border: 1px solid rgba(18, 18, 18, 0.12);
  background: rgba(255, 255, 255, 0.52);
  backdrop-filter: blur(12px) saturate(135%);
  -webkit-backdrop-filter: blur(12px) saturate(135%);
}

.site-header__toggle--legacy span {
  width: 1.18rem;
  height: 1px;
  border-radius: 0;
  background: #121212;
}

.site-nav--legacy {
  position: absolute;
  inset: calc(100% + 0.75rem) 0 auto;
  display: grid;
  grid-gap: 0.55rem;
  gap: 0.55rem;
  padding: 0.95rem;
  max-height: none;
  overflow: visible;
  opacity: 0;
  pointer-events: none;
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 0;
  background: rgba(255, 255, 255, 0.54);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  box-shadow:
    0 22px 60px rgba(17, 17, 17, 0.09),
    0 1px 0 rgba(255, 255, 255, 0.78) inset;
  transform: translate3d(0, -10px, 0);
  transform-origin: top center;
  transition: opacity 0.28s ease, transform 0.28s ease;
}

.site-nav--legacy.site-nav--open {
  opacity: 1;
  pointer-events: auto;
  transform: translate3d(0, 0, 0);
  padding-top: 0.95rem;
}

.site-nav__link--legacy,
.site-nav__link--legacy:hover,
.site-nav__link--legacy.site-nav__link--active {
  justify-content: flex-start;
  width: -moz-fit-content;
  width: fit-content;
  min-height: auto;
  padding: 0.2rem 0;
  border-radius: 0;
  background: transparent;
  color: #121212;
  font-family: var(--font-legacy);
  font-size: 0.88rem;
  font-weight: 300;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.site-nav__link--legacy::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.15rem;
  inset: auto 0 -0.15rem;
  height: 1px;
  border-radius: 0;
  border: 0;
  background: currentColor;
  transform: scaleX(0.35);
  transform-origin: left center;
  opacity: 0.45;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.site-nav__link--legacy:hover::after,
.site-nav__link--legacy:focus-visible::after {
  transform: scaleX(1);
  opacity: 1;
}

.site-auth {
  position: relative;
}

.site-auth__trigger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.9rem;
  padding: 0.8rem 1.2rem;
  border: 1px solid rgba(18, 18, 18, 0.08);
  background: #121212;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-family: var(--font-legacy);
  font-size: 0.74rem;
  font-weight: 400;
  cursor: pointer;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease,
    background-color 0.3s ease;
}

.site-auth__trigger:hover,
.site-auth__trigger:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.12);
}

.site-auth__overlay {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100dvh;
  padding: 1.5rem;
  background:
    linear-gradient(180deg, rgba(17, 17, 17, 0.24), rgba(17, 17, 17, 0.38)),
    rgba(233, 232, 228, 0.78);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.site-auth__dialog {
  position: relative;
  width: min(34rem, 100%);
  margin: auto;
  display: grid;
  grid-gap: 1.35rem;
  gap: 1.35rem;
  padding: clamp(1.35rem, 3vw, 1.8rem);
  border: 1px solid rgba(255, 255, 255, 0.86);
  border-radius: 1.85rem;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.8)),
    rgba(248, 248, 245, 0.92);
  backdrop-filter: blur(18px) saturate(135%);
  -webkit-backdrop-filter: blur(18px) saturate(135%);
  box-shadow:
    0 34px 88px rgba(17, 17, 17, 0.18),
    0 1px 0 rgba(255, 255, 255, 0.96) inset;
}

.site-auth__dialog-head {
  display: grid;
  grid-gap: 1rem;
  gap: 1rem;
  justify-items: center;
  padding-inline: 0.5rem;
}

.site-auth__dialog-copy,
.site-auth__body {
  display: grid;
  grid-gap: 0.85rem;
  gap: 0.85rem;
}

.site-auth__dialog-copy {
  width: 100%;
  max-width: 27rem;
  justify-items: center;
  text-align: center;
}

.site-auth__kicker {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(18, 18, 18, 0.5);
}

.site-auth__close {
  position: absolute;
  top: clamp(1rem, 2.5vw, 1.25rem);
  right: clamp(1rem, 2.5vw, 1.25rem);
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid rgba(18, 18, 18, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.54);
  cursor: pointer;
  transition:
    transform var(--motion-fast) var(--ease-premium),
    background var(--motion-fast) var(--ease-premium),
    border-color var(--motion-fast) var(--ease-premium);
}

.site-auth__close span {
  position: absolute;
  inset: 50% auto auto 50%;
  width: 16px;
  height: 1.5px;
  border-radius: 999px;
  background: var(--text);
}

.site-auth__close span:first-child {
  transform: translate(-50%, -50%) rotate(45deg);
}

.site-auth__close span:last-child {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.site-auth__close:hover,
.site-auth__close:focus-visible {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.72);
  border-color: rgba(18, 18, 18, 0.14);
}

.site-auth__title,
.site-auth__kicker,
.site-auth__hint,
.site-auth__state,
.site-auth__error {
  margin: 0;
  font-family: var(--font-legacy);
}

.site-auth__title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 500;
  line-height: 0.94;
  letter-spacing: -0.06em;
}

.site-auth__hint,
.site-auth__state,
.site-auth__error {
  font-size: 0.86rem;
  line-height: 1.55;
  color: var(--muted);
  text-align: center;
}

.site-auth__body {
  justify-items: center;
}

.site-auth__steps {
  width: min(100%, 28rem);
  display: grid;
  grid-gap: 0.85rem;
  gap: 0.85rem;
}

.site-auth__step {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-gap: 0.85rem;
  gap: 0.85rem;
  align-items: flex-start;
  padding: 0.95rem 1rem;
  border: 1px solid rgba(64, 58, 51, 0.1);
  border-radius: 1.3rem;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.58), rgba(255, 255, 255, 0.34)),
    rgba(248, 246, 241, 0.78);
  box-shadow: 0 14px 34px rgba(34, 25, 16, 0.06);
}

.site-auth__step-number {
  width: 2rem;
  height: 2rem;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: rgba(173, 123, 73, 0.14);
  color: var(--text);
  font-family: var(--font-display);
  font-size: 0.96rem;
  font-weight: 700;
}

.site-auth__step-copy {
  display: grid;
  grid-gap: 0.25rem;
  gap: 0.25rem;
  text-align: left;
}

.site-auth__step-title,
.site-auth__step-text,
.site-auth__widget-caption {
  margin: 0;
  font-family: var(--font-legacy);
}

.site-auth__step-title {
  color: var(--text);
  font-size: 0.95rem;
  font-weight: 600;
}

.site-auth__step-text,
.site-auth__widget-caption {
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.55;
}

.site-auth__widget-shell,
.site-auth__state,
.site-auth__error {
  width: min(100%, 28rem);
}

.site-auth__widget-shell {
  display: grid;
  grid-gap: 0.85rem;
  gap: 0.85rem;
  justify-items: center;
  padding: 1rem 1rem 1.15rem;
  border: 1px solid rgba(64, 58, 51, 0.1);
  border-radius: 1.35rem;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.64), rgba(255, 255, 255, 0.4)),
    rgba(248, 246, 241, 0.76);
}

.site-auth__error {
  padding: 0.95rem 1rem;
  border: 1px solid rgba(155, 62, 45, 0.14);
  border-radius: 1.15rem;
  background: rgba(155, 62, 45, 0.08);
  color: #9b3e2d;
}

.site-auth__state {
  padding: 0.95rem 1rem;
  border: 1px solid rgba(64, 58, 51, 0.1);
  border-radius: 1.15rem;
  background: rgba(255, 255, 255, 0.52);
}

.site-auth__widget {
  min-height: 52px;
  width: 100%;
  display: grid;
  justify-items: center;
  justify-content: center;
}

.site-auth__widget > *,
.site-auth__widget iframe,
.site-auth__widget > div,
.site-auth__widget > span {
  margin-inline: auto !important;
}

.site-footer {
  width: 100%;
  margin: auto 0 0;
  padding-top: 36px;
  background: #0f0f10;
  color: rgba(255, 255, 255, 0.92);
}

.site-footer__shell {
  width: var(--content);
  margin: 0 auto;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 0 32px;
}

.site-footer__meta {
  display: grid;
  grid-gap: 14px;
  gap: 14px;
}

.site-footer__brand {
  width: -moz-fit-content;
  width: fit-content;
}

.site-footer .brand__mark--legacy,
.site-footer .brand__pipe,
.site-footer .brand__name {
  color: #ffffff;
}

.site-footer .brand__role {
  color: rgba(255, 255, 255, 0.62);
}

.site-footer__copyright {
  margin: 0;
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.62);
}

.site-footer__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 18px;
}

.site-footer__link {
  padding: 0;
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.76);
  cursor: pointer;
  font-size: 0.92rem;
  line-height: 1.2;
  transition:
    color var(--motion-fast) var(--ease-premium),
    opacity var(--motion-fast) var(--ease-premium);
}

.site-footer__link:hover,
.site-footer__link:focus-visible {
  color: rgba(255, 255, 255, 1);
}

.site-legal__overlay {
  z-index: 118;
}

.site-legal__dialog {
  width: min(54rem, 100%);
  max-height: min(84dvh, 920px);
  grid-template-rows: auto minmax(0, 1fr);
}

.site-legal__head,
.site-legal__copy {
  display: grid;
  grid-gap: 0.75rem;
  gap: 0.75rem;
}

.site-legal__head {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: 1rem;
}

.site-legal__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 500;
  line-height: 0.96;
  letter-spacing: -0.05em;
}

.site-legal__content {
  min-height: 0;
  overflow: auto;
  padding-right: 0.35rem;
}

.markdown-content {
  display: grid;
  grid-gap: 1rem;
  gap: 1rem;
  color: var(--text);
}

.markdown-content > * {
  margin: 0;
}

.markdown-content h1,
.markdown-content h2,
.markdown-content h3 {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: -0.05em;
  line-height: 1;
}

.markdown-content h1 {
  font-size: clamp(1.45rem, 2.4vw, 2rem);
}

.markdown-content h2 {
  font-size: clamp(1.12rem, 1.9vw, 1.4rem);
}

.markdown-content h3 {
  font-size: 1rem;
}

.markdown-content p,
.markdown-content li {
  color: rgba(35, 28, 22, 0.82);
}

.markdown-content ul,
.markdown-content ol {
  margin: 0;
  padding-left: 1.2rem;
  display: grid;
  grid-gap: 0.5rem;
  gap: 0.5rem;
}

.markdown-content a {
  color: var(--text);
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.hero--legacy {
  width: 100%;
  margin: 0;
  min-height: 100svh;
  padding-top: calc(var(--legacy-header-height, 4.2rem) + env(safe-area-inset-top));
  border-radius: 0;
  box-shadow: none;
  isolation: isolate;
  font-family: var(--font-legacy);
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media {
  z-index: -3;
  overflow: hidden;
}

.hero-picture,
.hero-image,
.hero-video {
  width: 100%;
  height: 100%;
}

.hero-picture {
  position: absolute;
  inset: 0;
}

.hero-image {
  object-fit: cover;
  object-position: center top;
  filter: saturate(0.94);
}

.hero-video {
  display: none;
  position: absolute;
  inset: 0;
  object-fit: cover;
  object-position: center center;
  pointer-events: none;
}

.hero-overlay {
  z-index: -2;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04) 0%, rgba(247, 247, 247, 0.24) 40%, rgba(246, 246, 246, 0.72) 100%),
    linear-gradient(90deg, rgba(248, 248, 248, 0.04) 0%, rgba(248, 248, 248, 0.16) 48%, rgba(255, 255, 255, 0.92) 100%);
}

.hero-grid {
  width: min(calc(100% - (var(--legacy-container-gutter, 0.9rem) * 2)), var(--legacy-container-max, 1280px));
  min-height: calc(100svh - var(--legacy-header-height, 4.2rem) - env(safe-area-inset-top));
  margin-inline: auto;
  display: grid;
  align-items: center;
  padding-block: clamp(1.25rem, 4vw, 2.5rem) clamp(1rem, 5vw, 2rem);
}

.hero-copy {
  width: min(100%, 40rem);
  display: grid;
  grid-gap: clamp(1.2rem, 2.5vw, 1.85rem);
  gap: clamp(1.2rem, 2.5vw, 1.85rem);
  justify-items: center;
  padding: clamp(2rem, 4vw, 3rem);
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 2.15rem;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.6) 0%, rgba(255, 255, 255, 0.28) 48%, rgba(243, 243, 243, 0.18) 100%),
    rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(34px) saturate(155%);
  -webkit-backdrop-filter: blur(34px) saturate(155%);
  box-shadow:
    0 32px 80px rgba(17, 17, 17, 0.13),
    0 1px 0 rgba(255, 255, 255, 0.9) inset,
    0 -1px 0 rgba(255, 255, 255, 0.24) inset;
  animation: reveal-up 0.75s both;
  position: relative;
  overflow: hidden;
}

.hero-copy::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.52), transparent 42%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.2), transparent 56%);
  pointer-events: none;
}

.hero-copy::after {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: calc(2.15rem - 1px);
  border: 1px solid rgba(255, 255, 255, 0.24);
  pointer-events: none;
}

.hero-copy__top {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
}

.hero-copy__top {
  gap: 0.9rem;
}

.hero-kicker {
  margin: 0;
  padding: 0.46rem 0.9rem;
  border: 1px solid rgba(18, 18, 18, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.38);
  color: rgba(18, 18, 18, 0.56);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.75rem, 4.95vw, 4.65rem);
  font-weight: 500;
  line-height: 0.88;
  letter-spacing: -0.06em;
  text-transform: uppercase;
  text-wrap: balance;
  position: relative;
  z-index: 1;
  max-width: 9.5ch;
  text-align: center;
}

.hero-title span {
  display: block;
}

.hero-copy__divider {
  position: relative;
  z-index: 1;
  width: min(100%, 24rem);
  height: 1px;
  background: linear-gradient(90deg, rgba(18, 18, 18, 0), rgba(18, 18, 18, 0.14), rgba(18, 18, 18, 0));
}

.hero-copy .hero-lead {
  margin: 0;
  max-width: none;
  font-family: var(--font-legacy);
  font-size: clamp(0.92rem, 1.22vw, 1.02rem);
  font-weight: 400;
  line-height: 1.32;
  letter-spacing: 0.01em;
  color: rgba(18, 18, 18, 0.68);
  white-space: nowrap;
}

.hero-note {
  margin: 0;
  max-width: 28ch;
  font-family: var(--font-legacy);
  font-size: 0.82rem;
  font-weight: 300;
  line-height: 1.6;
  letter-spacing: 0.005em;
  color: rgba(18, 18, 18, 0.5);
  text-wrap: pretty;
  text-align: center;
  position: relative;
  z-index: 1;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: min(100%, 16.75rem);
  justify-self: center;
  min-width: 0;
  min-height: 3.65rem;
  padding: 0.95rem 1.8rem;
  border: 1px solid rgba(18, 18, 18, 0.08);
  background: #121212;
  color: #ffffff;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.82rem;
  font-weight: 400;
  position: relative;
  z-index: 1;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease,
    background-color 0.3s ease,
    color 0.3s ease;
}

.hero-cta:hover,
.hero-cta:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.12);
}

.content-stack {
  display: grid;
  grid-gap: 32px;
  gap: 32px;
  margin-top: 32px;
}

.section,
.cta-section__card,
.admin-layout__sidebar,
.chat-window,
.payment-card,
.ui-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
  -webkit-backdrop-filter: blur(18px);
          backdrop-filter: blur(18px);
}

.section::before,
.cta-section__card::before,
.admin-layout__sidebar::before,
.chat-window::before,
.payment-card::before,
.ui-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.2), transparent 26%);
  pointer-events: none;
}

.section,
.cta-section__card,
.admin-layout__sidebar,
.chat-window,
.payment-card {
  padding: clamp(26px, 3.6vw, 40px);
  border-radius: calc(var(--radius-md) + 4px);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.3), transparent 28%),
    var(--surface);
}

.ui-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  border-radius: var(--radius-md);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.34), transparent 28%),
    var(--surface);
  transition:
    transform var(--motion-base) var(--ease-premium),
    box-shadow var(--motion-base) var(--ease-premium),
    border-color var(--motion-base) var(--ease-premium),
    background var(--motion-base) var(--ease-premium);
}

.ui-card--soft {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.3), transparent 30%),
    var(--surface-soft);
}

.ui-card--strong {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.4), transparent 28%),
    var(--surface-strong);
}

.ui-card--interactive:hover {
  transform: translateY(-4px);
  border-color: var(--line-strong);
  box-shadow: var(--shadow-lg);
}

.ui-card__header,
.ui-card__body,
.stack {
  display: grid;
  grid-gap: 16px;
  gap: 16px;
}

.ui-card__header,
.ui-card__body {
  position: relative;
  z-index: 1;
  padding: 24px;
}

.ui-card__body {
  height: 100%;
}

.ui-card > .stack,
.ui-card > p {
  position: relative;
  z-index: 1;
  padding: 24px;
}

.ui-card > p {
  margin: 0;
}

.ui-card__title,
.stack h3,
.admin-layout__sidebar h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2vw, 1.56rem);
  line-height: 1.05;
  letter-spacing: -0.05em;
}

.stack > * {
  margin: 0;
}

.section__head {
  display: grid;
  grid-gap: 12px;
  gap: 12px;
  max-width: 760px;
  margin-bottom: 30px;
}

.section__title {
  font-size: clamp(2.1rem, 4vw, 4.3rem);
}

.section__lead {
  max-width: 760px;
  font-size: 1.04rem;
}

.marketing-page .section__head {
  gap: 14px;
  margin-bottom: 34px;
}

.marketing-page .section__title {
  line-height: 0.96;
  letter-spacing: -0.055em;
  text-wrap: balance;
}

.marketing-page .section__lead {
  max-width: 44rem;
  font-size: 1.02rem;
  line-height: 1.72;
  color: rgba(35, 28, 22, 0.74);
  text-wrap: pretty;
}

.two-column {
  gap: 22px;
  align-items: stretch;
}

.two-column > * {
  flex: 1 1;
}

.section--about .section__head {
  max-width: 720px;
}

.section--about .section__title {
  font-size: clamp(2.7rem, 5vw, 4.7rem);
}

.section--about .section__lead {
  max-width: 640px;
  font-size: 1.02rem;
}

.about-showcase {
  display: grid;
  grid-template-columns: minmax(18rem, 0.86fr) minmax(0, 1.14fr);
  grid-gap: clamp(22px, 2.8vw, 30px);
  gap: clamp(22px, 2.8vw, 30px);
  align-items: stretch;
}

.about-media-card {
  min-height: 100%;
  padding: 0;
}

.about-media-card__image {
  width: 100%;
  height: 100%;
  min-height: 42rem;
  object-fit: cover;
  object-position: center top;
  border-radius: inherit;
}

.about-media-card::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 42%;
  background: linear-gradient(180deg, transparent, rgba(28, 20, 14, 0.24));
  pointer-events: none;
}

.about-media-card__overlay {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 22px;
  z-index: 1;
  display: grid;
  grid-gap: 0.72rem;
  gap: 0.72rem;
}

.about-media-card__eyebrow {
  margin: 0;
  display: inline-flex;
  align-items: center;
  justify-self: start;
  min-height: 2.2rem;
  padding: 0 0.95rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.58);
  border: 1px solid rgba(255, 255, 255, 0.34);
  -webkit-backdrop-filter: blur(18px);
          backdrop-filter: blur(18px);
  box-shadow: 0 10px 30px rgba(31, 22, 15, 0.12);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #211a15;
}

.about-media-card__caption {
  margin: 0;
  max-width: 16rem;
  padding: 0.95rem 1rem 1rem;
  border-radius: 1.15rem;
  background: rgba(255, 255, 255, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.26);
  -webkit-backdrop-filter: blur(20px);
          backdrop-filter: blur(20px);
  font-size: 0.94rem;
  line-height: 1.5;
  color: rgba(27, 22, 18, 0.78);
}

.about-panel {
  display: grid;
  grid-gap: clamp(18px, 2vw, 22px);
  gap: clamp(18px, 2vw, 22px);
  align-content: start;
}

.about-story-card,
.about-insight-card,
.about-platform-card {
  min-height: 100%;
}

.about-story-card__inner,
.about-insight-card__inner,
.about-platform-card__inner {
  position: relative;
  z-index: 1;
  display: grid;
}

.about-story-card__inner {
  gap: 1.05rem;
  padding: clamp(28px, 3.2vw, 38px);
}

.about-story-card__intro {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 2.4vw, 2.3rem);
  line-height: 1.02;
  letter-spacing: -0.045em;
  text-wrap: balance;
}

.about-story-card__text {
  margin: 0;
  max-width: 36rem;
  font-size: 1rem;
  line-height: 1.72;
  color: rgba(35, 28, 22, 0.78);
}

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

.about-insight-card__inner {
  gap: 0.85rem;
  height: 100%;
  padding: 24px;
}

.about-insight-card__inner p:last-child {
  margin: 0;
  font-size: 0.96rem;
  line-height: 1.58;
  color: rgba(35, 28, 22, 0.74);
}

.about-platform-card__inner {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 1.1rem 1.5rem;
  padding: 24px 26px;
}

.about-platform-card__text {
  margin: 0;
  max-width: 30rem;
  font-size: 0.96rem;
  line-height: 1.58;
  color: rgba(35, 28, 22, 0.72);
}

.about-platform-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 18.2rem;
  min-height: 3.65rem;
  padding: 0.95rem 1.8rem;
  border: 1px solid rgba(18, 18, 18, 0.08);
  background: #121212;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-family: var(--font-legacy);
  font-size: 0.76rem;
  font-weight: 400;
  cursor: pointer;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease,
    background-color 0.3s ease;
}

.about-platform-cta:hover,
.about-platform-cta:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.12);
}

.card-grid {
  gap: 22px;
  flex-wrap: wrap;
}

.card-grid > * {
  flex: 1 1 280px;
}

.card-grid--products {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
}

.card-grid--products > * {
  min-width: 0;
  height: 100%;
}

.card-grid--compact > * {
  flex-basis: 240px;
}

.assistant-card .ui-card__header {
  padding-bottom: 10px;
}

.assistant-card .ui-card__body {
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: stretch;
}

.marketing-square-cta.ui-button,
.assistant-card__cta.ui-button {
  min-height: 2.9rem;
  padding: 0.8rem 1.2rem;
  border-radius: 0;
  border-color: rgba(18, 18, 18, 0.08);
  background: #121212;
  box-shadow: none;
  color: #ffffff;
  font-family: var(--font-legacy);
  font-size: 0.74rem;
  font-weight: 400;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.marketing-square-cta.ui-button::before,
.assistant-card__cta.ui-button::before {
  display: none;
}

.marketing-square-cta.ui-button:hover,
.marketing-square-cta.ui-button:focus-visible,
.assistant-card__cta.ui-button:hover,
.assistant-card__cta.ui-button:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.12);
}

.marketing-square-cta.ui-button:active,
.assistant-card__cta.ui-button:active {
  transform: translateY(0);
}

.assistant-card .ui-card__title {
  line-height: 1.04;
  letter-spacing: -0.04em;
  text-wrap: balance;
}

.assistant-card .ui-card__body p:first-child {
  font-size: 1rem;
  line-height: 1.62;
}

.assistant-card .ui-card__body p:last-of-type {
  font-size: 0.96rem;
  line-height: 1.62;
}

.assistant-card .ui-button,
.assistants-empty .ui-button {
  margin-top: auto;
}

.product-card {
  height: 100%;
}

.product-card__copy {
  display: grid;
  grid-gap: 18px;
  gap: 18px;
}

.product-card__footer {
  margin-top: auto;
  display: grid;
  grid-gap: 18px;
  gap: 18px;
}

.assistants-empty {
  min-height: 320px;
}

.assistants-empty > .stack {
  height: 100%;
  align-content: center;
  justify-items: start;
  padding: clamp(28px, 3.2vw, 38px);
}

.assistants-empty__title {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 2.6vw, 2.4rem);
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.step-card .ui-card__body {
  min-height: 220px;
  align-content: start;
}

.subscription-layout > :first-child {
  flex-basis: 55%;
}

.subscription-layout > :last-child {
  flex-basis: 45%;
}

.subscription-card {
  min-height: 100%;
}

.subscription-card--list {
  padding: clamp(28px, 3.2vw, 36px);
}

.subscription-card__main-content,
.subscription-card__list-head {
  position: relative;
  z-index: 1;
}

.subscription-card__main-content {
  display: grid;
  grid-gap: 1rem;
  gap: 1rem;
  align-content: start;
  height: 100%;
  padding: clamp(28px, 3.2vw, 38px);
}

.subscription-card__list-head {
  display: grid;
  grid-gap: 0.7rem;
  gap: 0.7rem;
  margin-bottom: 1.1rem;
}

.subscription-card__list-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2vw, 1.9rem);
  line-height: 1.03;
  letter-spacing: -0.04em;
  text-wrap: balance;
}

.subscription-offer {
  margin: 0;
  max-width: 17ch;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.75rem);
  line-height: 1.01;
  letter-spacing: -0.04em;
  text-wrap: balance;
}

.subscription-offer--pending {
  max-width: 14ch;
}

.subscription-price {
  display: inline-flex;
  align-items: baseline;
  gap: 0.45rem;
  flex-wrap: wrap;
  vertical-align: baseline;
}

.subscription-price__value {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 4.8vw, 4.8rem);
  line-height: 0.92;
  letter-spacing: -0.08em;
}

.subscription-price__period {
  font-size: 1rem;
  letter-spacing: -0.02em;
  color: var(--muted);
}

.subscription-price--pending {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  line-height: 1;
  letter-spacing: -0.05em;
}

.subscription-summary {
  margin: 0;
  max-width: 31rem;
  font-size: 0.98rem;
  line-height: 1.68;
  color: rgba(35, 28, 22, 0.74);
}

.feature-list {
  display: grid;
  grid-gap: 14px;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
  position: relative;
  z-index: 1;
}

.feature-list li {
  position: relative;
  padding-left: 24px;
  color: var(--text);
}

.feature-list li::before {
  content: "";
  position: absolute;
  top: 0.7em;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(173, 123, 73, 0.85), rgba(123, 81, 44, 0.9));
  box-shadow: 0 0 0 5px rgba(173, 123, 73, 0.12);
}

.chat-preview,
.chat-window {
  overflow: hidden;
}

.chat-preview {
  padding: 24px;
}

.chat-preview,
.chat-window__stream {
  display: grid;
  grid-gap: 16px;
  gap: 16px;
}

.chat-preview__message,
.chat-bubble {
  padding: 18px 20px;
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid rgba(102, 77, 52, 0.1);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.32);
}

.chat-preview__message--user,
.chat-bubble--user {
  margin-left: auto;
  max-width: min(78%, 680px);
  background: rgba(244, 236, 226, 0.88);
}

.chat-preview__message p:last-child,
.chat-bubble p:last-child {
  margin-bottom: 0;
}

.ai-showcase {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(18rem, 0.9fr);
  grid-gap: 24px;
  gap: 24px;
  align-items: stretch;
}

.ai-copy-card > .stack {
  height: 100%;
  align-content: space-between;
  gap: 1rem;
  padding: clamp(30px, 3.3vw, 40px);
}

.ai-copy-card__intro {
  font-family: var(--font-display);
  max-width: 22ch;
  font-size: clamp(1.56rem, 2.35vw, 2.18rem);
  line-height: 1.06;
  letter-spacing: -0.018em;
  text-wrap: balance;
}

.ai-copy-card .muted {
  max-width: 34rem;
  font-size: 0.98rem;
  line-height: 1.68;
}

.ai-copy-card .ui-button {
  margin-top: 0.65rem;
}

.ai-benefits {
  display: grid;
  grid-gap: 18px;
  gap: 18px;
}

.ai-benefit-card {
  min-height: 100%;
}

.ai-benefit-card > .stack {
  height: 100%;
  align-content: start;
  padding: 24px;
}

.ai-benefit-card > .stack p:last-child {
  font-size: 0.97rem;
  line-height: 1.6;
  color: rgba(35, 28, 22, 0.76);
}

.cta-section {
  margin-bottom: 12px;
}

.cta-section__card {
  display: grid;
  grid-gap: 18px;
  gap: 18px;
}

.hero__actions,
.payment-card__actions {
  gap: 12px;
  flex-wrap: wrap;
  padding-top: 8px;
}

.ui-button {
  --button-bg: linear-gradient(135deg, #2e241c, #1e1711);
  --button-fg: #fff9f3;
  --button-border: rgba(255, 255, 255, 0.08);
  --button-shadow: 0 14px 28px rgba(43, 28, 16, 0.16);
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid var(--button-border);
  background: var(--button-bg);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), var(--button-shadow);
  color: var(--button-fg);
  cursor: pointer;
  font-weight: 600;
  letter-spacing: -0.02em;
  transition:
    transform var(--motion-fast) var(--ease-premium),
    box-shadow var(--motion-fast) var(--ease-premium),
    border-color var(--motion-fast) var(--ease-premium),
    background var(--motion-base) var(--ease-premium),
    color var(--motion-fast) var(--ease-premium);
}

.ui-button::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 18%, rgba(255, 255, 255, 0.28) 48%, transparent 78%);
  transform: translateX(-140%);
  transition: transform var(--motion-slow) var(--ease-premium);
  pointer-events: none;
}

.ui-button:hover {
  transform: translateY(-2px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 18px 34px rgba(43, 28, 16, 0.18);
}

.ui-button:hover::before {
  transform: translateX(140%);
}

.ui-button:active {
  transform: translateY(0) scale(0.985);
}

.ui-button:disabled,
.ui-button[aria-disabled="true"] {
  opacity: 0.56;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.ui-button--secondary {
  --button-bg: linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(250, 244, 237, 0.8));
  --button-fg: var(--text);
  --button-border: rgba(102, 77, 52, 0.12);
  --button-shadow: 0 10px 24px rgba(69, 46, 24, 0.08);
}

.ui-button--ghost {
  --button-bg: rgba(255, 255, 255, 0.2);
  --button-fg: var(--text);
  --button-border: rgba(102, 77, 52, 0.12);
  --button-shadow: none;
  -webkit-backdrop-filter: blur(12px);
          backdrop-filter: blur(12px);
}

.inner-page {
  padding: calc(var(--legacy-header-height, 4.2rem) + 26px) 0 48px;
}

.page-shell--miniapp .inner-page {
  width: min(100vw - 24px, 1080px);
  padding: 24px 0 32px;
}

.surface--app,
.surface--payment {
  padding-top: 16px;
}

.page-shell--miniapp .surface--app,
.page-shell--miniapp .surface--payment {
  padding-top: 0;
}

.dashboard,
.chat-page {
  display: grid;
  grid-gap: 24px;
  gap: 24px;
}

.dashboard__head {
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
}

.dashboard__head > div {
  display: grid;
  grid-gap: 10px;
  gap: 10px;
}

.dashboard__head h1 {
  font-size: clamp(2.3rem, 4.4vw, 4rem);
}

.dashboard__head p {
  margin: 0;
}

.chat-window__stream {
  min-height: 380px;
  padding: 8px;
}

.chat-window__composer {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-gap: 12px;
  gap: 12px;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.chat-window__composer textarea {
  min-height: 112px;
}

.form-field {
  display: grid;
  grid-gap: 9px;
  gap: 9px;
}

.form-field span {
  font-size: 0.94rem;
  font-weight: 600;
  color: var(--muted);
}

.form-field input,
.form-field textarea,
.chat-window__composer textarea {
  width: 100%;
  border-radius: 20px;
  border: 1px solid rgba(102, 77, 52, 0.14);
  background: rgba(255, 255, 255, 0.72);
  padding: 15px 16px;
  color: var(--text);
  outline: none;
  transition:
    border-color var(--motion-fast) var(--ease-premium),
    background var(--motion-fast) var(--ease-premium),
    box-shadow var(--motion-fast) var(--ease-premium),
    transform var(--motion-fast) var(--ease-premium);
}

.form-field input:hover,
.form-field textarea:hover,
.chat-window__composer textarea:hover {
  border-color: rgba(102, 77, 52, 0.22);
  background: rgba(255, 255, 255, 0.82);
}

.form-field input:focus,
.form-field textarea:focus,
.chat-window__composer textarea:focus {
  border-color: rgba(173, 123, 73, 0.38);
  box-shadow: var(--focus-ring);
}

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

.settings-card > .stack {
  padding: 0;
}

.settings-card--hint .stack {
  justify-content: center;
  min-height: 100%;
}

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

.settings-markdown {
  min-height: 320px !important;
}

.settings-actions {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
}

.settings-preview {
  display: grid;
  grid-gap: 14px;
  gap: 14px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.48);
}

.settings-value {
  display: grid;
  grid-gap: 0.3rem;
  gap: 0.3rem;
  padding: 14px 0;
  border-top: 1px solid var(--line);
}

.settings-value:first-of-type {
  border-top: 0;
  padding-top: 0;
}

.settings-value span:first-child {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.payment-card {
  max-width: 760px;
  margin: 36px auto 0;
}

.payment-card > .stack {
  padding: 0;
}

.admin-layout {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  grid-gap: 22px;
  gap: 22px;
  padding: calc(var(--legacy-header-height, 4.2rem) + 18px) 0 32px;
  min-height: calc(100vh - 100px);
}

.admin-layout__sidebar {
  align-self: flex-start;
  position: -webkit-sticky;
  position: sticky;
  top: 96px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.3), transparent 30%),
    rgba(255, 251, 246, 0.8);
}

.admin-nav {
  display: grid;
  grid-gap: 8px;
  gap: 8px;
  margin-top: 20px;
}

.admin-nav a {
  justify-content: flex-start;
  padding: 12px 14px;
  border: 1px solid transparent;
  background: rgba(255, 255, 255, 0.4);
}

.admin-nav a:hover {
  transform: translateX(2px);
  border-color: rgba(102, 77, 52, 0.12);
  background: rgba(255, 255, 255, 0.8);
  color: var(--text);
}

.admin-layout__content {
  min-width: 0;
}

.surface--marketing .section,
.surface--marketing .cta-section__card {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.32), transparent 30%),
    rgba(255, 250, 245, 0.68);
}

.surface--app .ui-card,
.surface--payment .ui-card,
.surface--payment .payment-card,
.surface--app .chat-window {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.34), transparent 28%),
    rgba(255, 252, 247, 0.8);
}

.surface--admin .ui-card,
.surface--admin .admin-layout__sidebar {
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.32), transparent 28%),
    rgba(255, 251, 246, 0.82);
}

.error-text {
  margin: 0;
}

@media (max-width: 1080px) {
  .hero__content {
    width: min(100% - 40px, 1180px);
    padding-top: 124px;
  }

  .hero__frame {
    justify-content: center;
  }

  .two-column,
  .dashboard__head {
    flex-direction: column;
    align-items: stretch;
  }

  .admin-layout {
    grid-template-columns: 1fr;
  }

  .admin-layout__sidebar {
    position: static;
  }

  .about-showcase {
    grid-template-columns: 1fr;
  }

  .ai-showcase {
    grid-template-columns: 1fr;
  }

  .about-media-card__image {
    min-height: 36rem;
    max-height: 46rem;
  }

  .about-platform-card__inner {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 860px) {
  :root {
    --content: min(100vw - 22px, 1240px);
    --content-wide: min(100vw - 12px, 1320px);
    --radius-md: 28px;
    --radius-lg: 34px;
  }

  .site-header {
    padding-top: 12px;
  }

  .site-header__shell {
    position: relative;
    flex-wrap: wrap;
    border-radius: 28px;
    padding: 14px;
  }

  .site-header__toggle {
    position: relative;
    display: inline-flex;
    flex: 0 0 auto;
  }

  .site-nav {
    width: 100%;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    padding-top: 0;
    flex-direction: column;
    align-items: stretch;
    transition:
      max-height var(--motion-base) var(--ease-premium),
      opacity var(--motion-fast) var(--ease-premium),
      padding-top var(--motion-fast) var(--ease-premium);
  }

  .site-nav--open {
    max-height: 320px;
    opacity: 1;
    padding-top: 10px;
  }

  .site-nav__link {
    width: 100%;
    justify-content: center;
    padding: 0 14px;
  }

  .hero {
    min-height: min(780px, 80svh);
    border-radius: 0 0 30px 30px;
  }

  .hero__content {
    min-height: min(780px, 80svh);
    width: calc(100% - 24px);
    padding: 112px 0 24px;
    align-items: center;
  }

  .card-grid > * {
    flex-basis: calc(50% - 11px);
  }

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

@media (max-width: 720px) {
  .hero__lead,
  .dashboard__head h1,
  .cta-section__card h2,
  .payment-card h1,
  .section__title {
    font-size: clamp(2rem, 12vw, 3.4rem);
  }

  .hero__card {
    gap: 14px;
    padding: 24px;
  }

  .hero__card h1 {
    font-size: 0.74rem;
    letter-spacing: 0.22em;
  }

  .hero__actions,
  .payment-card__actions {
    flex-direction: column;
  }

  .ui-button {
    width: 100%;
  }

  .card-grid > * {
    flex-basis: 100%;
  }

  .card-grid--products {
    grid-template-columns: 1fr;
  }

  .chat-preview__message--user,
  .chat-bubble--user {
    max-width: 100%;
  }

  .site-auth__overlay {
    padding: 1rem;
  }

  .site-auth__dialog {
    gap: 1rem;
    padding: 1rem;
    border-radius: 1.5rem;
  }

  .site-auth__dialog-head {
    padding-inline: 0;
    padding-top: 3rem;
  }

  .site-auth__close {
    top: 0.9rem;
    right: 0.9rem;
  }

  .site-auth__step {
    grid-template-columns: 1fr;
  }

  .site-auth__step-number {
    width: 1.8rem;
    height: 1.8rem;
  }

  .site-footer__shell {
    flex-direction: column;
    align-items: center;
    gap: 20px;
    text-align: center;
  }

  .site-footer__actions {
    justify-content: center;
  }

  .site-legal__dialog {
    max-height: min(88dvh, 960px);
  }

  .site-auth__title {
    font-size: clamp(1.5rem, 9vw, 2rem);
  }

  .page-shell--miniapp .inner-page {
    width: min(100vw - 16px, 1080px);
    padding-top: 16px;
  }

  .site-auth__widget {
    justify-content: stretch;
  }

  .marketing-page .section__head {
    justify-items: center;
    max-width: none;
    text-align: center;
  }

  .marketing-page .section__lead,
  .about-story-card__text,
  .about-platform-card__text,
  .subscription-summary,
  .ai-copy-card .muted {
    max-width: none;
    text-align: center;
  }

  .assistants-empty > .stack,
  .ai-copy-card > .stack,
  .subscription-card__main-content {
    padding: 24px;
    justify-items: center;
    text-align: center;
  }

  .assistant-card .ui-card__header,
  .assistant-card .ui-card__body,
  .about-story-card__inner,
  .about-insight-card__inner,
  .about-platform-card__inner,
  .ai-benefit-card > .stack,
  .subscription-card__list-head,
  .site-footer__meta {
    justify-items: center;
    text-align: center;
  }

  .about-media-card__image {
    min-height: 30rem;
  }

  .about-media-card__overlay {
    left: 18px;
    right: 18px;
    bottom: 18px;
    justify-items: center;
    text-align: center;
  }

  .about-media-card__caption {
    max-width: 100%;
    font-size: 0.88rem;
    margin-inline: auto;
  }

  .about-story-card__inner,
  .about-insight-card__inner,
  .about-platform-card__inner {
    padding: 24px;
  }

  .about-insights {
    grid-template-columns: 1fr;
  }

  .about-platform-cta,
  .hero-cta,
  .assistant-card__cta.ui-button,
  .marketing-square-cta.ui-button {
    width: min(100%, 17rem);
    min-width: 0;
    justify-self: center;
  }

  .assistant-card .ui-card__body p,
  .about-insight-card__inner p:last-child,
  .ai-benefit-card > .stack p:last-child {
    text-align: center;
  }

  .subscription-offer,
  .subscription-offer--pending,
  .subscription-card__list-title {
    margin-inline: auto;
    text-align: center;
  }

  .subscription-price {
    justify-content: center;
  }

  .feature-list {
    justify-items: center;
  }

  .feature-list li {
    max-width: 28rem;
    padding-left: 0;
    text-align: center;
  }

  .feature-list li::before {
    position: static;
    display: block;
    margin: 0 auto 0.65rem;
  }

  .settings-legal-grid {
    grid-template-columns: 1fr;
  }

  .chat-window__composer {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 860px) {
  .site-header--legacy-home {
    padding-top: 0;
  }

  .site-header--legacy-home .site-header__shell--legacy {
    position: relative;
    flex-wrap: nowrap;
    border-radius: 0;
    padding: 0;
  }

  .site-header--legacy-home .site-nav--legacy {
    width: auto;
    max-height: none;
    overflow: visible;
    align-items: flex-start;
    inset: calc(100% + 0.75rem) auto auto 0;
  }

  .hero--legacy {
    min-height: 100svh;
    border-radius: 0;
  }
}

@media (min-width: 768px) {
  .site-header--legacy-home {
    --legacy-header-height: 4.5rem;
    --legacy-container-gutter: 1.35rem;
  }

  .site-header--legacy-home .brand__mark--legacy {
    font-size: 0.82rem;
  }

  .site-header--legacy-home .brand__pipe {
    font-size: 0.78rem;
  }

  .site-header--legacy-home .brand__name {
    font-size: 0.86rem;
  }

  .site-header--legacy-home .brand__role {
    font-size: 0.68rem;
  }

  .site-header--legacy-home .site-nav--legacy {
    left: auto;
    right: 0;
    min-width: 18rem;
  }

  .hero-grid {
    padding-block: clamp(1.75rem, 5vw, 3rem) clamp(1.5rem, 5vw, 2.4rem);
  }

  .hero-copy {
    width: min(100%, 42rem);
  }
}

@media (min-width: 1024px) {
  .site-header--legacy-home {
    --legacy-header-height: 4.9rem;
    --legacy-container-gutter: 1.75rem;
  }

  .site-header--legacy-home .site-header__toggle--legacy {
    display: none;
  }

  .site-header--legacy-home .site-nav--legacy {
    position: static;
    min-width: 0;
    inset: auto;
    display: flex;
    align-items: center;
    gap: clamp(1.2rem, 1.8vw, 2rem);
    padding: 0;
    opacity: 1;
    pointer-events: auto;
    border: 0;
    background: transparent;
    box-shadow: none;
    transform: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .site-header--legacy-home .site-nav__link--legacy {
    font-size: 0.78rem;
  }

  .hero-video {
    display: block;
  }

  .hero-overlay {
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.02) 0%, rgba(245, 245, 246, 0.18) 40%, rgba(245, 245, 246, 0.38) 100%),
      linear-gradient(90deg, rgba(248, 248, 248, 0) 0%, rgba(248, 248, 248, 0.05) 34%, rgba(255, 255, 255, 0.74) 76%, rgba(255, 255, 255, 0.9) 100%);
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(26rem, 37rem);
    align-items: center;
  }

  .hero-copy {
    grid-column: 2;
    justify-self: end;
    width: min(100%, 42rem);
    padding: 2.4rem 2.55rem 2.6rem;
  }

  .hero-cta {
    min-width: 17rem;
  }
}

@media (max-width: 1023px) {
  .hero-grid {
    justify-items: center;
  }

  .hero-copy {
    justify-self: center;
    justify-items: center;
    width: min(100%, 34rem);
    padding: 2rem 1.9rem 2.1rem;
  }

  .hero-title {
    margin-inline: auto;
  }

  .hero-copy .hero-lead {
    font-size: 0.9rem;
  }

  .hero-note {
    max-width: 28ch;
  }
}

@media (max-width: 767px) {
  .hero-grid {
    width: calc(100% - 20px);
    padding-block: 0.9rem 1.35rem;
  }

  .hero-copy {
    width: min(100%, 30rem);
    gap: 1.15rem;
    justify-items: center;
    text-align: center;
    padding: 1.85rem 1.35rem 1.95rem;
    border-radius: 1.7rem;
  }

  .hero-copy::after {
    border-radius: calc(1.7rem - 1px);
  }

  .hero-copy__top {
    width: 100%;
    gap: 0.78rem;
    justify-items: center;
    text-align: center;
  }

  .hero-kicker {
    margin-inline: auto;
    padding: 0.42rem 0.82rem;
    font-size: 0.65rem;
    letter-spacing: 0.14em;
  }

  .hero-title {
    font-size: clamp(2.35rem, 11.2vw, 3.1rem);
    max-width: 8.1ch;
    line-height: 0.9;
    letter-spacing: -0.05em;
  }

  .hero-copy__divider {
    width: min(100%, 13.5rem);
    margin-inline: auto;
  }

  .hero-copy .hero-lead {
    max-width: 22ch;
    font-size: 0.9rem;
    line-height: 1.42;
    text-align: center;
    white-space: normal;
    text-wrap: balance;
  }

  .hero-cta {
    width: min(100%, 15rem);
    min-height: 3.35rem;
    padding-inline: 1.4rem;
    font-size: 0.76rem;
    letter-spacing: 0.16em;
  }

  .hero-note {
    max-width: 26ch;
    margin-inline: auto;
    font-size: 0.77rem;
    line-height: 1.62;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

.page-shell--admin {
  background:
    radial-gradient(circle at top left, rgba(203, 208, 214, 0.28), transparent 24rem),
    linear-gradient(180deg, #eff2f5, #e7ebef 40%, #edf1f4);
}

.stack--compact {
  gap: 0.65rem;
}

.product-card__price {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 0.35rem;
  border-top: 1px solid rgba(18, 18, 18, 0.08);
}

.product-card__price span {
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.product-card__price strong {
  font-family: var(--font-display);
  font-size: 1.35rem;
  letter-spacing: -0.04em;
}

.product-dashboard-card .ui-card__body {
  gap: 1rem;
}

.product-dashboard-card__status {
  margin: 0;
  font-weight: 600;
}

.product-dashboard-card__assistant {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: flex-start;
  padding: 1rem 0;
  border-top: 1px solid rgba(18, 18, 18, 0.08);
}

.product-dashboard-card__assistant p {
  margin: 0.35rem 0 0;
}

.admin-auth-screen {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 32px 20px;
}

.admin-auth-card {
  width: min(100%, 520px);
  border-radius: 28px;
}

.admin-shell {
  width: min(100vw - 32px, 1480px);
  margin: 0 auto;
  padding: 16px 0 32px;
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  grid-gap: 18px;
  gap: 18px;
  min-height: 100vh;
  color: #12202d;
}

.admin-sidebar,
.admin-main .ui-card {
  border: 1px solid rgba(25, 42, 58, 0.08);
  box-shadow: 0 18px 42px rgba(26, 39, 56, 0.08);
  background: rgba(250, 252, 253, 0.9);
  -webkit-backdrop-filter: blur(18px);
          backdrop-filter: blur(18px);
}

.admin-sidebar {
  position: -webkit-sticky;
  position: sticky;
  top: 16px;
  align-self: start;
  border-radius: 28px;
  padding: 22px 18px;
}

.admin-sidebar__brand {
  display: grid;
  grid-gap: 0.5rem;
  gap: 0.5rem;
}

.admin-sidebar__brand h1,
.admin-page__header h2,
.admin-metric-card h3,
.admin-panel-card h3,
.admin-auth-card h2 {
  margin: 0;
  font-family: "Space Grotesk", var(--font-display);
  letter-spacing: -0.04em;
}

.admin-sidebar__brand p:last-child,
.admin-page__header p,
.admin-metric-card p,
.admin-panel-card p {
  margin: 0;
}

.admin-kicker {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #5f7388;
}

.admin-sidebar__nav {
  display: grid;
  grid-gap: 8px;
  gap: 8px;
  margin-top: 24px;
}

.admin-sidebar__link {
  display: flex;
  align-items: center;
  min-height: 46px;
  padding: 0 14px;
  border: 1px solid transparent;
  border-radius: 16px;
  color: #45586d;
  transition:
    border-color 160ms ease,
    background-color 160ms ease,
    color 160ms ease,
    transform 160ms ease;
}

.admin-sidebar__link:hover,
.admin-sidebar__link--active {
  background: rgba(15, 55, 89, 0.06);
  border-color: rgba(15, 55, 89, 0.1);
  color: #0f3759;
  transform: translateX(2px);
}

.admin-main {
  min-width: 0;
  display: grid;
}

.admin-page {
  display: grid;
  grid-gap: 18px;
  gap: 18px;
}

.admin-page__header,
.admin-two-column,
.admin-metrics-grid,
.admin-form-grid,
.admin-toggle-row,
.admin-limit-row,
.admin-list-row,
.admin-select-row,
.admin-dialog-stack,
.admin-transcript {
  display: grid;
}

.admin-page__header {
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: end;
}

.admin-metrics-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

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

.admin-two-column {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.admin-two-column--wide {
  grid-template-columns: 340px minmax(0, 1fr);
}

.admin-metric-card,
.admin-panel-card {
  border-radius: 24px;
  padding: 22px;
}

.admin-metric-card {
  display: grid;
  grid-gap: 0.6rem;
  gap: 0.6rem;
}

.admin-panel-card--list {
  max-height: calc(100vh - 64px);
  overflow: auto;
}

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

.admin-toggle-row {
  grid-template-columns: repeat(2, minmax(0, max-content));
  gap: 20px;
}

.admin-toggle-row label,
.admin-limit-row__controls label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.admin-select-row {
  width: 100%;
  text-align: left;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1rem;
  padding: 16px;
  border: 1px solid rgba(22, 41, 61, 0.08);
  border-radius: 18px;
  background: rgba(244, 247, 249, 0.8);
  cursor: pointer;
  transition:
    border-color 160ms ease,
    background-color 160ms ease,
    transform 160ms ease;
}

.admin-select-row:hover,
.admin-select-row--active {
  background: rgba(232, 239, 244, 0.95);
  border-color: rgba(15, 55, 89, 0.16);
  transform: translateY(-1px);
}

.admin-select-row__stats,
.admin-list-row__meta {
  display: grid;
  justify-items: end;
  grid-gap: 4px;
  gap: 4px;
  font-size: 0.82rem;
  color: #5f7388;
}

.admin-list-row {
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: center;
  padding: 14px 0;
  border-top: 1px solid rgba(22, 41, 61, 0.08);
}

.admin-list-row:first-of-type {
  border-top: 0;
  padding-top: 0;
}

.admin-list-row--detail {
  align-items: start;
}

.admin-assistant-group {
  display: grid;
  grid-gap: 10px;
  gap: 10px;
}

.admin-dialog-stack {
  gap: 12px;
  padding-left: 12px;
  border-left: 2px solid rgba(15, 55, 89, 0.1);
}

.admin-dialog-card {
  padding: 16px;
  border-radius: 18px;
  background: rgba(244, 247, 249, 0.9);
}

.admin-transcript {
  gap: 10px;
  margin-top: 14px;
}

.admin-transcript__bubble {
  padding: 14px;
  border-radius: 16px;
  background: #ffffff;
  border: 1px solid rgba(22, 41, 61, 0.08);
}

.admin-transcript__bubble--user {
  background: rgba(15, 55, 89, 0.06);
}

.admin-limit-row {
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: center;
  padding: 14px 0;
  border-top: 1px solid rgba(22, 41, 61, 0.08);
}

.admin-limit-row:first-of-type {
  border-top: 0;
  padding-top: 0;
}

.admin-limit-row__controls {
  display: flex;
  align-items: center;
  gap: 12px;
}

.admin-limit-row__controls input:not([type="checkbox"]) {
  width: 112px;
}

@media (max-width: 1200px) {
  .admin-metrics-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  .admin-shell {
    width: min(100vw - 20px, 1480px);
    grid-template-columns: 1fr;
  }

  .admin-sidebar {
    position: static;
  }

  .admin-page__header,
  .admin-two-column,
  .admin-two-column--wide,
  .admin-metrics-grid,
  .admin-metrics-grid--detail,
  .admin-form-grid {
    grid-template-columns: 1fr;
  }

  .product-dashboard-card__assistant,
  .admin-limit-row,
  .admin-list-row,
  .admin-select-row {
    grid-template-columns: 1fr;
  }

  .admin-select-row__stats,
  .admin-list-row__meta {
    justify-items: start;
  }
}

