:root {
    color-scheme: light;
    --ink: #142b40;
    --quiet: #52616b;
    --cream: #f5f3ed;
    --lime: #dbef88;
    --line: #cbd0c9;
    font-family: Pretendard, "Noto Sans KR", "PingFang SC", "Malgun Gothic", system-ui, sans-serif;
    color: var(--ink);
    background: var(--cream);
}
* { box-sizing: border-box; }
body { margin: 0; }
a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible, input:focus-visible { outline: 3px solid #276894; outline-offset: 3px; }
.mast { border-bottom: 1px solid var(--line); }
.mast-inner { max-width: 1180px; min-height: 76px; margin: 0 auto; padding: 12px 32px; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand { display: inline-flex; align-items: center; gap: .7rem; font-size: clamp(.95rem, 2.4vw, 1.15rem); font-weight: 780; letter-spacing: -.055em; }
.brand-it { display: grid; place-items: center; flex: 0 0 auto; width: 36px; height: 36px; background: var(--ink); color: var(--lime); font-size: 1.25rem; font-weight: 850; letter-spacing: -.08em; }
.lang { padding: 8px 12px; border: 1px solid var(--line); white-space: nowrap; font-size: .82rem; font-weight: 650; }
.lang:hover { border-color: var(--ink); }
main { width: min(calc(100% - 40px), 484px); margin: clamp(26px, 7vh, 70px) auto 60px; }
.back { display: inline-flex; align-items: center; gap: .5rem; color: var(--quiet); font-size: .87rem; font-weight: 600; margin-bottom: 18px; padding: 4px 0; }
.back:hover, .link:hover { color: #315d77; }
.card { border: 1px solid var(--line); border-top: 4px solid var(--ink); padding: clamp(24px, 5vw, 42px); background: #fffefa; }
.section-name { display: flex; align-items: center; gap: .55rem; font-size: .82rem; font-weight: 650; color: var(--quiet); }
.section-name i { width: 21px; height: 7px; background: var(--lime); border: 1px solid #b8c869; }
h1 { margin: 14px 0 8px; font-size: clamp(2rem, 7vw, 3rem); line-height: 1.1; letter-spacing: -.07em; }
.intro { margin: 0 0 30px; line-height: 1.65; color: var(--quiet); }
label { display: block; font-size: .9rem; font-weight: 700; margin: 17px 0 7px; }
input:not([type=hidden]) { display: block; width: 100%; height: 48px; padding: 0 13px; font: inherit; font-size: 1rem; color: var(--ink); background: #fff; border: 1px solid #a5afa9; border-radius: 3px; }
input::placeholder { color: #727e80; }
small { display: block; margin-top: 7px; color: var(--quiet); font-size: .8rem; line-height: 1.5; }
button { cursor: pointer; font: inherit; }
.primary { display: flex; align-items: center; justify-content: space-between; gap: 1rem; width: 100%; min-height: 48px; margin-top: 25px; padding: 12px 17px; border: 1px solid var(--ink); border-radius: 3px; color: var(--lime); background: var(--ink); font-size: 1rem; font-weight: 700; }
.primary:hover { background: #25435a; }
.primary span { font-size: 1.15rem; }
.switch, .logout { margin: 23px 0 0; padding-top: 18px; border-top: 1px solid var(--line); font-size: .88rem; color: var(--quiet); }
.link { background: none; border: 0; padding: 4px 0; color: var(--ink); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.switch .link { margin-left: .3rem; }
.notice { padding: 12px; line-height: 1.6; font-size: .9rem; border-left: 3px solid; }
.error { background: #fff1ed; color: #8f3530; }
.success { background: #eff4d9; color: #344f26; }
.account-email { overflow-wrap: anywhere; font-size: 1.25rem; font-weight: 650; }
@media (max-width: 480px) {
    .mast-inner { min-height: 64px; padding-inline: 20px; }
    .brand-it { width: 30px; height: 30px; }
    main { width: calc(100% - 28px); margin-top: 22px; }
    .card { padding: 24px 20px; }
}
