*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: #faf9f6; color: #171717; font: 1rem/1.5 system-ui, sans-serif; }
header { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; min-height: 64px; padding: 0 clamp(16px, 4vw, 64px); background: #fff; border-bottom: 1px solid #171717; }
a { color: inherit; text-underline-offset: 4px; }
.brand { font-size: clamp(23px, 4vw, 34px); font-weight: 800; letter-spacing: .075em; text-decoration: none; }
main { width: min(100%, 460px); margin: clamp(30px, 9vh, 96px) auto; padding: 0 18px; }
h1 { margin: 0 0 22px; font-size: clamp(28px, 6vw, 44px); line-height: 1.1; letter-spacing: -.04em; }
nav { display: grid; grid-template-columns: 1fr 1fr; margin-bottom: 24px; border: 1px solid #171717; }
nav a { display: grid; min-height: 44px; place-items: center; padding: 8px; text-decoration: none; }
nav a + a { border-left: 1px solid #171717; }
nav a[aria-current] { background: #171717; color: #fff; }
form { display: grid; gap: 14px; }
[hidden] { display: none !important; }
label { display: grid; gap: 5px; font-weight: 600; }
input, button { width: 100%; min-height: 46px; padding: 10px 12px; border: 1px solid #171717; border-radius: 0; font: inherit; }
input { background: #fff; color: #171717; }
button { margin-top: 4px; background: #171717; color: #fff; cursor: pointer; }
button:hover { background: #3d3d3d; }
:focus-visible { outline: 2px solid #696969; outline-offset: 3px; }
.hint { margin: 0; color: #58534c; font-size: .875rem; }
.check-row { display: flex; align-items: baseline; gap: 9px; font-weight: 400; }
input[type=checkbox] { width: 16px; height: 16px; min-height: 0; margin: 0; padding: 0; flex: 0 0 16px; accent-color: #171717; }
.check-row { font-size: .9rem; }
#form-status { margin: 0; }
#form-status:not(:empty) { border-left: 2px solid; padding-left: 10px; margin-top: 16px; }
.form-link { justify-self: start; font-size: .9rem; }
.embedded-account header { display: none; }
.embedded-account main { margin: 0 auto; padding: 20px 18px 28px; }
.embedded-account h1 { font-size: clamp(25px, 7vw, 34px); }
.embedded-account .embedded-back:not([hidden]) { display: inline-block; margin-bottom: 14px; }
