@font-face {
    font-family: Lato;
    src: url("./fonts/lato-400-latin.woff2") format("woff2");
    font-weight: 400;
    font-display: swap;
    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: Lato;
    src: url("./fonts/lato-400-latin-ext.woff2") format("woff2");
    font-weight: 400;
    font-display: swap;
    unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
    font-family: Poppins;
    src: url("./fonts/poppins-600-latin.woff2") format("woff2");
    font-weight: 600;
    font-display: swap;
    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: Poppins;
    src: url("./fonts/poppins-600-latin-ext.woff2") format("woff2");
    font-weight: 600;
    font-display: swap;
    unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
    font-family: Poppins;
    src: url("./fonts/poppins-700-latin.woff2") format("woff2");
    font-weight: 700;
    font-display: swap;
    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: Poppins;
    src: url("./fonts/poppins-700-latin-ext.woff2") format("woff2");
    font-weight: 700;
    font-display: swap;
    unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
    color-scheme: light;
    --canvas: #faf7f0;
    --paper: #fffcf7;
    --ink: #27212b;
    --muted: #5f5663;
    --plum: #33203e;
    --plum-dark: #241530;
    --plum-light: #ece4ee;
    --copper: #965132;
    --gold: #e4b478;
    --sage: #dfe8dd;
    --line: #e3d9cf;
    --line-strong: #bfb2bd;
    --focus: #7b37b3;
    --shadow: 0 16px 42px -25px #351b3f50;
    --serif: Georgia, "Times New Roman", serif;
    --sans: Lato, system-ui, sans-serif;
    --ui: Poppins, system-ui, sans-serif;
    --gutter: clamp(18px, 5vw, 68px);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

html {
    scroll-behavior: smooth;
    scroll-padding-top: 20px;
    -webkit-text-size-adjust: 100%;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    min-height: 100dvh;
    margin: 0;
    background: var(--canvas);
    color: var(--ink);
    font: 400 16px/1.6 var(--sans);
}

main { flex: 1; }
p { margin: 0 0 1em; }

h1, h2, h3 {
    margin: 0 0 .35em;
    color: var(--plum-dark);
    font-family: var(--serif);
    font-weight: 400;
    line-height: 1.08;
    letter-spacing: -.032em;
    overflow-wrap: anywhere;
}

h1 { font-size: clamp(39px, 5.8vw, 76px); }
h2 { font-size: clamp(34px, 4.4vw, 58px); }
h3 { font-size: clamp(26px, 3.1vw, 40px); }

img { max-width: 100%; }
a { color: var(--plum); text-underline-offset: .22em; }
a:hover { color: var(--copper); }
button, input, textarea, select { color: inherit; font: inherit; }
button, summary { cursor: pointer; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 4px; }

.wrap {
    width: min(1220px, calc(100% - 2 * var(--gutter)));
    margin-inline: auto;
}

.stack { display: grid; gap: 16px; }
.stack > .button { justify-self: start; }
.buttons { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; }
.muted { color: var(--muted); }
.eyebrow {
    margin: 0 0 14px;
    color: var(--copper);
    font: 600 .7rem/1.5 var(--ui);
    letter-spacing: .13em;
}

.spark {
    display: inline-block;
    margin-inline-end: .38em;
    color: var(--copper);
    font-size: 1.3em;
    vertical-align: -.05em;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .55em;
    min-height: 47px;
    max-width: 100%;
    padding: 10px 18px;
    border: 1px solid transparent;
    border-radius: 6px;
    background: transparent;
    color: var(--plum-dark);
    font: 600 .83rem/1.35 var(--ui);
    text-align: center;
    text-decoration: none;
    transition: background-color .17s ease, border-color .17s ease, color .17s ease, box-shadow .17s ease;
}

.button.small { min-height: 42px; padding: 8px 13px; font-size: .77rem; }
.button.primary { background: var(--plum); border-color: var(--plum); color: var(--paper); }
.button.primary:hover { background: #573662; border-color: #573662; color: #fff; box-shadow: 0 7px 16px -9px #3d1e4a90; }
.button.outline { border-color: var(--line-strong); }
.button.outline:hover, .button.ghost:hover, .button.subtle:hover { background: var(--plum-light); border-color: var(--plum-light); color: var(--plum-dark); }
.button.subtle { padding-inline: 12px; text-decoration: underline; text-decoration-color: #a887a6; text-underline-offset: .24em; }
.button.danger { background: #fff1ec; border-color: #cc8c82; color: #86372d; }
.button.danger:hover { background: #f8dcd3; color: #6a271f; }
.button:disabled { opacity: .6; cursor: default; }

.chips { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; }
.chips > span {
    padding: 5px 11px;
    border: 1px solid #d9cbd9;
    border-radius: 100px;
    background: #f3eaf2;
    color: #533750;
    font: 600 .71rem/1.4 var(--ui);
}

.skip {
    position: absolute;
    z-index: 10;
    inset: 10px auto auto 10px;
    padding: 10px 14px;
    background: var(--paper);
    transform: translateY(-150%);
}

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

.site-header {
    border-bottom: 1px solid var(--line);
    background: linear-gradient(90deg, #ae54b4 0%, #9b5db7 24%, #6e779f 48%, #7b9a77 64%, #d7a360 83%, #c97163 100%) top / 100% 3px no-repeat, var(--paper);
    padding-top: 3px;
}

.header-inner, .footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 76px;
    gap: 18px;
}

.brand {
    display: inline-grid;
    justify-items: start;
    gap: 6px;
    flex: none;
    text-decoration: none;
}

.brand img { display: block; height: auto; }
.brand span { padding-inline-start: 2px; color: var(--muted); font: 600 .59rem/1.15 var(--ui); letter-spacing: .2em; }

.site-nav, .site-footer nav {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px clamp(12px, 2.8vw, 35px);
}

.site-nav a, .site-footer nav a {
    display: inline-flex;
    align-items: center;
    min-height: 42px;
    color: var(--plum);
    font: 600 .76rem/1.45 var(--ui);
    text-decoration: none;
}

.site-nav a:hover, .site-footer nav a:hover { color: var(--copper); text-decoration: underline; }
.header-actions { display: flex; align-items: center; gap: 8px; }
.header-actions form { margin: 0; }

.demo-strip {
    padding: 5px var(--gutter);
    background: #eee7f2;
    color: #594163;
    font-size: .78rem;
    text-align: center;
}

.demo-strip span { margin-inline: .2em; }

.hero {
    display: grid;
    grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr);
    gap: clamp(22px, 4.5vw, 64px);
    align-items: center;
    padding-block: clamp(34px, 4.5vw, 66px);
}

.hero-copy h1 {
    margin: .13em 0 .3em;
    font-size: clamp(57px, 7.2vw, 106px);
    line-height: .92;
    letter-spacing: -.066em;
}

.hero-copy h1 em { color: var(--copper); font-weight: inherit; }
.hero-copy > p:not(.eyebrow) { max-width: 40ch; color: var(--muted); font-size: clamp(1rem, 1.35vw, 1.19rem); }
.hero-copy .buttons { margin-top: 25px; }

.hero-visual {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    width: 100%;
    min-width: 0;
    min-height: 480px;
    aspect-ratio: 1.1;
    border: 1px solid #56354c;
    border-radius: 10px;
    background: radial-gradient(ellipse at 55% 45%, #603a50 0%, #37243e 55%, #24152e 100%);
    color: #f7e3ca;
    box-shadow: 0 23px 45px -31px #39203de0;
}

.hero-grid {
    position: absolute;
    inset: 12px;
    z-index: -1;
    border: 1px solid #f1d2aa34;
    background:
        linear-gradient(#f5d8bb10 1px, transparent 1px),
        linear-gradient(90deg, #f5d8bb10 1px, transparent 1px);
    background-size: 32px 32px;
}

.hero-grid::before, .hero-grid::after {
    position: absolute;
    width: 14px;
    height: 14px;
    border: 1px solid #e8c69894;
    content: "";
}

.hero-grid::before { inset: 4px auto auto 4px; border-right: 0; border-bottom: 0; }
.hero-grid::after { inset: auto 4px 4px auto; border-left: 0; border-top: 0; }

.visual-label, .visual-index {
    position: absolute;
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 9px;
    font: 600 clamp(8px, .83vw, 11px)/1.4 var(--ui);
    letter-spacing: .12em;
}

.visual-label { inset: clamp(21px, 3vw, 34px) auto auto clamp(24px, 3.5vw, 40px); }
.visual-label span { color: var(--gold); font-size: 1.45em; }
.visual-index { inset: auto auto clamp(24px, 3vw, 34px) clamp(24px, 3.5vw, 40px); }
.visual-index b { color: var(--gold); font: italic 400 25px/1 var(--serif); letter-spacing: 0; }
.visual-index span { width: clamp(20px, 3vw, 36px); height: 1px; background: #e4b47876; }

.orbit {
    position: absolute;
    z-index: -1;
    top: 50%;
    left: 50%;
    width: 84%;
    height: 69%;
    border: 1px solid #eec29250;
    border-radius: 50%;
    transform: translate(-50%, -50%) rotate(-25deg);
}

.orbit-two {
    width: 86%;
    height: 63%;
    border-style: dashed;
    border-color: #eec29242;
    transform: translate(-50%, -50%) rotate(30deg);
}

.orbit-star { position: absolute; color: var(--gold); line-height: 1; }
.star-one { top: 24%; right: 13%; font-size: clamp(22px, 3vw, 40px); }
.star-two { bottom: 20%; left: 11%; font-size: clamp(17px, 2vw, 26px); }

.hero-card {
    --angle: 0deg;
    position: absolute;
    top: 50%;
    left: 50%;
    width: clamp(135px, 34%, 221px);
    padding: clamp(6px, 1vw, 11px);
    border: 1px solid #e1ba8e;
    border-radius: 9px;
    background: #f6e4cd;
    color: #402b40;
    text-align: center;
    box-shadow: 0 19px 29px -14px #120815e8, 0 1px 4px #190b22ac;
    transform: translate(-50%, -50%) rotate(var(--angle));
}

.hero-card img { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 4px; }
.hero-card small { display: block; margin-top: 7px; font: 700 clamp(6px, .65vw, 9px)/1.35 var(--ui); letter-spacing: .09em; }
.hero-card strong { display: block; margin: 3px 0 2px; font: 400 clamp(13px, 1.55vw, 23px)/1.16 var(--serif); }
.hc-left { --angle: -18deg; top: 53%; left: 31%; background: #d1decc; border-color: #b8c2a2; }
.hc-right { --angle: 18deg; top: 51%; left: 69%; background: #e2cbe2; border-color: #bd9ebe; }
.hc-center { --angle: -4deg; top: 49%; }

.benefit-band {
    border-block: 1px solid #e5d7e5;
    background: #f2eaf3;
}

.band-inner {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    padding-block: 16px;
}

.band-inner > span {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 4px 8px;
    color: var(--plum);
    font: 600 .78rem/1.4 var(--ui);
    text-align: center;
}

.band-inner > span + span { border-left: 1px solid #decfdf; }
.band-inner b { color: #815287; font-size: 1.25em; }
.band-inner > span:nth-child(2) b { color: var(--copper); }
.band-inner > span:nth-child(3) b { color: #486649; }

.tool-section, .how-section { padding-block: clamp(48px, 7vw, 94px); }
.tool-section { padding-bottom: 0; }

.section-head {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr);
    align-items: end;
    gap: 12px 30px;
    margin-bottom: 24px;
}

.section-head h2 { margin-bottom: 0; }
.section-head > p { max-width: 41ch; justify-self: end; margin: 0 0 .23em; color: var(--muted); }

.feature {
    display: grid;
    grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr);
    overflow: hidden;
    min-height: 350px;
    border: 1px solid #deccd8;
    border-radius: 10px;
    background: #f6edf4;
}

.feature-art {
    position: relative;
    display: grid;
    place-items: center;
    min-height: 240px;
    overflow: hidden;
    background: var(--plum-dark);
}

.feature-art img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 47%;
}

.feature-art:has(span)::after {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, transparent 28%, #24153046 100%);
    content: "";
}

.feature-art span {
    z-index: 1;
    align-self: end;
    justify-self: start;
    margin: clamp(12px, 2.7vw, 31px);
    padding: 10px 13px;
    border: 1px solid #ecd1a494;
    background: #241530d9;
    color: #ffebd0;
    font: 600 .66rem/1.5 var(--ui);
    text-align: center;
    letter-spacing: .13em;
}

.feature-copy {
    min-width: 0;
    align-self: center;
    padding: clamp(24px, 4.7vw, 63px);
}

.feature-copy h3 { font-size: clamp(35px, 5vw, 66px); }
.feature-copy > p:not(.eyebrow) { max-width: 48ch; color: #514354; }
.feature-copy .chips { margin-block: 20px 24px; }
.feature-copy > .buttons { margin-top: 20px; }

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

.how-grid article {
    min-width: 0;
    padding: clamp(18px, 3vw, 34px);
    border: 1px solid #e5d8c6;
    border-top: 3px solid #ba8857;
    border-radius: 7px;
    background: #fbf1e3;
}

.how-grid article:nth-child(2) { border-color: #d7e1d1; border-top-color: #71896c; background: #edf2e8; }
.how-grid article:nth-child(3) { border-color: #e6d7e6; border-top-color: #986b98; background: #f4ebf4; }
.how-grid article span { display: block; margin-bottom: 12px; color: var(--muted); font: 600 .68rem/1.45 var(--ui); letter-spacing: .1em; }
.how-grid article :is(h2, h3) { font-size: clamp(24px, 3vw, 34px); }
.how-grid article p { margin: 0; color: #504956; }

.site-footer { border-top: 1px solid var(--line); background: #f5efe6; }
.footer-inner { min-height: 104px; padding-block: 12px; }

.notices { padding-top: 18px; }
.alert {
    margin: 0 0 10px;
    padding: 12px 16px;
    border: 1px solid #e4b8ae;
    border-left: 4px solid #a54535;
    border-radius: 5px;
    background: #fdf0eb;
    color: #78382e;
}

.alert.success { border-color: #bfd1b9; border-left-color: #52714d; background: #edf5e9; color: #345137; }

.account-layout {
    display: grid;
    grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
    max-width: 950px;
    overflow: hidden;
    margin-block: clamp(24px, 5vw, 76px);
    border: 1px solid var(--line);
    border-radius: 10px;
    background: var(--paper);
    box-shadow: var(--shadow);
}

.account-art { position: relative; min-height: 390px; isolation: isolate; display: grid; align-items: end; padding: clamp(22px, 4vw, 47px); background: var(--plum-dark); }
.account-art img, .account-art::after { position: absolute; inset: 0; width: 100%; height: 100%; }
.account-art img { z-index: -2; object-fit: cover; }
.account-art::after { z-index: -1; background: linear-gradient(transparent 35%, #241530eb 95%); content: ""; }
.account-art .eyebrow { color: #ffe3b5; }
.account-art h2 { margin: 0; color: var(--paper); }
.form-card { min-width: 0; padding: clamp(22px, 4.5vw, 55px); }
.form-card h1 { font-size: clamp(35px, 4.5vw, 53px); }
.form-card > p:not(.eyebrow) { color: var(--muted); }
.form-card .stack { margin-block: 25px 20px; }
.form-card .form-foot { border-top: 1px solid var(--line); padding-top: 14px; margin: 21px 0 0; font-size: .87rem; }
.form-card .demo-credentials { padding: 9px 12px; background: #f0e7f4; color: #51355e; font-size: .87rem; }

label {
    display: grid;
    gap: 7px;
    color: #49384d;
    font: 600 .83rem/1.4 var(--ui);
}

input:not([type="checkbox"], [type="radio"], [type="file"], [type="hidden"]), textarea, select {
    width: 100%;
    min-width: 0;
    min-height: 45px;
    padding: 10px 11px;
    border: 1px solid var(--line-strong);
    border-radius: 5px;
    background: #fffefa;
    color: var(--ink);
    font: 400 1rem/1.35 var(--sans);
}

textarea { resize: vertical; }
input:is([type="checkbox"], [type="radio"]) { width: 1.14em; height: 1.14em; margin: 0; accent-color: var(--plum); }
input[readonly] { background: #f4eef3; }
.check { display: inline-flex; align-items: center; gap: 8px; min-height: 34px; }
.check input { flex: none; }

.dashboard, .prose-page { padding-block: clamp(30px, 6vw, 80px); }
.dash-head { margin-bottom: clamp(20px, 4vw, 36px); }
.dash-head > p:not(.eyebrow), .prose-page > p:not(.eyebrow) { max-width: 68ch; color: var(--muted); }
.dash-head h1, .prose-page h1 { font-size: clamp(42px, 6vw, 72px); }
.dash-head .button { margin-top: 8px; }
.dashboard .feature { margin-bottom: 22px; }
.prose-page.narrow { max-width: 800px; }
.prose-page .how-grid { margin-block: 28px; }
.prose-page > .button { margin-block: 4px 10px; }

.panel-box {
    min-width: 0;
    padding: clamp(16px, 3vw, 32px);
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--paper);
    box-shadow: var(--shadow);
}

.panel-box h2 { font-size: clamp(27px, 3.3vw, 40px); }
.panel-box > p:last-child { margin-bottom: 0; }
.admin-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); align-items: start; gap: 18px; }
.admin-grid .stack { margin-top: 20px; }
.invite-box { margin-bottom: 18px; border-color: #c8d5bb; background: #f2f6ed; }
.invite-box label { margin-block: 14px 10px; }
.client-row { display: grid; gap: 5px; padding-block: 13px; border-bottom: 1px solid var(--line); overflow-wrap: anywhere; }
.client-row:last-child { padding-bottom: 0; border-bottom: 0; }
.client-row strong { color: var(--plum); }
.client-row small { color: var(--muted); }
.account-delete { max-width: 760px; margin-top: 20px; }
.account-delete summary { color: var(--plum); font: 600 .95rem/1.4 var(--ui); }
.account-delete[open] summary { margin-bottom: 14px; }
.account-delete .stack { max-width: 400px; }
.loading { padding-block: 45px; color: var(--muted); }

@media (max-width: 1000px) {
    .hero-visual { min-height: 420px; }
    .hero-copy h1 { font-size: clamp(58px, 8vw, 86px); }
}

@media (max-width: 760px) {
    .header-inner { flex-wrap: wrap; min-height: 68px; gap: 0 10px; padding-block: 10px 0; }
    .header-inner:has(.site-nav) .site-nav { order: 3; justify-content: center; width: 100%; margin-top: 6px; border-top: 1px solid var(--line); }
    .header-inner:not(:has(.site-nav)) { padding-bottom: 10px; }
    .header-inner .brand img { width: min(142px, 30vw); }
    .hero { grid-template-columns: minmax(0, 1fr); gap: 24px; padding-block: 33px 30px; }
    .hero-copy h1 { font-size: clamp(59px, 12vw, 89px); }
    .hero-copy > p:not(.eyebrow) { max-width: 48ch; }
    .hero-visual { min-height: 0; max-height: 475px; aspect-ratio: 1.18; }
    .hero-card { width: min(32%, 172px); }
    .section-head { grid-template-columns: minmax(0, 1fr); }
    .section-head > p { justify-self: start; }
    .feature, .account-layout, .admin-grid { grid-template-columns: minmax(0, 1fr); }
    .feature-art { min-height: 228px; }
    .account-art { min-height: 235px; }
    .account-art img { object-position: 50% 39%; }
    .how-grid { gap: 9px; }
    .how-grid article { padding: 16px; }
}

@media (max-width: 480px) {
    .header-actions { gap: 3px; }
    .header-actions .button.small { padding-inline: 8px; }
    .site-nav { gap: 2px 18px; }
    .site-nav a { font-size: .72rem; }
    .hero-copy .buttons { gap: 5px 8px; }
    .hero-copy h1 { font-size: clamp(50px, 15vw, 67px); }
    .hero-visual { aspect-ratio: 1.05; }
    .hero-card { width: 33%; }
    .visual-label { inset: 18px auto auto 24px; }
    .visual-index { inset: auto auto 19px 24px; }
    .band-inner { grid-template-columns: repeat(2, 1fr); gap: 6px 0; padding-block: 10px; }
    .band-inner > span { font-size: .7rem; }
    .band-inner > span:nth-child(3) { border-left: 0; }
    .how-grid { grid-template-columns: minmax(0, 1fr); }
    .footer-inner { align-items: flex-start; flex-direction: column; gap: 7px; padding-block: 18px 10px; }
    .site-footer nav { gap: 0 14px; }
    .site-footer nav a { font-size: .68rem; }
}

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