:root {
    --white: #fffdfb;
    --cream: #fbf3ef;
    --blush: #f3e2dc;
    --blush-2: #ecd2c8;
    --rose: #bd7a6e;
    --rose-deep: #a1614f;
    --ink: #3d3330;
    --ink-soft: #6f625d;
    --ink-faint: #a89890;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100%;
}

body {
    font-family: 'Nunito', Arial, sans-serif;
    background: var(--white);
    color: var(--ink);
    line-height: 1.5;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    overflow: hidden;
}

h1 {
    font-family: 'Fredoka', 'Nunito', Arial, sans-serif;
    font-weight: 500;
}

a {
    color: inherit;
}

.container {
    max-width: 1180px;
    width: 100%;
    margin: 0 auto;
    padding: 28px 32px;
    display: flex;
    flex-direction: column;
    flex: 1;
    position: relative;
}

/* Nav */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: 'Fredoka', 'Nunito', Arial, sans-serif;
    font-size: 21px;
    font-weight: 600;
    color: var(--ink);
    text-decoration: none;
}

.logo-mark {
    width: 30px;
    height: 30px;
    border-radius: 10px;
    background: var(--blush);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

.nav-links {
    display: flex;
    gap: 30px;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    color: var(--ink-soft);
    padding-bottom: 4px;
}

.nav-links a.active {
    color: var(--rose-deep);
    border-bottom: 2px solid var(--rose);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.login {
    text-decoration: none;
    color: var(--ink);
    background: var(--cream);
    border-radius: 10px;
    padding: 9px 18px;
    font-size: 14px;
    font-weight: 600;
    transition: background 0.15s ease;
}

.login:hover {
    background: var(--blush);
}

.cta-small {
    text-decoration: none;
    color: var(--white);
    background: var(--rose);
    border-radius: 10px;
    padding: 9px 18px;
    font-size: 14px;
    font-weight: 700;
    transition: background 0.15s ease;
}

.cta-small:hover {
    background: var(--rose-deep);
}

/* Hero */
.hero-wrap {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 40px;
}

.hero-content {
    flex: 1.1;
    max-width: 560px;
}

.eyebrow {
    display: inline-block;
    font-size: 13px;
    font-weight: 700;
    color: var(--rose-deep);
    background: var(--blush);
    border-radius: 999px;
    padding: 6px 16px;
    margin-bottom: 22px;
    letter-spacing: 0.02em;
}

h1 {
    font-size: 44px;
    line-height: 1.18;
    margin-bottom: 16px;
    color: var(--ink);
}

.rose-text {
    color: var(--rose-deep);
}

.subtitle {
    font-size: 16px;
    color: var(--ink-soft);
    line-height: 1.6;
    margin-bottom: 28px;
    max-width: 440px;
}

.cta-row {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 32px;
}

.cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    background: var(--rose);
    color: var(--white);
    border-radius: 10px;
    padding: 14px 26px;
    font-weight: 700;
    font-size: 15px;
    transition: background 0.15s ease;
}

.cta:hover {
    background: var(--rose-deep);
}

.cta-ghost {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    background: var(--cream);
    color: var(--rose-deep);
    border-radius: 10px;
    padding: 14px 22px;
    font-weight: 700;
    font-size: 15px;
    transition: background 0.15s ease;
}

.cta-ghost:hover {
    background: var(--blush);
}

.pills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.pill {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--cream);
    border-radius: 999px;
    padding: 8px 16px 8px 8px;
    font-size: 13px;
    font-weight: 600;
    color: var(--ink-soft);
}

.pill-icon {
    width: 24px;
    height: 24px;
    border-radius: 999px;
    background: var(--blush);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
}

/* Hero visual */
.hero-visual {
    flex: 1;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    max-height: 440px;
}

.visual-backdrop {
    position: absolute;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    background: var(--cream);
}

/* Placeholder mascot -- swap for real illustration once assets are ready */
.mascot {
    position: relative;
    width: 190px;
    height: 210px;
}

.mascot-body {
    position: absolute;
    inset: 0;
    background: var(--blush-2);
    border-radius: 50% 50% 46% 46% / 55% 55% 45% 45%;
}

.mascot-face {
    position: absolute;
    top: 78px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 26px;
}

.mascot-eye {
    width: 14px;
    height: 18px;
    border-radius: 999px;
    background: var(--ink);
}

.sparkle {
    position: absolute;
    color: var(--rose);
    font-size: 20px;
}

.sparkle.s1 { top: 6%; left: 12%; font-size: 22px; }
.sparkle.s2 { top: 18%; right: 6%; font-size: 16px; color: var(--blush-2); }
.sparkle.s3 { bottom: 12%; left: 4%; font-size: 18px; color: var(--blush-2); }
.sparkle.s4 { bottom: 22%; right: 10%; font-size: 24px; }

.bubble {
    position: absolute;
    background: var(--white);
    border-radius: 16px 16px 16px 4px;
    padding: 10px 14px;
    font-size: 15px;
    top: 10%;
    right: 0;
}

.bubble.b2 {
    border-radius: 16px 16px 4px 16px;
    top: auto;
    bottom: 14%;
    left: -6px;
    right: auto;
    background: var(--blush);
}

/* Auth pages (login / signup) */
.auth-wrap {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.auth-card {
    width: 100%;
    max-width: 400px;
    background: var(--cream);
    border-radius: 20px;
    padding: 40px 34px;
}

.auth-card .logo-mark {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    font-size: 20px;
    margin: 0 auto 20px;
}

.auth-title {
    font-size: 26px;
    text-align: center;
    margin-bottom: 8px;
}

.auth-sub {
    color: var(--ink-soft);
    font-size: 14px;
    text-align: center;
    margin-bottom: 28px;
}

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

.field label {
    font-size: 13px;
    font-weight: 700;
    color: var(--ink-soft);
}

.field input {
    border: none;
    background: var(--white);
    border-radius: 10px;
    padding: 12px 14px;
    font-family: inherit;
    font-size: 15px;
    color: var(--ink);
}

.field input:focus {
    outline: 2px solid var(--rose);
    outline-offset: 1px;
}

.auth-submit {
    width: 100%;
    justify-content: center;
    border: none;
    cursor: pointer;
    margin-top: 6px;
    font-family: inherit;
}

.auth-note {
    margin-top: 18px;
    background: var(--blush);
    border-radius: 10px;
    padding: 10px 14px;
    font-size: 13px;
    color: var(--rose-deep);
    text-align: center;
    display: none;
}

.auth-note.show {
    display: block;
}

.auth-switch {
    text-align: center;
    margin-top: 22px;
    font-size: 14px;
    color: var(--ink-soft);
}

.auth-switch a {
    color: var(--rose-deep);
    font-weight: 700;
    text-decoration: none;
}

.back-link {
    font-size: 14px;
    font-weight: 600;
    color: var(--ink-soft);
    text-decoration: none;
}

/* Footer */
footer {
    text-align: center;
    color: var(--ink-faint);
    font-size: 13px;
    padding-top: 12px;
}

@media (max-width: 860px) {
    .nav-links { display: none; }
}

@media (max-width: 760px) {
    body { overflow: auto; }
    .hero-wrap { flex-direction: column; text-align: center; padding: 24px 0; }
    .hero-content { max-width: 100%; }
    .subtitle { margin-left: auto; margin-right: auto; }
    .cta-row { justify-content: center; }
    .pills { justify-content: center; }
    h1 { font-size: 32px; }
    .hero-visual { max-height: 260px; }
    .auth-card { padding: 32px 24px; }
}
