@import url("https://fonts.googleapis.com/css2?family=Comfortaa:wght@500;600;700&family=Fredoka:wght@500;600;700&family=Nunito:wght@400;600;700&display=swap");

:root {
    color-scheme: light;
    --blue: #b9dbf2;
    --blue-strong: #5a8fb9;
    --smoke: #f5f5f5;
    --white: #ffffff;
    --orange: #e6a06a;
    --yellow: #f3c873;
    --ink: #0f1b2d;
    --ink-soft: #2a3b52;
    --line: #d7e2ed;
    --brand-candor: #7b3f22;
    --brand-lead: #4b7fa8;
    --brand-mark-size: 84px;
    --brand-name-size: 36px;
    --brand-lead-size: calc(var(--brand-name-size) * 0.5);

    --radius: 18px;
    --shadow: 0 18px 50px rgba(15, 27, 45, .14);

    --font-body: "Nunito", "Trebuchet MS", "Gill Sans", "Optima", sans-serif;
    --font-display: "Comfortaa", "Nunito", "Trebuchet MS", "Gill Sans", "Optima", sans-serif;
    --font-brand: "Comfortaa", "Fredoka", "Nunito", "Trebuchet MS", "Gill Sans", "Optima", sans-serif;
    --font-lead: "Comfortaa", "Fredoka", "Nunito", "Trebuchet MS", "Gill Sans", "Optima", sans-serif;
    --logo-image: url("https://candor.you/files/img/logo/candor-mark.png?v=13");
    --logo-zoom: 100% 100%;
    --logo-glyph-opacity: 0;
}

* { box-sizing: border-box; }
html, body { height: 100%; }

