:root {
    --ph-bg: #f6f8fb;
    --ph-surface: #ffffff;
    --ph-text: #1d2430;
    --ph-muted: #586376;
    --ph-primary: #10305f;
    --ph-primary-hover: #062149;
    --ph-border: #d7dee8;
}

* {
    box-sizing: border-box;
}
* {
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}
*:active {
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

a,
button,
input,
select,
textarea,
[role="button"] {
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    -webkit-touch-callout: none;
}

body.public-home-page {
    margin: 0;
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
    color: var(--ph-text);
    background: var(--ph-bg);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.public-home-wrap {
    width: min(100%, 980px);
    margin: 0 auto;
    padding: 0 1rem;
}

.public-home-header {
    border-bottom: 1px solid var(--ph-border);
    background: var(--ph-surface);
}

.public-home-header .public-home-wrap {
    min-height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.public-home-brand {
    color: var(--ph-primary);
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
}

.public-home-login-link {
    text-decoration: none;
    color: var(--ph-primary);
    font-weight: 600;
}

.public-home-main {
    flex: 1 1 auto;
    padding: 2rem 0;
}

.public-home-hero,
.public-home-section {
    background: var(--ph-surface);
    border: 1px solid var(--ph-border);
    border-radius: 12px;
    padding: 1.25rem;
}

.public-home-section {
    margin-top: 1rem;
}

.public-home-title {
    margin: 0 0 .5rem;
    font-size: clamp(1.45rem, 1.8vw + 1rem, 2rem);
}

.public-home-lead {
    margin: 0;
    color: var(--ph-muted);
}

.public-home-cta {
    margin-top: 1rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
}

.public-home-btn {
    display: inline-block;
    border: 0;
    cursor: pointer;
    font-size: 0.95rem;
    text-decoration: none;
    background: var(--ph-primary);
    color: #fff;
    font-weight: 600;
    padding: .65rem 1rem;
    border-radius: 8px;
}

.public-home-btn:hover {
    background: var(--ph-primary-hover);
}

.public-home-btn-secondary {
    background: #e3e9f4;
    color: var(--ph-primary);
}

.public-home-btn-secondary:hover {
    background: #d8e1f0;
}

.public-home-footer {
    border-top: 1px solid var(--ph-border);
    background: var(--ph-surface);
    color: var(--ph-muted);
}

.public-home-footer .public-home-wrap {
    min-height: 56px;
    display: flex;
    align-items: center;
}

