:root {
    --bg: #f2eddb;
    --text: #545454;
    --company-accent: #fe8537;
    --planzee-accent: #6f8cff;
    --line: #8e8a83;
    --soft-white: rgba(255, 255, 255, 0.72);
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: "Avenir Next", "Avenir", "Segoe UI", sans-serif;
    background: var(--bg);
    color: var(--text);
}

a {
    color: inherit;
    text-decoration: none;
}

.page-shell {
    min-height: 100vh;
    padding: 20px 34px 28px;
}

.page-width {
    max-width: 1280px;
    margin: 0 auto;
}

.top-title {
    text-align: center;
    font-size: 21px;
    font-weight: 400;
    letter-spacing: -0.02em;
    margin: 0 0 6px;
}

.top-title a {
    display: inline-block;
}

.top-line,
.headline-line,
.footer-line {
    width: 100%;
    height: 1px;
}

.top-line,
.headline-line {
    background: var(--line);
}

.company-footer-line {
    background: var(--company-accent);
}

.planzee-footer-line {
    background: var(--planzee-accent);
}

.nav-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 10px 0 8px;
}

.nav-left,
.nav-right {
    display: flex;
    align-items: center;
    gap: 24px;
}

.logo-lockup {
    display: flex;
    align-items: center;
    gap: 14px;
}

.logo-box {
    width: 50px;
    height: 50px;
    object-fit: cover;
    display: block;
}

.nav-link,
.dropdown summary {
    font-size: 20px;
    font-weight: 400;
    letter-spacing: -0.02em;
    cursor: pointer;
    list-style: none;
}

.dropdown summary::-webkit-details-marker {
    display: none;
}

.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    min-width: 210px;
    display: grid;
    gap: 4px;
    padding: 10px;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(84, 84, 84, 0.18);
    z-index: 20;
}

.dropdown-menu a {
    padding: 10px 12px;
    font-size: 16px;
}

.dropdown-menu a:hover {
    background: rgba(84, 84, 84, 0.06);
}

@media (hover: hover) {
    .dropdown .dropdown-menu {
        display: none;
    }

    .dropdown:hover .dropdown-menu,
    .dropdown:focus-within .dropdown-menu,
    .dropdown[open] .dropdown-menu {
        display: grid;
    }
}

.headline-block {
    padding: 10px 0 12px;
}

.headline {
    margin: 6px 0;
    font-size: clamp(38px, 5vw, 64px);
    line-height: 0.94;
    letter-spacing: -0.06em;
    font-weight: 800;
    text-transform: uppercase;
}

.content-home {
    padding: 108px 0 116px;
}

.circle-row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 34px;
    align-items: start;
}

.circle-card {
    width: min(100%, 360px);
    aspect-ratio: 1 / 1;
    margin: 0 auto;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.62);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 54px 36px;
}

.circle-card h2 {
    margin: 0 0 18px;
    color: var(--company-accent);
    font-size: clamp(24px, 2.8vw, 33px);
    line-height: 1;
    letter-spacing: -0.04em;
    font-weight: 700;
}

.circle-card p {
    margin: 0;
    font-size: 16px;
    line-height: 1.45;
}

.page-body {
    min-height: 60vh;
    padding: 56px 0 84px;
}

.body-copy {
    max-width: 860px;
    font-size: 19px;
    line-height: 1.7;
}

.body-copy p {
    margin: 0 0 24px;
}

.app-store-link {
    display: inline-block;
    padding: 12px 18px;
    border: 1px solid var(--planzee-accent);
    color: var(--planzee-accent);
    font-size: 16px;
    font-weight: 600;
    line-height: 1;
}

.app-store-link:hover {
    background: rgba(111, 140, 255, 0.08);
}

.auth-web-shell {
    display: flex;
    justify-content: center;
}

.auth-web-card {
    width: min(100%, 620px);
    padding: 30px;
    background: rgba(255, 255, 255, 0.62);
}

.auth-web-copy {
    margin-bottom: 26px;
}

.auth-web-intro,
.auth-web-status,
.auth-web-success p {
    margin: 0 0 18px;
    font-size: 19px;
    line-height: 1.7;
}

.auth-web-status-error {
    color: #a94d58;
}

.auth-web-status-info {
    color: var(--planzee-accent);
}

.auth-web-form {
    display: grid;
    gap: 14px;
}

.auth-web-label {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.auth-web-input {
    width: 100%;
    min-height: 60px;
    padding: 18px 82px 18px 18px;
    border: 1px solid rgba(84, 84, 84, 0.18);
    background: rgba(255, 255, 255, 0.92);
    color: var(--text);
    font: inherit;
}

.auth-web-input:focus {
    outline: 1px solid var(--planzee-accent);
    border-color: var(--planzee-accent);
}

.auth-web-rules {
    margin: 8px 0 6px;
    padding: 18px;
    background: rgba(255, 255, 255, 0.45);
}

.auth-web-input-wrap {
    position: relative;
}

.auth-web-toggle {
    position: absolute;
    top: 50%;
    right: 14px;
    transform: translateY(-50%);
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--planzee-accent);
    font: inherit;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
}

.auth-web-rules-title {
    margin: 0 0 12px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.auth-web-rules-list {
    margin: 0;
    padding-left: 18px;
    display: grid;
    gap: 8px;
}

.auth-web-rules-list li.is-satisfied {
    color: var(--planzee-accent);
}

.auth-web-button {
    background: transparent;
    cursor: pointer;
}

.auth-web-button:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

.auth-web-success {
    display: grid;
    gap: 8px;
}

.footer-links {
    display: flex;
    justify-content: flex-end;
    gap: 14px;
    flex-wrap: wrap;
    padding: 10px 0 0;
    font-size: 16px;
}

.footer-links a {
    color: var(--text);
}

@media (max-width: 960px) {
    .circle-row {
        grid-template-columns: 1fr;
    }

    .circle-card {
        width: min(100%, 420px);
    }
}

@media (max-width: 760px) {
    .page-shell {
        padding-left: 18px;
        padding-right: 18px;
    }

    .nav-row {
        align-items: flex-start;
        flex-direction: column;
    }

    .nav-left,
    .nav-right {
        width: 100%;
        justify-content: space-between;
    }

    .nav-link,
    .dropdown summary {
        font-size: 18px;
    }

    .headline {
        font-size: 44px;
    }

    .footer-links {
        justify-content: flex-start;
    }

    .dropdown-menu {
        position: static;
        margin-top: 10px;
    }
}