body {
    margin: 0;
    background:
            radial-gradient(1200px 600px at 10% -10%, rgba(185, 219, 242, 0.7), transparent 60%),
            linear-gradient(180deg, #f8fbff 0%, #f5f5f5 55%, #fff6ee 100%);
    color: var(--ink);
    font: 14px/1.6 var(--font-body);
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

h1 {
    margin: 0 0 10px;
    font-family: var(--font-display);
    font-size: 28px;
    letter-spacing: .2px;
}

p {
    margin: 0 0 16px;
    color: var(--ink-soft);
    font-size: 14px;
}

.osEm {
    font-weight: 800;
    color: var(--ink);
    background-image: linear-gradient(90deg, rgba(243, 200, 115, 0.85), rgba(185, 219, 242, 0.85));
    background-size: 100% 2px;
    background-repeat: no-repeat;
    background-position: 0 100%;
    padding-bottom: 2px;
}

.canvas {
    min-height: 100%;
    display: grid;
    place-items: center;
    padding:
            max(22px, env(safe-area-inset-top))
            max(16px, env(safe-area-inset-right))
            max(22px, env(safe-area-inset-bottom))
            max(16px, env(safe-area-inset-left));
}

.shell {
    width: min(860px, 100%);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: var(--shadow);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

body.is-signin .shell {
    background: linear-gradient(180deg, rgba(185, 219, 242, 0.3), rgba(255, 255, 255, 0.98));
}

body.is-signup .shell {
    background: linear-gradient(180deg, rgba(243, 200, 115, 0.32), rgba(255, 255, 255, 0.98));
}

.top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px;
    border-bottom: 1px solid var(--line);
    gap: 12px;
    background: rgba(255, 255, 255, 0.75);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.brandLink {
    text-decoration: none;
    color: inherit;
}

.brandTitle {
    position: relative;
}

.brandMark {
    width: var(--brand-mark-size);
    height: var(--brand-mark-size);
    aspect-ratio: 1 / 1;
    border-radius: 0;
    display: grid;
    place-items: center;
    background-color: transparent;
    background-image: var(--logo-image);
    background-size: var(--logo-zoom);
    background-position: center;
    background-repeat: no-repeat;
    border: none;
    overflow: visible;
    position: relative;
    flex: 0 0 auto;
}

.brandText {
    position: relative;
    height: var(--brand-mark-size);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    transition: transform 0.16s ease;
    transform-origin: center;
}

.brandTitle {
    display: flex;
    align-items: baseline;
    gap: 0;
    justify-content: center;
}

.brandLead {
    font-size: var(--brand-lead-size);
    font-weight: 700;
    text-transform: lowercase;
    letter-spacing: .2px;
    color: var(--brand-lead);
    margin-right: 0;
    font-family: var(--font-brand);
    line-height: 1;
}

.brandName {
    font-size: var(--brand-name-size);
    font-weight: 700;
    letter-spacing: .4px;
    color: var(--brand-candor);
    font-family: var(--font-brand);
    line-height: 1;
}

.brandName,
.brandLead {
    transition: text-shadow 0.16s ease;
}

.brandLink:hover .brandText {
    transform: scale(1.03);
}

.brandLink:hover .brandName {
    text-shadow: 0 6px 16px rgba(123, 63, 34, 0.24);
}

.brandLink:hover .brandLead {
    text-shadow: 0 6px 16px rgba(75, 127, 168, 0.22);
}

.meta {
    color: var(--ink-soft);
    font-size: 12px;
    letter-spacing: .4px;
    position: absolute;
    bottom: 4px;
    left: 0;
    right: 0;
}

.meta.minimal {
    text-transform: none;
    letter-spacing: 1.2px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-weight: 600;
}

.meta.minimal::before,
.meta.minimal::after {
    content: "-";
}

.body {
    padding: 26px 28px 30px;
    display: flex;
    justify-content: center;
    align-items: center;
}

body.is-verify .shell {
    background: linear-gradient(180deg, rgba(185, 219, 242, 0.22), rgba(255, 255, 255, 0.98));
}

body.is-verify .body {
    padding: 34px 28px 40px;
    text-align: center;
}

.verifyPane {
    width: min(520px, 100%);
    display: grid;
    gap: 12px;
    justify-items: center;
}

.verifyPane p {
    margin-bottom: 0;
}

.verifyPane .error {
    width: 100%;
    text-align: left;
}

.verifyActions {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 4px;
}

.formPane {
    display: grid;
    gap: 16px;
    width: min(720px, 100%);
    margin: 0 auto;
}

.formHeader {
    display: grid;
    gap: 6px;
}

.formBadge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    background: rgba(185, 219, 242, 0.6);
    border: 1px solid rgba(185, 219, 242, 0.9);
    width: fit-content;
}

body.is-signup .formBadge {
    background: rgba(243, 200, 115, 0.55);
    border-color: rgba(230, 160, 106, 0.6);
}

.formFields {
    display: grid;
    gap: 14px;
}

.formSection {
    display: grid;
    gap: 12px;
}

.formIndent {
    display: grid;
    gap: 12px;
    padding-left: 14px;
    border-left: 2px solid rgba(185, 219, 242, 0.5);
}

body.is-signup .formIndent {
    border-left-color: rgba(230, 160, 106, 0.45);
}

.sectionTitle {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1.6px;
    color: var(--ink-soft);
}

.inputRow {
    position: relative;
    width: 100%;
}

.inputRow .input {
    padding-right: 42px;
}

.formSplit {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.formActions {
    display: grid;
    gap: 12px;
    align-content: start;
}


.status {
    grid-column: 1 / -1;
    min-height: 18px;
    font-size: 12px;
    color: var(--ink-soft);
}

.status.good {
    color: rgba(10, 90, 45, 0.92);
}

.status.bad {
    color: rgba(120, 15, 20, 0.92);
}

.fieldSpacer {
    visibility: hidden;
}

.fieldFull {
    grid-column: 1 / -1;
}

.grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

@media (max-width: 680px) {
    .top { padding: 16px; }
    .body { padding: 24px 16px 28px; }
    .grid { grid-template-columns: 1fr; }
    .formPane { width: 100%; }
    .formSplit { grid-template-columns: 1fr; }
    .formIndent { padding-left: 0; border-left: none; }
    .fieldSpacer { display: none; }
    .fieldInlineLabel {
        grid-template-columns: 1fr;
        grid-template-areas:
            "label"
            "input";
    }
    .shell { border-radius: 18px; }
    .logoGlyph { font-size: 20px; }
}

.field { display: flex; flex-direction: column; gap: 6px; }

.consentLine {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 12px;
    color: var(--ink-soft);
}

.consentLine input {
    margin-top: 2px;
}

.fieldInlineLabel {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas: "input label";
    align-items: center;
    gap: 12px;
}

.fieldInlineLabel .inputRow { grid-area: input; }

.fieldInlineLabel .label {
    grid-area: label;
    white-space: nowrap;
    text-align: left;
}

.label {
    font-size: 12px;
    color: var(--ink-soft);
    letter-spacing: .4px;
}

.labelRow {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.input {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 12px;
    outline: none;
    font: 14px/1.2 var(--font-body);
    background: var(--white);
}

.input:focus {
    border-color: rgba(90, 143, 185, .55);
    box-shadow: 0 0 0 4px rgba(185, 219, 242, .45);
}

.pwWrap {
    position: relative;
    display: flex;
    align-items: center;
}

.input.pw {
    padding-right: 58px;
}

.pwBtn {
    position: absolute;
    right: 8px;
    height: 34px;
    padding: 0 10px;
    border-radius: 10px;
    border: 1px solid rgba(11, 18, 32, .18);
    background: rgba(11, 18, 32, .04);
    color: rgba(11, 18, 32, .72);
    font: 12px/1 var(--font-body);
    cursor: pointer;
}

.pwBtn:hover {
    background: rgba(11, 18, 32, .07);
}

.row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: 14px;
    flex-wrap: wrap;
}

.formActions .row {
    margin-top: 0;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 16px;
    border-radius: 12px;
    border: 1px solid var(--line);
    background: var(--white);
    font: 14px/1 var(--font-body);
    line-height: 1;
    letter-spacing: .2px;
    cursor: pointer;
}

.btn.primary {
    border-color: rgba(90, 143, 185, .5);
    background: rgba(185, 219, 242, .7);
    box-shadow: 0 8px 18px rgba(90, 143, 185, .18);
}

.btn.primary:hover {
    background: rgba(185, 219, 242, .82);
    box-shadow: 0 12px 22px rgba(90, 143, 185, .22);
}

.links {
    display: flex;
    gap: 12px;
    color: var(--ink-soft);
    font-size: 12px;
}

.links a {
    color: inherit;
    text-decoration: none;
    border-bottom: 1px dashed rgba(11, 18, 32, .25);
}

.error, .ok {
    margin: 12px 0 0;
    padding: 10px 12px;
    border-radius: 12px;
    font-size: 12px;
    grid-column: 1 / -1;
}

.error {
    border: 1px solid rgba(160, 30, 30, .22);
    background: rgba(160, 30, 30, .05);
    color: rgba(120, 15, 20, .92);
}

.ok {
    border: 1px solid rgba(20, 120, 60, .22);
    background: rgba(20, 120, 60, .05);
    color: rgba(10, 90, 45, .92);
}

.footer {
    display: flex;
    justify-content: space-between;
    padding: 14px 18px;
    border-top: 1px solid var(--line);
    color: var(--ink-soft);
    font-size: 12px;
    background: rgba(255, 255, 255, 0.75);
}

.footLink {
    position: relative;
    color: inherit;
    text-decoration: none;
    padding-bottom: 2px;
    transition: transform 0.12s ease, color 0.12s ease;
}

.footLink::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -2px;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--blue-strong), var(--yellow));
    opacity: 0;
    transform: scaleX(0.6);
    transition: opacity 0.15s ease, transform 0.15s ease;
}

