@font-face {
    font-family: "DM Sans";
    src: url("fonts/dm-sans-latin-ext.woff2") format("woff2");
    font-style: normal;
    font-weight: 400 750;
    font-display: swap;
    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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
    font-family: "DM Sans";
    src: url("fonts/dm-sans-latin.woff2") format("woff2");
    font-style: normal;
    font-weight: 400 750;
    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: "DM Serif Text";
    src: url("fonts/dm-serif-text-latin-ext.woff2") format("woff2");
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
    font-family: "DM Serif Text";
    src: url("fonts/dm-serif-text-latin.woff2") format("woff2");
    font-style: normal;
    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;
}

:root {
    color-scheme: light;
    --paper: #f8f6f1;
    --surface: #fffdf9;
    --ink: #231e18;
    --muted: #625b51;
    --line: #e5ded3;
    --amber: #edaf3f;
    --amber-dark: #794c0b;
    --amber-light: #f9edda;
    --sans: "DM Sans", "Trebuchet MS", sans-serif;
    --serif: "DM Serif Text", Georgia, serif;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font: 400 1rem/1.5 var(--sans);
    min-width: 0;
}
p, h1, h2, dl, dd { margin: 0; }
a { color: inherit; }
button, input { font: inherit; }
button { cursor: pointer; }
svg { width: 1.25rem; height: 1.25rem; flex: 0 0 auto; vertical-align: middle; }
:focus-visible { outline: 2px solid #986116; outline-offset: 4px; }
.shell { width: min(1200px, calc(100% - 96px)); margin-inline: auto; }
.skip-link {
    position: fixed;
    z-index: 2;
    top: 1rem;
    left: 1rem;
    padding: .55rem .85rem;
    transform: translateY(-150%);
    border-radius: 6px;
    background: var(--surface);
}
.skip-link:focus { transform: translateY(0); }

.header-inner {
    min-height: 96px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
}
.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    white-space: nowrap;
    font-weight: 750;
    font-size: 1.48rem;
    letter-spacing: -.065em;
}
.brand img { display: block; }
.brand-accent { color: #a2620c; }
.brand-domain { font-size: .73em; letter-spacing: -.05em; color: var(--muted); }
.header-link, .site-footer a {
    display: inline-flex;
    gap: .5rem;
    align-items: center;
    color: #50473c;
    font-size: .89rem;
    font-weight: 650;
    text-decoration: none;
}
.header-link { padding-block: 11px; }
.header-link svg { width: .95rem; height: .95rem; color: var(--amber-dark); }
.header-link:hover, .site-footer a:hover { text-decoration: underline; text-underline-offset: 4px; }

.hero {
    position: relative;
    isolation: isolate;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(350px, 407px);
    align-items: center;
    column-gap: 24px;
    min-height: 558px;
    padding: 28px 29px 28px clamp(36px, 5.2vw, 76px);
    border-radius: 28px;
    overflow: hidden;
    background: #2b211a;
    box-shadow: 0 14px 36px -26px #3a281b7a;
}
.hero::before {
    content: "";
    position: absolute;
    z-index: -1;
    inset: 0 29% 0 0;
    background:
        linear-gradient(90deg, #231912dd 0%, #2319128c 37%, #23191219 76%, #2b211a 100%),
        linear-gradient(0deg, #23191253, transparent 45%),
        url("prague-doorway.webp") 55% center / cover no-repeat;
}
.hero-copy { color: #fff9ee; padding-block: 34px; }
.eyebrow {
    display: flex;
    align-items: center;
    gap: 11px;
    color: #f1bd65;
    font-size: .74rem;
    font-weight: 750;
    letter-spacing: .17em;
    text-transform: uppercase;
}
.eyebrow span {
    width: 24px;
    height: 1px;
    background: currentColor;
}
.hero h1, .dashboard h1 {
    font: 400 clamp(3.35rem, 5.85vw, 5.2rem)/.99 var(--serif);
    letter-spacing: -.045em;
}
.hero h1 { margin-block: 23px 20px; }
.hero-description {
    max-width: 31ch;
    color: #f8eee0;
    font-size: clamp(1.05rem, 1.42vw, 1.22rem);
    line-height: 1.55;
}
.hero-availability {
    display: flex;
    align-items: center;
    gap: 8px;
    width: fit-content;
    margin-top: 32px;
    border-top: 1px solid #fff4df47;
    padding-top: 15px;
    color: #f3e6d4;
    font-size: .85rem;
    font-weight: 600;
}
.hero-availability svg { width: 1.05rem; height: 1.05rem; color: #efba62; }

.auth-card {
    scroll-margin-top: 160px;
    padding: 32px;
    border: 1px solid #fff7ea;
    border-radius: 21px;
    background: var(--surface);
    box-shadow: 0 14px 42px #120d0a35;
}
.auth-icon, .feature-icon {
    display: grid;
    place-items: center;
    width: 45px;
    height: 45px;
    border-radius: 12px;
    background: var(--amber-light);
    color: var(--amber-dark);
}
.auth-icon { width: 48px; height: 48px; margin-bottom: 15px; }
.auth-icon svg { width: 23px; height: 23px; }
.auth-card h2 {
    font-size: 2rem;
    font-weight: 750;
    letter-spacing: -.053em;
    line-height: 1.14;
}
.auth-description { margin-top: 5px; color: var(--muted); font-size: .96rem; }
.auth-form { display: grid; gap: 14px; margin-top: 22px; }
.field { min-width: 0; }
.field label, .field-heading {
    font-size: .875rem;
    font-weight: 700;
}
.field label, .field-heading { display: block; margin-bottom: 5px; }
.field-heading { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.field-heading label { margin-bottom: 0; }
.field-heading a, .back-link {
    color: var(--amber-dark);
    text-decoration: none;
    font-weight: 650;
}
.field-heading a { font-size: .82rem; }
.field-heading a:hover, .back-link:hover { text-decoration: underline; text-underline-offset: 3px; }
.field input {
    width: 100%;
    min-height: 46px;
    border: 1px solid #ded5c8;
    border-radius: 9px;
    padding: 8px 12px;
    background: #f9f7f2;
    color: #4e463d;
    font-size: .92rem;
}
.password-field { position: relative; }
.password-field input { padding-right: 50px; }
.password-toggle {
    position: absolute;
    inset: 1px 1px 1px auto;
    display: grid;
    place-items: center;
    width: 44px;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: var(--muted);
}
.password-toggle:hover { color: var(--ink); background: #ede7dd; }
.password-toggle svg { width: 18px; height: 18px; }

.primary-button, .outline-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 48px;
    padding: 10px 16px;
    border: 1px solid transparent;
    border-radius: 9px;
    font-weight: 750;
    text-align: center;
    text-decoration: none;
}
.primary-button { width: 100%; background: var(--amber); color: #211a11; }
.primary-button:hover { background: #e4a126; }
.primary-button svg { width: 18px; height: 18px; }
.outline-button { background: var(--surface); color: var(--ink); border-color: #d8cbb7; white-space: nowrap; }
.outline-button:hover { background: var(--amber-light); }
.back-link { display: inline-flex; align-items: center; gap: 7px; margin-top: 17px; font-size: .875rem; }
.back-link svg { width: 16px; height: 16px; }
.demo-note, .form-status {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-top: 17px;
    padding: 10px 11px;
    border-radius: 8px;
    background: #f8f1e5;
    color: #66543a;
    font-size: .75rem;
    line-height: 1.5;
}
.demo-note svg, .form-status svg { width: 16px; height: 16px; margin-top: 1px; color: var(--amber-dark); }
.demo-note strong { color: #564325; }
.form-status { background: #f4eddd; font-size: .83rem; }

.features {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 29px;
    padding: 23px 0;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: #fcfaf6;
}
.feature { display: flex; align-items: center; gap: 15px; padding-inline: clamp(16px, 2.4vw, 34px); }
.feature + .feature { border-left: 1px solid var(--line); }
.feature-icon { flex: 0 0 auto; }
.feature h2 { font-size: .99rem; font-weight: 750; letter-spacing: -.014em; }
.feature p { margin-top: 3px; color: var(--muted); font-size: .85rem; }

.site-footer {
    min-height: 79px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    color: var(--muted);
    font-size: .84rem;
}
.site-footer p { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.footer-divider { width: 3px; height: 3px; border-radius: 50%; background: #a7957d; }
.site-footer a { font-size: .84rem; }
.site-footer svg { width: 1.05rem; height: 1.05rem; color: var(--amber-dark); }

.dashboard {
    padding: clamp(24px, 5vw, 62px);
    border: 1px solid var(--line);
    border-radius: 26px;
    background: #f1eade;
}
.dashboard-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; }
.dashboard .eyebrow { color: var(--amber-dark); }
.dashboard h1 { max-width: 15ch; margin-block: 16px 10px; font-size: clamp(2.4rem, 4.9vw, 4.25rem); }
.dashboard-top p:last-child { color: var(--muted); }
.dashboard-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 15px; margin-top: 29px; }
.dashboard-card { padding: 22px; border: 1px solid var(--line); border-radius: 15px; background: var(--surface); }
.dashboard-card h2 { margin-block: 12px 10px; font-size: 1.17rem; letter-spacing: -.025em; }
.dashboard-card dl div { padding-block: 10px; border-top: 1px solid var(--line); }
.dashboard-card dt { font-size: .95rem; font-weight: 700; }
.dashboard-card dd { color: var(--muted); font-size: .85rem; }

@media (max-width: 1050px) {
    .shell { width: calc(100% - 60px); }
    .hero { grid-template-columns: minmax(0, 1fr) minmax(325px, 38%); padding-left: 34px; }
    .hero h1 { font-size: clamp(2.75rem, 6.4vw, 4.4rem); }
    .auth-card { padding: 25px; }
    .feature { gap: 10px; }
    .feature-icon { width: 40px; height: 40px; }
}
@media (max-width: 760px) {
    .shell { width: calc(100% - 36px); }
    .header-inner { min-height: 73px; }
    .hero { min-height: auto; grid-template-columns: 1fr; gap: 0; padding: 0 15px 15px; border-radius: 21px; }
    .hero::before {
        inset: 0 0 auto;
        height: 385px;
        background:
            linear-gradient(90deg, #231912e0, #23191258 72%, #23191224),
            linear-gradient(0deg, #2b211a 0%, #2b211a00 46%),
            url("prague-doorway.webp") 63% 43% / cover no-repeat;
    }
    .hero-copy { padding: 32px 14px 26px; }
    .hero h1 { margin-block: 14px 13px; font-size: clamp(2.65rem, 10vw, 4.1rem); }
    .hero-description { font-size: 1rem; }
    .hero-availability { margin-top: 15px; padding-top: 10px; font-size: .78rem; }
    .auth-card { scroll-margin-top: 14px; width: min(100%, 480px); justify-self: center; padding: 23px; border-radius: 15px; }
    .auth-card h2 { font-size: 1.75rem; }
    .features { grid-template-columns: 1fr; margin-top: 18px; padding: 0 15px; }
    .feature { padding: 13px 1px; gap: 12px; }
    .feature + .feature { border-left: 0; border-top: 1px solid var(--line); }
    .site-footer { min-height: 0; padding-block: 19px; flex-wrap: wrap; justify-content: flex-start; }
    .dashboard-top { flex-wrap: wrap; gap: 16px; }
    .dashboard-grid { grid-template-columns: 1fr; margin-top: 19px; }
}
@media (max-width: 440px) {
    .header-inner { gap: 8px; }
    .brand { gap: 7px; font-size: 1.29rem; }
    .brand img { width: 38px; height: 38px; }
    .header-link { font-size: .8rem; gap: .25rem; }
    .header-link svg { width: .8rem; height: .8rem; }
}
@media (max-width: 365px) {
    .shell { width: calc(100% - 24px); }
    .brand { gap: 6px; font-size: 1.14rem; }
    .brand img { width: 32px; height: 32px; }
    .header-link { font-size: .74rem; }
    .hero { padding-inline: 10px; }
    .hero-copy { padding-inline: 12px; }
    .auth-card { padding: 18px; }
    .primary-button { padding-inline: 10px; font-size: .9rem; }
}
