@font-face {
    font-family: Manrope;
    src: url("/assets/manrope-latin.woff2") format("woff2");
    font-weight: 400 800;
    font-display: swap;
}

:is(.auth, .workspace, .business) {
    --chrome: #161a19;
    --chrome-ink: #fff8ec;
    --background: #f5f2ed;
    --paper: #fffdf9;
    --muted: #5b5a54;
    --header-fallback: 4.5rem;
    font-family: Manrope, "Segoe UI", system-ui, sans-serif;
    color: var(--ink);
    background: radial-gradient(ellipse at top right, #e9e5dc, transparent 52rem), var(--background);
    min-height: 100svh;
    padding-top: var(--header-size, var(--header-fallback));
}

:is(.auth, .workspace) {
    --ink: #25251f;
    --brand: #494125;
    --brand-hover: #302b1a;
    --line: #ded7cb;
    --tint: #eee5d7;
    --accent: #e9bf85;
}

.skip-link { z-index: 15; }
.brand { gap: .48rem; font-size: 1.28rem; white-space: nowrap; }
.brand img { flex: none; border-radius: .48rem; }
.brand small { display: block; margin-top: .18rem; color: inherit; font-size: .47rem; text-transform: uppercase; letter-spacing: .13em; }

body > :is(.workspace-header, .simple-header, .business-header) {
    position: fixed;
    inset: 0 0 auto;
    z-index: 10;
    color: var(--chrome-ink);
    background: #161a19f7;
    border-bottom: 1px solid #a9997a60;
    box-shadow: 0 8px 28px #161a1917;
}
body > .simple-header { display: flex; justify-content: space-between; align-items: center; min-height: 4.5rem; padding-block: .75rem; }
body > :is(.workspace-header, .simple-header, .business-header) :is(.brand, .business-brand, .header-actions > a:not(.button), .account-name) {
    color: var(--chrome-ink);
}
.workspace-header .secondary { border-color: #ffffff41; background: #ffffff0b; color: var(--chrome-ink); }
.workspace-header .secondary:hover { background: #ffffff20; }
.business-header .header-actions .primary { background: #e9bf85; color: #211b10; }
.business-header .business-brand { overflow-wrap: anywhere; }
.business .header-row { flex-wrap: wrap; }
.business :target, .workspace :target, .auth :target { scroll-margin-top: calc(var(--header-size, var(--header-fallback)) + 1rem); }

.language-menu { position: relative; flex: 0 0 auto; color: #fff8ec; font-size: .78rem; }
.language-menu summary {
    list-style: none; cursor: pointer; padding: .35rem .47rem;
    border: 1px solid #ffffff32; border-radius: .45rem; font-weight: 800;
}
.language-menu summary::-webkit-details-marker { display: none; }
.language-menu ul {
    position: absolute; right: 0; top: calc(100% + .35rem); z-index: 3; min-width: 7.6rem;
    margin: 0; padding: .25rem; list-style: none; background: #202522; border: 1px solid #fcf1d34d;
    border-radius: .55rem; box-shadow: 0 10px 28px #0006;
}
.language-menu a { display: block; padding: .38rem .55rem; color: #fff8ec; border-radius: .3rem; text-decoration: none; }
.language-menu a:is(:hover, [aria-current]) { background: #ffffff19; color: #f9d7a8; }

:is(.auth, .workspace, .business) :is(.panel, .feature-grid > article, .org-card, .metric-grid > article) {
    border-radius: 1.1rem;
    box-shadow: 0 12px 26px #33251a09, 0 2px 4px #33251a06;
}
.workspace .metric-grid article { background: var(--paper); border: 1px solid var(--line); padding: 1.15rem; }
.workspace .section-head { margin-bottom: 1.35rem; }
.account-bar { width: min(100% - 2rem, 94rem); margin-inline: auto; min-height: 4.35rem; display: grid; grid-template-columns: minmax(0,1fr) minmax(0,2fr) minmax(0,1fr); align-items: center; gap: .45rem; }
.account-back { display: inline-flex; align-items: center; gap: .4rem; justify-self: start; color: var(--chrome-ink); text-decoration: none; font-size: .85rem; }
.account-back:hover { color: #f3ce9c; text-decoration: none; }
.account-brand { min-width: 0; display: grid; justify-items: center; }
.account-brand .brand { font-size: 1.06rem; }
.account-controls { justify-self: end; display: flex; align-items: center; gap: .45rem; }
.account-controls > .language-menu { order: 2; }
.account-menu { position: relative; min-width: 0; }
.account-menu summary { cursor: pointer; display: flex; align-items: center; gap: .4rem; margin: 0; list-style: none; }
.account-menu summary::-webkit-details-marker { display: none; }
.account-initial { display: grid; place-items: center; min-width: 2.2rem; min-height: 2.2rem; border-radius: .55rem; background: #ffffff17; font-weight: 800; }
.account-label { max-width: min(10rem, 13vw); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--chrome-ink); font-size: .84rem; }
.account-popover { position: absolute; top: calc(100% + .5rem); right: 0; z-index: 4; width: min(16rem, 80vw); padding: .9rem; display: grid; gap: .65rem; border: 1px solid #fcf1d34d; border-radius: .65rem; background: #202522; color: #fff8ec; }
.account-popover a { color: inherit; text-decoration: underline; text-underline-offset: .2em; }
.account-popover .account-id { width: 100%; min-width: 0; font: .79rem ui-monospace,monospace; }
.workspace .platform-console, .workspace .tenant-console { min-height: calc(100svh - var(--header-size, 4.35rem)); }
.workspace .overview-preview { padding: 0; overflow: hidden; }
.preview-heading { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: .75rem; padding: .9rem 1rem; }
.preview-heading h2 { display: inline-block; margin: 0 .5rem 0 0; font-size: 1.05rem; }
.preview-switch { display: inline-flex; padding: .2rem; gap: .22rem; flex-wrap: wrap; border: 1px solid var(--line); border-radius: .6rem; background: #f0ede6; }
.preview-switch a { display: block; color: var(--ink); font-size: .86rem; text-decoration: none; font-weight: 700; padding: .42rem .72rem; border-radius: .43rem; }
.preview-switch a[aria-current] { background: #fffdf9; box-shadow: 0 1px 4px #30291721; }
.preview-switch a:hover { color: #3f4625; text-decoration: none; }
.overview-frame { display: block; border: 0; border-top: 1px solid var(--line); width: 100%; height: clamp(23rem, 57vh, 37rem); background: var(--background); }
.workspace:has(.console-preview) { padding-top: 0; }
.workspace .console-preview { min-height: 100svh; }
.share-account-id { display: flex; align-items: end; gap: .55rem; flex-wrap: wrap; margin-block: .85rem 1.2rem; }
.share-account-id label { min-width: 0; width: min(21rem, 100%); }
.share-account-id input { min-width: 0; width: 100%; font-family: ui-monospace, monospace; }
.builder-workarea { min-width: 0; align-content: start; }
.builder-mode-switch { justify-self: start; }
[data-builder-mode-panel][hidden] { display: none; }
.marketing-header .header-actions > .language-menu, .business-header .header-actions > .language-menu { order: 5; margin-inline-start: auto; }
@media (max-width: 36rem) {
    .account-bar { width: calc(100% - 1.15rem); grid-template-columns: minmax(0,1fr) minmax(0,1.6fr) minmax(0,1fr); min-height: 3.65rem; }
    .account-back span:last-child, .account-label { display: none; }
    .account-back { font-size: 1.4rem; }
    .account-brand .brand img { width: 1.7rem; height: 1.7rem; }
    .account-controls { gap: .28rem; }
    .account-initial { min-width: 1.85rem; min-height: 2rem; }
    .preview-heading { padding: .75rem; }
    .tenant-console .calendar-tools, .tenant-console .calendar-tools form { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); }
    .tenant-console .calendar-tools form { grid-column: 1 / -1; }
    .tenant-console .calendar-tools .button { min-width: 0; font-size: .82rem; padding-inline: .45rem; text-align: center; }
    .tenant-console .calendar-tools input { min-width: 0; width: 100%; }
}
.domain-details { margin-top: .7rem; }
.domain-details a, .domain-details strong { overflow-wrap: anywhere; }
.domain-details .chip { margin-inline-start: .25rem; }
.customer-toolbar, .customer-actions, .customer-pagination {
    display: flex; align-items: center; flex-wrap: wrap; gap: .65rem;
}
.customer-toolbar { justify-content: space-between; }
.customer-search {
    display: grid; grid-template-columns: minmax(9rem, 2fr) minmax(7rem, 1fr) auto auto;
    align-items: end; gap: .7rem;
}
.customer-search > a { padding-block: .55rem; }
.customer-list, .customer-history { list-style: none; padding: 0; margin: 1.05rem 0 0; }
.customer-list li, .customer-history li {
    display: flex; justify-content: space-between; align-items: start; flex-wrap: wrap; gap: .7rem 1.25rem;
    padding: .85rem 0; border-top: 1px solid var(--line); overflow-wrap: anywhere;
}
.customer-record { flex: 1 1 13rem; min-width: 0; }
.customer-record p, .customer-history p { margin-top: .22rem; }
.customer-tags { display: flex; flex-wrap: wrap; gap: .35rem; margin-top: .5rem; }
.customer-tags a { text-decoration: none; }
.customer-tags a:hover { text-decoration: underline; }
.customer-summary { display: grid; gap: .15rem; font-size: .87rem; color: var(--muted); }
.customer-history time { color: var(--muted); }
.customer-pagination { margin-top: .75rem; }
.customer-toolbar + .stack { margin-top: 1rem; }
.auth-wrap .panel { padding: clamp(1.2rem, 4vw, 2.1rem); }
.business .business-hero { padding-block: clamp(3.2rem, 8vw, 7rem); }
.business:not(.theme-bold) .business-hero {
    background: radial-gradient(ellipse at 95% 15%, #fff7, transparent 55%), linear-gradient(125deg, var(--tint), #f9f5ec);
}
.business .business-hero h1 { font-size: clamp(2.25rem, 7vw, 5rem); }
.business .business-block { padding-block: clamp(1.4rem, 4vw, 3rem); }

.landing .marketing-header { z-index: 10; }
.landing .marketing-header .header-row { grid-template-columns: auto minmax(0, 1fr) auto; }
.landing .marketing-header nav { justify-self: center; justify-content: center; text-align: center; }
.landing .marketing-header nav a {
    min-width: max-content; white-space: nowrap; overflow-wrap: normal; line-height: 1.2;
}
.landing .marketing-header nav a[aria-current="page"] { color: #ffdaab; background: #e9bf8526; }
.landing .marketing-header .header-actions { gap: .65rem; }
.landing .marketing-header .brand, .landing .site-footer .brand { color: #fff9ed; }
.landing :is(.button, .nav-label-full, .nav-label-compact, .language-menu a) {
    min-width: 0; overflow-wrap: normal; word-break: normal; white-space: normal;
}
.landing .marketing-header :is(.nav-label-full, .nav-label-compact, .language-menu a) { white-space: nowrap; }
.landing :is(.preview-card, .landing-prompt, .example-card-copy, .example-service, .landing-faq details) {
    min-width: 0; overflow-wrap: anywhere;
}

.examples-page { padding-block: calc(var(--header-size, var(--landing-header-height)) + clamp(2rem, 5vw, 5rem)) 2.5rem; color: #fff8ee; }
.examples-heading { max-width: 44rem; margin-bottom: clamp(1.6rem, 4vw, 3rem); }
.examples-heading h1 { font-size: clamp(2.5rem, 6.6vw, 5rem); }
.examples-heading p, .example-card p, .example-services p { color: #e7d9c5; margin-top: .65rem; }
.examples-heading .button { margin-top: 1.4rem; }
.examples-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr)); gap: 1rem; }
.example-card, .example-service, .examples-cta {
    overflow: hidden; border: 1px solid #ddbf8e47; border-radius: 1.12rem; background: #1f2521;
}
.example-card a { display: block; height: 100%; color: inherit; text-decoration: none; }
.examples-page figure { margin: 0; overflow: hidden; }
.examples-page img { width: 100%; display: block; aspect-ratio: 3 / 2; object-fit: cover; transition: scale .6s cubic-bezier(.2,.72,.25,1); }
.example-card a:is(:hover, :focus-visible) img { scale: 1.045; }
.example-card-copy { padding: 1.3rem; }
.example-card-copy .landing-kicker { margin: 0 0 .55rem; }
.example-card-copy > span { display: inline-block; margin-top: 1.15rem; color: #f0c891; }
.example-detail { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: clamp(1rem, 4vw, 4rem); margin-top: 1.2rem; }
.example-detail figure { border-radius: 1.1rem; border: 1px solid #ddbf8e47; }
.examples-back { color: #f0c891; }
.examples-back:hover { color: white; }
.example-services { margin-top: 2.5rem; }
.example-services > details { margin-top: .65rem; }
.example-service summary { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .55rem; cursor: pointer; padding: .85rem 1.1rem; }
.example-service-meta { display: flex; align-items: center; gap: .75rem; color: #f0c891; }
.example-chevron { width: .45rem; height: .45rem; border: solid currentColor; border-width: 0 1px 1px 0; rotate: 45deg; }
.example-service[open] .example-chevron { rotate: 225deg; }
.example-booking { padding: 0 1.1rem 1rem; display: grid; justify-items: start; gap: .85rem; }
.example-booking legend { margin-bottom: 0; }
.example-booking fieldset p { margin-top: .3rem; }
.example-booking select { min-width: 10rem; color-scheme: dark; background-color: #2b342e; color: #fff7e8; border-color: #a5916c; }
.example-slots { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .8rem; }
.example-slots label {
    display: flex; align-items: center; gap: .43rem; min-height: 2.75rem;
    padding: .45rem .62rem; border: 1px solid #ddbf8e55; border-radius: .55rem; cursor: pointer;
}
.example-slots input { accent-color: #f0c891; }
.example-slots label:has(:checked) { background: #f0c8911c; border-color: #f0c891; }
.example-result:has(h3, p) {
    margin-top: .8rem; padding: 1rem 1.1rem; background: #232c26;
    border: 1px solid #ddbf8e66; border-radius: .85rem;
}
.example-result .button { margin-top: .85rem; }
.feature-demo-link { display: inline-flex; align-items: center; gap: .4rem; min-height: 2.4rem; color: #f2d2a6; }
.feature-demo-link:hover { color: white; }
.examples-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.3rem; margin-top: 2.5rem; }

@media (max-width: 63rem) {
    .landing .marketing-header .header-row { grid-template-columns: auto minmax(0, 1fr); gap: .24rem .5rem; padding-block: .4rem; }
    .landing .marketing-header .header-actions { grid-area: 1 / 2; }
    .landing .marketing-header nav {
        grid-area: 2 / 1 / 3 / -1; justify-self: stretch; display: flex;
        flex-wrap: wrap; justify-content: center; gap: .12rem .45rem;
    }
    .landing .marketing-header nav a { padding-inline: .08rem; }
    .landing { --landing-header-height: 6.3rem; }
}
@media (max-width: 35rem) {
    .customer-search { grid-template-columns: minmax(0, 1fr); align-items: start; }
    .customer-search > :is(button, a) { justify-self: start; }
    .landing .marketing-header .header-row { width: calc(100% - 1rem); }
    .landing .marketing-header nav a { font-size: clamp(.62rem, 2.8vw, .8rem); }
    .landing .marketing-header .header-actions { gap: .38rem; font-size: .73rem; }
    .landing .marketing-header .button { font-size: .73rem; min-height: 2.1rem; padding: .34rem .45rem; }
    .landing .nav-label-full { display: none; }
    .landing .nav-label-compact { display: inline; }
    .workspace-header .account-name { display: none; }
    .workspace-header .header-actions { gap: .42rem; }
    .workspace-header .workspaces-link { font-size: .76rem; }
    .workspace-header .button { min-height: 2.1rem; padding: .35rem .47rem; font-size: .75rem; }
    .business .header-row { width: calc(100% - 1.5rem); padding-block: .55rem; gap: .45rem; }
    .business .header-actions { gap: .55rem; font-size: .78rem; }
    .example-detail { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
    .examples-page img { transition: none; }
    .example-card a:is(:hover, :focus-visible) img { scale: 1; }
}
.safro-support { display: flex; gap: .4rem 1rem; justify-content: center; flex-wrap: wrap; padding: .9rem 1rem 1.15rem; background: #f5f1e9; border-top: 1px solid #dbd3c7; color: #38312b; font-size: .89rem; text-align: center; }
.safro-support a { color: inherit; overflow-wrap: anywhere; text-decoration: none; }
.safro-support a:hover, .safro-support a:focus-visible { text-decoration: underline; }
body:has(.corner-assistant .corner-launch) > .safro-support { padding-bottom: 4.35rem; }
.safro-plans { padding-block: clamp(1.7rem, 5vw, 4rem); color: #f9f2e8; }
.safro-plans :is(h1, h2, h3) { overflow-wrap: anywhere; text-wrap: balance; }
.safro-plans-heading h1 { font-size: clamp(2.2rem, 6vw, 4.6rem); margin: 0; }
.safro-plans-heading p, .safro-upgrades > p { color: #ddd0c2; }
.safro-free-plan, .safro-plan-grid article, .safro-plan-domains { padding: clamp(1rem, 3vw, 1.65rem); background: #f7f1e7; color: #302820; border: 1px solid #e2d4c0; border-radius: .9rem; }
.safro-free-plan { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 1rem 2rem; margin-block: 1.5rem 2.3rem; }
.safro-free-plan h2, .safro-plan-grid h3 { margin: 0; }
.safro-free-plan ul { margin: 0; padding-left: 1.1rem; }
.safro-plan-price { font-size: 1.85rem; font-weight: 800; margin-block: .25rem .6rem; }
.safro-plan-price small { font-size: .9rem; font-weight: 600; }
.safro-plan-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 235px), 1fr)); gap: .9rem; }
.safro-plan-grid article { display: flex; flex-direction: column; }
.safro-plan-grid article a { margin-top: auto; }
.safro-plan-domains { margin-top: 1.5rem; }
.safro-plan-domains h2 { margin-top: 0; }
@media (max-width: 800px) { .safro-free-plan { grid-template-columns: 1fr; justify-items: start; } }
.landing .example-marketing-header .header-row {
    grid-template-columns: minmax(5.25rem, 1fr) minmax(0, auto) minmax(max-content, 1fr);
    gap: .25rem .5rem;
}
.landing .example-marketing-header .header-row > .brand { grid-area: 1 / 2; justify-self: center; }
.landing .example-marketing-header .header-actions { grid-area: 1 / 3; justify-self: end; }
.landing .example-marketing-header nav { grid-area: 2 / 1 / 3 / -1; }
.landing .example-marketing-header a.example-back {
    color: #fff9ed; background: #26352e; border-color: #85998e;
}
.landing .example-marketing-header a.example-back:hover { background: #34483e; }
@media (max-width: 42rem) {
    .landing .example-marketing-header .header-row { grid-template-columns: minmax(4.75rem, 1fr) auto minmax(4.75rem, 1fr); }
    .landing .example-marketing-header .header-actions > :not(.language-menu) { display: none; }
}
.business .business-hero.business-hero-background {
    position: relative; isolation: isolate; overflow: hidden;
    background: #152321; color: #fff;
    min-height: min(34rem, 70svh); display: grid; align-items: center;
}
.business-hero-background > .business-hero-cover,
.business-hero-background::after { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.business-hero-background > .business-hero-cover { object-fit: cover; }
.business-hero-background::after { content: ""; background: linear-gradient(90deg, #111c1bef 0%, #111c1ba6 65%, #111c1b56 100%); }
.business-hero-background :is(h1, .description, .eyebrow) { color: #fff; }
.business-hero-background .button.secondary { background: #fff; color: #182521; }
.business-offers {
    display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr));
}
.business-offers article { display: grid; align-content: start; gap: .45rem; overflow-wrap: anywhere; }
.business-offers :is(h3, p) { margin: 0; }
.business-offers strong { color: var(--brand); font-size: 1.1rem; }