.footLink:hover {
    color: var(--ink);
    transform: translateY(-1px);
}

.footLink:hover::after {
    opacity: 0.8;
    transform: scaleX(1);
}

.footStrong {
    font-weight: 600;
}

.productSwitch {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.switchBtn {
    padding: 10px 12px;
    border-radius: 12px;
    border: 1px solid var(--line);
    background: var(--white);
    font: 12px/1 var(--font-body);
    color: var(--ink-soft);
    cursor: pointer;
}

.switchBtn:hover {
    background: rgba(11, 18, 32, .07);
}

.pop {
    position: absolute;
    right: 0;
    top: calc(100% + 6px);
    min-width: 240px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 14px;
    box-shadow: var(--shadow);
    padding: 10px;
    display: none;
    z-index: 20;
}

.productSwitch::after {
    content: "";
    position: absolute;
    right: 0;
    top: 100%;
    width: 100%;
    height: 10px;
}

.productSwitch:hover .pop {
    display: block;
}

.pop a {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    padding: 10px;
    border-radius: 12px;
    text-decoration: none;
    color: var(--ink);
}

.pop a:hover {
    background: rgba(11, 18, 32, .04);
}

.badge { color: var(--ink-soft); font-size: 11px; }

.hint {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    display: inline-flex;
    align-items: center;
}

.hintBtn {
    width: 26px;
    height: 26px;
    border-radius: 10px;
    border: 1px solid rgba(11, 18, 32, .18);
    background: rgba(11, 18, 32, .04);
    color: rgba(11, 18, 32, .72);
    font: 12px/1 var(--font-body);
    cursor: pointer;
}

.hintBtn:hover {
    background: rgba(11, 18, 32, .07);
}

.hintPop {
    position: absolute;
    right: 0;
    top: auto;
    bottom: calc(100% + 10px);
    width: min(320px, 80vw);
    padding: 10px 12px;
    border-radius: 12px;
    border: 1px solid var(--line);
    background: var(--white);
    box-shadow: var(--shadow);
    color: var(--ink-soft);
    font-size: 12px;
    display: none;
    z-index: 40;
}

.hint.open .hintPop {
    display: block;
}

@media (prefers-reduced-motion: reduce) {
    * { transition: none !important; }
}
.logoGlyph {
    font-family: var(--font-brand);
    font-weight: 700;
    font-size: 24px;
    color: var(--ink);
    line-height: 1;
    opacity: var(--logo-glyph-opacity);
}








