:root {
    color-scheme: dark;
    font-family: system-ui, sans-serif;
    color: #f4f7ff;
    background: #0d1320;
    --muted: #acbad1;
    --line: #34445a;
    --surface: #161f30;
    --blue: #90c4ff;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; min-width: 0; }
a { color: var(--blue); }
.topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem max(1rem, calc((100vw - 69rem) / 2));
    gap: 1rem;
    border-bottom: 1px solid var(--line);
}
.brand { display: inline-flex; align-items: center; gap: .65rem; color: inherit; text-decoration: none; }
.brand span { width: .8rem; height: .8rem; border-radius: 50%; background: var(--blue); }
.layout {
    display: grid;
    grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
    align-items: start;
    gap: clamp(1.5rem, 6vw, 5rem);
    max-width: 71rem;
    margin: clamp(2rem, 7vw, 6rem) auto;
    padding: 0 1rem;
}
h1 { font-size: clamp(2.15rem, 5vw, 4rem); line-height: 1.05; margin: 0; letter-spacing: -.045em; }
h2 { margin: 0 0 .65rem; }
p { line-height: 1.55; margin: 0 0 1rem; }
p:last-child { margin-bottom: 0; }
.lead { margin: 1.15rem 0 1.8rem; color: var(--muted); font-size: 1.15rem; }
.plan, .card { border: 1px solid var(--line); border-radius: 1rem; padding: clamp(1rem, 3vw, 1.75rem); }
.card { background: var(--surface); }
.plan h2 { font-size: 1rem; }
.plan p, .card p { color: var(--muted); }
.plan .price { color: var(--blue); font-size: 1.9rem; font-weight: 750; line-height: 1.2; }
hr { border: 0; border-top: 1px solid var(--line); margin: 1rem 0; }
form { display: grid; gap: .55rem; }
label { font-size: .95rem; font-weight: 650; }
small, .hint { color: var(--muted); font-weight: 400; font-size: .85rem; }
input, textarea, select {
    width: 100%;
    min-width: 0;
    background: #0e1625;
    color: inherit;
    font: inherit;
    padding: .65rem .7rem;
    min-height: 2.75rem;
    border: 1px solid var(--line);
    border-radius: .55rem;
    margin-bottom: .3rem;
}
.address, .fields { display: flex; gap: .7rem; align-items: center; }
.address span { color: var(--blue); font-size: .9rem; overflow-wrap: anywhere; }
.fields > div { flex: 1; min-width: 0; }
.fields label { display: block; margin-bottom: .55rem; }
details { border-top: 1px solid var(--line); padding-top: .4rem; margin-top: .3rem; }
summary { padding: .5rem 0; cursor: pointer; }
details label { display: block; margin: .5rem 0; }
button, .button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.75rem;
    background: var(--blue);
    color: #101b2b;
    border: 1px solid transparent;
    border-radius: .55rem;
    padding: .6rem .9rem;
    font: inherit;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
}
form button { margin-top: .3rem; justify-self: start; }
.quiet { border-color: var(--line); color: var(--blue); background: transparent; }
button:disabled { opacity: .65; cursor: wait; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
.card .message { color: #ffd59d; }
.label { color: var(--blue) !important; font-weight: 650; overflow-wrap: anywhere; }
.actions { display: flex; flex-wrap: wrap; gap: .65rem; margin-bottom: 1rem; }
.actions p { width: 100%; }
.hint { overflow-wrap: anywhere; }
@media (max-width: 44rem) {
    .layout { grid-template-columns: minmax(0, 1fr); }
    .overview { max-width: 34rem; }
}

.portal-version { max-width: 71rem; margin: 0 auto; padding: 0 1rem 1rem; }
