/* ============================================================
   Easy Scrum Board - public pages design system
   Matches the landing page (index.php) design.
   ============================================================ */

:root {
    --board: #FAFAF7;
    --board-line: #E4E0D4;
    --ink: #1C2126;
    --ink-soft: #565F68;
    --cork: #C9A574;
    --sticky-yellow: #FFD23F;
    --sticky-yellow-ink: #6B4E00;
    --sticky-teal: #2EC4B6;
    --sticky-teal-ink: #044F49;
    --sticky-coral: #FF6B6B;
    --sticky-coral-ink: #6B1414;
    --sticky-lilac: #9D8DF1;
    --sticky-lilac-ink: #33266E;
    --font-display: 'Space Grotesk', sans-serif;
    --font-body: 'Inter', sans-serif;
    --font-hand: 'Kalam', cursive;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: var(--font-body);
    color: var(--ink);
    background: var(--board);
}
a { text-decoration: none; }
img { max-width: 100%; }

/* ---------- Navbar ---------- */
.landing-nav {
    position: sticky;
    top: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 32px;
    background: rgba(250, 250, 247, 0.9);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--board-line);
}
.landing-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 17px;
    color: var(--ink);
    letter-spacing: -0.2px;
}
.brand-mark {
    width: 30px;
    height: 30px;
    border-radius: 6px;
    background: var(--sticky-yellow);
    position: relative;
    transform: rotate(-6deg);
    box-shadow: 0 3px 6px rgba(28,33,38,0.18);
    flex: 0 0 auto;
}
.brand-mark::before, .brand-mark::after {
    content: '';
    position: absolute;
    left: 6px;
    right: 6px;
    height: 2px;
    background: rgba(107,78,0,0.45);
    border-radius: 2px;
}
.brand-mark::before { top: 11px; }
.brand-mark::after { top: 17px; right: 12px; }
.landing-nav-links {
    display: flex;
    align-items: center;
    gap: 26px;
}
.landing-nav-links a.nav-link {
    font-size: 13px;
    font-weight: 600;
    color: var(--ink-soft);
}
.landing-nav-links a.nav-link:hover { color: var(--ink); }
.landing-nav-cta {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* ---------- Buttons ---------- */
.l-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    border-radius: 8px;
    border: 1.5px solid transparent;
    font-size: 13px;
    font-weight: 700;
    font-family: var(--font-body);
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.l-btn-ghost {
    background: transparent;
    color: var(--ink);
    border-color: var(--board-line);
}
.l-btn-ghost:hover { background: #F0EEE4; }
.l-btn-primary {
    background: var(--ink);
    color: #fff;
    box-shadow: 3px 3px 0 var(--sticky-yellow);
}
.l-btn-primary:hover { transform: translate(-2px, -2px); box-shadow: 5px 5px 0 var(--sticky-yellow); }
.l-btn-white {
    background: #fff;
    color: var(--ink);
    box-shadow: 3px 3px 0 rgba(0,0,0,0.25);
}
.l-btn-white:hover { transform: translate(-2px, -2px); box-shadow: 5px 5px 0 rgba(0,0,0,0.3); }
.l-btn-outline-white {
    background: transparent;
    color: #fff;
    border-color: rgba(255, 255, 255, 0.5);
}
.l-btn-outline-white:hover { background: rgba(255, 255, 255, 0.1); }

/* ---------- Hero ---------- */
.landing-hero {
    padding: 76px 24px 40px;
    background: var(--board);
}
.hero-inner {
    max-width: 1080px;
    margin: 0 auto;
    text-align: center;
}
.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-hand);
    font-size: 16px;
    font-weight: 700;
    color: var(--sticky-teal-ink);
    background: rgba(46,196,182,0.14);
    padding: 5px 14px 6px;
    border-radius: 999px;
    margin-bottom: 22px;
    transform: rotate(-1.5deg);
}
.landing-hero h1 {
    font-family: var(--font-display);
    font-size: 48px;
    font-weight: 700;
    margin: 0 0 18px;
    line-height: 1.12;
    letter-spacing: -1px;
}
.landing-hero h1 .underline {
    position: relative;
    white-space: nowrap;
}
.landing-hero h1 .underline svg {
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 100%;
    height: 14px;
}
.landing-hero p.lead {
    font-size: 17px;
    max-width: 600px;
    margin: 0 auto 32px;
    color: var(--ink-soft);
    line-height: 1.65;
}
.landing-hero-cta {
    display: flex;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
}
.landing-hero-trust {
    margin-top: 22px;
    font-size: 12.5px;
    color: var(--ink-soft);
}

/* ---------- Corkboard mock ---------- */
.corkboard {
    margin: 56px auto 0;
    max-width: 920px;
    background: linear-gradient(135deg, #D9B685, #C9A574);
    border-radius: 18px;
    padding: 30px 26px 36px;
    box-shadow: 0 20px 50px rgba(28,33,38,0.16), inset 0 0 0 1px rgba(255,255,255,0.15);
    position: relative;
}
.corkboard::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 18px;
    background-image: radial-gradient(rgba(0,0,0,0.06) 1px, transparent 1.4px);
    background-size: 14px 14px;
    opacity: 0.5;
    pointer-events: none;
}
.board-columns {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    position: relative;
}
.board-col-label {
    font-family: var(--font-hand);
    font-size: 15px;
    font-weight: 700;
    color: #3E2C10;
    text-align: center;
    margin-bottom: 14px;
    position: relative;
}
.tape {
    display: inline-block;
    background: rgba(255,255,255,0.75);
    padding: 3px 14px;
    border-radius: 2px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.15);
    transform: rotate(-2deg);
}
.board-col:nth-child(2) .tape { transform: rotate(1.5deg); }
.board-col:nth-child(3) .tape { transform: rotate(-1deg); }
.board-col { display: flex; flex-direction: column; gap: 14px; min-height: 40px; }
.sticky {
    border-radius: 3px;
    padding: 14px 14px 16px;
    font-family: var(--font-hand);
    font-size: 14.5px;
    font-weight: 700;
    line-height: 1.35;
    box-shadow: 0 8px 16px rgba(28,33,38,0.18);
    position: relative;
}
.sticky small {
    display: block;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 10.5px;
    margin-top: 8px;
    opacity: 0.65;
    letter-spacing: 0.3px;
}
.sticky.y { background: var(--sticky-yellow); color: var(--sticky-yellow-ink); transform: rotate(-2.5deg); }
.sticky.t { background: var(--sticky-teal); color: #fff; transform: rotate(1.5deg); }
.sticky.c { background: var(--sticky-coral); color: #fff; transform: rotate(-1deg); }
.sticky.l { background: var(--sticky-lilac); color: #fff; transform: rotate(2deg); }
.sticky::before {
    content: '';
    position: absolute;
    top: -6px;
    left: 50%;
    transform: translateX(-50%);
    width: 16px;
    height: 10px;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 35%, #f2f2f2, #9a9a9a 70%);
    box-shadow: 0 2px 2px rgba(0,0,0,0.3);
}

/* ---------- Sections ---------- */
.landing-section {
    padding: 96px 24px;
    max-width: 1100px;
    margin: 0 auto;
}
.landing-section.dim { background: #F3F1E7; max-width: none; }
.landing-section.dim .inner { max-width: 1100px; margin: 0 auto; }
.landing-section-head {
    text-align: center;
    max-width: 620px;
    margin: 0 auto 52px;
}
.landing-section-head .kicker {
    font-family: var(--font-hand);
    font-weight: 700;
    font-size: 15px;
    color: var(--sticky-coral-ink);
    margin-bottom: 8px;
    display: block;
}
.landing-section-head h2 {
    font-family: var(--font-display);
    font-size: 32px;
    font-weight: 700;
    margin: 0 0 12px;
    letter-spacing: -0.5px;
}
.landing-section-head p {
    font-size: 15px;
    color: var(--ink-soft);
    line-height: 1.65;
    margin: 0;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
}
.feature-card {
    background: #fff;
    border: 1px solid var(--board-line);
    border-radius: 12px;
    padding: 26px 24px 24px;
    box-shadow: 0 3px 0 var(--card-accent, var(--sticky-yellow));
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.feature-card:hover {
    transform: translateY(-4px);
}
.feature-icon {
    width: 40px;
    height: 40px;
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}
.feature-card h3 {
    font-family: var(--font-display);
    font-size: 16.5px;
    font-weight: 700;
    margin: 0 0 8px;
    letter-spacing: -0.2px;
}
.feature-card p {
    font-size: 13.5px;
    color: var(--ink-soft);
    line-height: 1.65;
    margin: 0;
}

/* ---------- Pricing ---------- */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 26px;
    max-width: 920px;
    margin: 0 auto;
}
.plan-card {
    background: #fff;
    border: 1.5px solid var(--board-line);
    border-radius: 14px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    position: relative;
}
.plan-card.featured {
    border: 2px solid var(--ink);
    box-shadow: 6px 6px 0 var(--sticky-yellow);
}
.plan-header {
    padding: 26px 26px 20px;
    border-bottom: 1px dashed var(--board-line);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}
.plan-header h3 {
    font-family: var(--font-display);
    font-size: 19px;
    font-weight: 700;
    margin: 0;
    letter-spacing: -0.3px;
}
.plan-header .badge {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 4px 11px;
    border-radius: 999px;
    font-family: var(--font-body);
}
.plan-header .badge.popular { background: var(--sticky-yellow); color: var(--sticky-yellow-ink); }
.plan-body { padding: 22px 26px 28px; flex: 1; display: flex; flex-direction: column; }
.plan-desc { font-size: 13.5px; color: var(--ink-soft); line-height: 1.65; margin: 0 0 18px; }
.plan-options { display: flex; flex-direction: column; gap: 10px; margin-bottom: 22px; }
.plan-option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    border: 1px solid var(--board-line);
    border-radius: 9px;
    padding: 12px 16px;
}
.plan-option .name { font-size: 13px; font-weight: 700; color: var(--ink); }
.plan-option .tag { font-size: 11px; color: var(--ink-soft); }
.plan-option .cta {
    font-size: 11.5px;
    font-weight: 700;
    color: var(--sticky-teal-ink);
    white-space: nowrap;
}
.plan-features { list-style: none; margin: 0 0 24px; padding: 0; flex: 1; }
.plan-features li {
    font-size: 13px;
    color: #374151;
    padding: 6px 0;
    display: flex;
    align-items: center;
    gap: 9px;
}
.plan-features li::before {
    content: '';
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #D9F5F2 url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%23044F49" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"><polyline points="20 6 9 17 4 12"/></svg>') center/10px no-repeat;
    flex: 0 0 auto;
}
.plan-cta { text-align: center; }
.plan-cta .l-btn { width: 100%; }

/* ---------- CTA band ---------- */
.landing-band {
    background: var(--ink);
    color: #fff;
    text-align: center;
    padding: 80px 24px;
    position: relative;
    overflow: hidden;
}
.landing-band::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
    background-size: 34px 34px;
    pointer-events: none;
}
.landing-band .band-inner { position: relative; }
.landing-band h2 {
    font-family: var(--font-display);
    font-size: 32px;
    font-weight: 700;
    margin: 0 0 12px;
    letter-spacing: -0.5px;
}
.landing-band p { font-size: 15px; opacity: 0.75; max-width: 560px; margin: 0 auto 30px; line-height: 1.65; }
.landing-band .landing-hero-cta { justify-content: center; }

/* ---------- Footer ---------- */
.landing-footer {
    background: var(--board);
    color: var(--ink-soft);
    padding: 30px 32px 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    font-size: 12px;
    border-top: 1px solid var(--board-line);
}
.landing-footer a { color: var(--ink); font-weight: 600; }
.landing-footer a:hover { color: var(--sticky-teal-ink); }
.landing-footer .links { display: flex; gap: 20px; align-items: center; }

/* ---------- Auth pages (login / signup / password) ---------- */
.auth-page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 20px 80px;
    background: var(--board);
}
.auth-card {
    width: 100%;
    max-width: 540px;
    background: #fff;
    border: 1.5px solid var(--board-line);
    border-radius: 14px;
    box-shadow: 6px 6px 0 var(--board-line);
    padding: 40px 36px 34px;
    position: relative;
}
.auth-card::before {
    content: '';
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%) rotate(1deg);
    width: 120px;
    height: 26px;
    background: var(--sticky-yellow);
    box-shadow: 0 2px 4px rgba(0,0,0,0.15);
}
.auth-header {
    text-align: center;
    margin-bottom: 28px;
}
.auth-brand {
    width: 46px;
    height: 46px;
    border-radius: 10px;
    background: var(--sticky-yellow);
    position: relative;
    transform: rotate(-6deg);
    box-shadow: 0 3px 6px rgba(28,33,38,0.18);
    margin: 0 auto 18px;
}
.auth-brand::before, .auth-brand::after {
    content: '';
    position: absolute;
    left: 9px;
    right: 9px;
    height: 3px;
    background: rgba(107,78,0,0.45);
    border-radius: 2px;
}
.auth-brand::before { top: 17px; }
.auth-brand::after { top: 26px; right: 18px; }
.auth-title {
    font-family: var(--font-display);
    font-size: 26px;
    font-weight: 700;
    letter-spacing: -0.5px;
    margin: 0 0 6px;
    color: var(--ink);
}
.auth-subtitle {
    font-family: var(--font-hand);
    font-size: 15px;
    color: var(--ink-soft);
    margin: 0;
    line-height: 1.5;
}
.auth-form {
    margin-top: 6px;
}
.auth-quick-access {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 140px;
    gap: 18px;
    align-items: center;
}
.auth-form-column {
    min-width: 0;
}
.auth-qr-panel {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 16px 12px 14px;
    border: 2px solid var(--board-line);
    border-radius: var(--radius-lg, 14px);
    background: linear-gradient(145deg, rgba(46, 196, 182, 0.05), rgba(255, 210, 63, 0.07));
    box-shadow: 0 2px 8px rgba(28, 33, 38, 0.06);
    transition: all var(--transition-base, 0.25s ease);
    position: relative;
}

.auth-qr-panel:hover {
    border-color: var(--sticky-teal);
    box-shadow: 0 4px 16px rgba(46, 196, 182, 0.15);
    transform: translateY(-2px);
}

.auth-qr-panel::before {
    content: '📱';
    position: absolute;
    top: -10px;
    right: -8px;
    font-size: 18px;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
}

.auth-qr-link {
    display: inline-flex;
    padding: 4px;
    border-radius: var(--radius-md, 10px);
    background: white;
    box-shadow: var(--shadow-sm, 0 2px 4px rgba(28, 33, 38, 0.08));
    transition: all var(--transition-base, 0.25s ease);
}

.auth-qr-link:hover {
    transform: scale(1.04);
    box-shadow: var(--shadow-md, 0 4px 12px rgba(28, 33, 38, 0.12));
}

.auth-qr-image {
    width: 120px;
    height: 120px;
    display: block;
    padding: 8px;
    border-radius: var(--radius-md, 10px);
    background: #ffffff;
    transition: all var(--transition-base, 0.25s ease);
}

.auth-qr-label {
    margin: 2px 0 0;
    font-size: 11px;
    font-weight: 700;
    text-align: center;
    color: var(--ink-soft);
    letter-spacing: 0.3px;
    text-transform: uppercase;
}

.auth-qr-url {
    font-size: 10px;
    color: var(--sticky-teal-ink);
    text-align: center;
    word-break: break-all;
    line-height: 1.4;
    max-width: 100%;
    padding: 4px 8px;
    border-radius: var(--radius-sm, 6px);
    background: rgba(46, 196, 182, 0.06);
    transition: all var(--transition-fast, 0.15s ease);
    font-weight: 500;
}

.auth-qr-url:hover {
    color: var(--ink);
    background: rgba(46, 196, 182, 0.12);
}

.form-group {
    margin-bottom: 18px;
}
.form-group label {
    display: block;
    margin-bottom: 7px;
    color: var(--ink);
    font-weight: 600;
    font-size: 12.5px;
}
.form-group input,
.form-group select {
    width: 100%;
    padding: 13px 16px;
    border: 1.5px solid var(--board-line);
    border-radius: 8px;
    font-size: 13.5px;
    background: #fff;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
    box-sizing: border-box;
    font-family: var(--font-body);
    color: var(--ink);
}
.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--sticky-teal);
    box-shadow: 0 0 0 3px rgba(46,196,182,0.15);
}
.form-group input::placeholder {
    color: #9ca3af;
}
.auth-btn {
    width: 100%;
    background: var(--ink);
    color: #fff;
    padding: 14px;
    border: none;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 700;
    font-family: var(--font-body);
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
    box-shadow: 3px 3px 0 var(--sticky-yellow);
    margin-top: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.auth-btn:hover {
    transform: translate(-2px, -2px);
    box-shadow: 5px 5px 0 var(--sticky-yellow);
}
.auth-btn:active { transform: translate(0, 0); }
.form-check {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 16px;
}
.form-check input[type="checkbox"] {
    width: 16px;
    height: 16px;
    margin-top: 2px;
    flex: 0 0 auto;
    accent-color: var(--sticky-teal);
}
.form-check label {
    font-size: 12.5px;
    color: var(--ink-soft);
    line-height: 1.55;
}
.form-check a {
    color: var(--sticky-teal-ink);
    font-weight: 700;
}
.form-msg {
    border-radius: 10px;
    padding: 12px 16px;
    font-size: 12.5px;
    font-weight: 600;
    text-align: center;
    margin-bottom: 20px;
    line-height: 1.5;
    border: 1px solid;
}
.form-msg.info, .form-msg.success {
    background: #D9F5F2;
    color: var(--sticky-teal-ink);
    border-color: rgba(46,196,182,0.35);
}
.form-msg.error {
    background: #FFE1E1;
    color: var(--sticky-coral-ink);
    border-color: rgba(255,107,107,0.35);
}
.auth-footer {
    text-align: center;
    margin-top: 24px;
    padding-top: 18px;
    border-top: 1px dashed var(--board-line);
    font-size: 12.5px;
    color: var(--ink-soft);
}
.auth-footer a {
    color: var(--sticky-teal-ink);
    font-weight: 700;
}
.page-footer {
    margin-top: 28px;
    text-align: center;
    font-size: 12px;
    color: var(--ink-soft);
}
.page-footer a {
    color: var(--ink);
    font-weight: 600;
    margin: 0 8px;
}
.page-footer a:hover { color: var(--sticky-teal-ink); }

/* ---------- Legal pages (tos / privacy) ---------- */
.legal-page {
    min-height: 100vh;
    padding: 60px 20px 70px;
    background: var(--board);
    display: flex;
    flex-direction: column;
    align-items: center;
}
.legal-card {
    width: 100%;
    max-width: 780px;
    background: #fff;
    border: 1.5px solid var(--board-line);
    border-radius: 14px;
    box-shadow: 6px 6px 0 var(--board-line);
    overflow: hidden;
    position: relative;
}
.legal-card::before {
    content: '';
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%) rotate(-1deg);
    width: 150px;
    height: 26px;
    background: rgba(255,255,255,0.75);
    box-shadow: 0 2px 4px rgba(0,0,0,0.15);
    z-index: 1;
}
.legal-hero {
    padding: 44px 32px 32px;
    text-align: center;
    background: var(--ink);
    color: #fff;
}
.legal-hero .brand-mark {
    width: 40px;
    height: 40px;
    margin: 0 auto 16px;
    display: block;
}
.legal-hero h1 {
    margin: 0;
    font-size: 26px;
    font-weight: 700;
    font-family: var(--font-display);
    letter-spacing: -0.4px;
}
.legal-hero .legal-meta {
    margin-top: 8px;
    font-size: 12.5px;
    font-family: var(--font-hand);
    opacity: 0.85;
}
.legal-body {
    padding: 32px 40px 36px;
}
.legal-body h2 {
    font-size: 15.5px;
    font-weight: 700;
    color: var(--ink);
    margin: 28px 0 8px;
    font-family: var(--font-display);
    letter-spacing: -0.2px;
}
.legal-body h2:first-child {
    margin-top: 0;
}
.legal-body p {
    font-size: 13.5px;
    line-height: 1.75;
    color: var(--ink-soft);
    margin: 0 0 12px;
}
.legal-body ul {
    margin: 0 0 12px;
    padding-left: 22px;
}
.legal-body li {
    font-size: 13.5px;
    line-height: 1.75;
    color: var(--ink-soft);
}
.legal-updated {
    font-size: 11.5px;
    color: var(--ink-soft);
    text-align: center;
    margin: 0 0 20px;
    font-family: var(--font-hand);
}
.legal-actions {
    margin-top: 26px;
    padding-top: 20px;
    border-top: 1px dashed var(--board-line);
    display: flex;
    justify-content: center;
    gap: 12px;
}
.legal-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    border-radius: 8px;
    border: 1.5px solid transparent;
    font-size: 13px;
    font-weight: 700;
    font-family: var(--font-body);
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.legal-btn-primary {
    background: var(--ink);
    color: #fff;
    box-shadow: 3px 3px 0 var(--sticky-yellow);
}
.legal-btn-primary:hover { transform: translate(-2px, -2px); box-shadow: 5px 5px 0 var(--sticky-yellow); }
.legal-btn-gray {
    background: transparent;
    color: var(--ink);
    border-color: var(--board-line);
}
.legal-btn-gray:hover { background: #F0EEE4; }
.legal-footer {
    margin-top: 26px;
    text-align: center;
    font-size: 12px;
    color: var(--ink-soft);
}
.legal-footer a {
    color: var(--ink);
    font-weight: 600;
    text-decoration: none;
    margin: 0 8px;
}
.legal-footer a:hover { color: var(--sticky-teal-ink); }

/* ---------- Support page ---------- */
.support-hero {
    text-align: center;
    padding: 84px 24px 60px;
    background: var(--board);
}
.support-hero h1 {
    font-family: var(--font-display);
    font-size: 40px;
    font-weight: 700;
    margin: 0 0 14px;
    letter-spacing: -0.8px;
}
.support-hero p.lead {
    font-size: 16px;
    max-width: 560px;
    margin: 0 auto;
    color: var(--ink-soft);
    line-height: 1.7;
}
.support-section {
    padding: 60px 24px 90px;
    max-width: 1080px;
    margin: 0 auto;
}
.support-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 44px;
    align-items: start;
}
.support-info h2 {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 700;
    margin: 0 0 12px;
    letter-spacing: -0.3px;
}
.support-info p.desc {
    font-size: 13.5px;
    color: var(--ink-soft);
    line-height: 1.7;
    margin: 0 0 28px;
}
.support-row {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 22px;
}
.support-row .icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 2px 2px 0 rgba(0,0,0,0.08);
}
.support-row h4 {
    margin: 0 0 3px;
    font-size: 14px;
    font-weight: 700;
}
.support-row p {
    margin: 0;
    font-size: 13px;
    color: var(--ink-soft);
    line-height: 1.55;
}
.support-row a {
    color: var(--sticky-teal-ink);
    font-weight: 700;
}
.support-row a:hover { text-decoration: underline; }
.support-card {
    background: #fff;
    border: 1.5px solid var(--board-line);
    border-radius: 14px;
    box-shadow: 6px 6px 0 var(--board-line);
    padding: 30px;
}
.support-card h3 {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 6px;
}
.support-card .sub {
    font-size: 12.5px;
    color: var(--ink-soft);
    margin: 0 0 24px;
}
.c-group {
    margin-bottom: 18px;
}
.c-group label {
    display: block;
    margin-bottom: 7px;
    font-size: 12.5px;
    font-weight: 600;
    color: var(--ink);
}
.c-group input,
.c-group select,
.c-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid var(--board-line);
    border-radius: 8px;
    font-size: 13.5px;
    font-family: var(--font-body);
    background: #fff;
    color: var(--ink);
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
    box-sizing: border-box;
}
.c-group input:focus,
.c-group select:focus,
.c-group textarea:focus {
    outline: none;
    border-color: var(--sticky-teal);
    box-shadow: 0 0 0 3px rgba(46,196,182,0.15);
}
.c-group input::placeholder,
.c-group textarea::placeholder {
    color: #9ca3af;
}
.c-group textarea {
    min-height: 130px;
    resize: vertical;
}
.c-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

/* ---------- Credits page ---------- */
.credits-card {
    width: 100%;
    max-width: 560px;
    background: #fff;
    border: 1.5px solid var(--board-line);
    border-radius: 14px;
    box-shadow: 6px 6px 0 var(--board-line);
    overflow: hidden;
    position: relative;
}
.credits-card::before {
    content: '';
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%) rotate(-1deg);
    width: 140px;
    height: 26px;
    background: rgba(255,255,255,0.75);
    box-shadow: 0 2px 4px rgba(0,0,0,0.15);
    z-index: 1;
}
.credits-hero {
    padding: 44px 24px 30px;
    text-align: center;
    background: var(--ink);
    color: #fff;
}
.credits-hero .brand-mark {
    width: 44px;
    height: 44px;
    margin: 0 auto 16px;
    display: block;
}
.credits-hero h1 {
    margin: 0;
    font-size: 24px;
    font-weight: 700;
    font-family: var(--font-display);
    letter-spacing: -0.4px;
}
.credits-hero .credits-meta {
    margin-top: 8px;
    font-size: 12.5px;
    font-family: var(--font-hand);
    opacity: 0.85;
}
.credits-body {
    padding: 28px 32px 32px;
}
.credits-section-title {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    color: var(--ink-soft);
    text-align: center;
    margin: 0 0 16px;
}
.credits-list {
    border: 1px solid var(--board-line);
    border-radius: 12px;
    overflow: hidden;
}
.credits-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 18px;
    font-size: 13px;
}
.credits-row:nth-child(odd) {
    background: #FAFAF7;
}
.credits-row + .credits-row {
    border-top: 1px solid var(--board-line);
}
.credits-role {
    color: var(--ink-soft);
    font-weight: 600;
}
.credits-person {
    color: var(--ink);
    font-weight: 700;
}
.credits-license {
    margin: 18px 0 0;
    text-align: center;
    font-size: 12.5px;
    color: var(--ink-soft);
    line-height: 1.6;
}
.credits-license a {
    color: var(--sticky-teal-ink);
    font-weight: 700;
}
.credits-actions {
    margin-top: 24px;
    padding-top: 18px;
    border-top: 1px dashed var(--board-line);
    display: flex;
    justify-content: center;
    gap: 12px;
}
.credits-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    border-radius: 8px;
    border: 1.5px solid transparent;
    font-size: 13px;
    font-weight: 700;
    font-family: var(--font-body);
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.credits-btn-primary {
    background: var(--ink);
    color: #fff;
    box-shadow: 3px 3px 0 var(--sticky-yellow);
}
.credits-btn-primary:hover { transform: translate(-2px, -2px); box-shadow: 5px 5px 0 var(--sticky-yellow); }
.credits-btn-gray {
    background: transparent;
    color: var(--ink);
    border-color: var(--board-line);
}
.credits-btn-gray:hover { background: #F0EEE4; }

/* ---------- Media queries ---------- */
@media (max-width: 820px) {
    .feature-grid { grid-template-columns: 1fr 1fr; }
    .pricing-grid { grid-template-columns: 1fr; }
    .board-columns { grid-template-columns: 1fr; }
    .landing-nav-links { display: none; }
    .landing-hero h1 { font-size: 34px; }
    .landing-section { padding: 64px 20px; }
    .corkboard { padding: 24px 18px 28px; }
    .support-grid { grid-template-columns: 1fr; }
    .legal-body { padding: 26px 24px 30px; }
}
@media (max-width: 560px) {
    .feature-grid { grid-template-columns: 1fr; }
    .c-row { grid-template-columns: 1fr; }
    .auth-card { padding: 32px 24px 28px; }
    .auth-quick-access { grid-template-columns: 1fr; }
    .auth-qr-panel { order: -1; }
}

@media (prefers-reduced-motion: reduce) {
    * { transition: none !important; }
}

a:focus-visible, button:focus-visible {
    outline: 2px solid var(--sticky-teal);
    outline-offset: 2px;
}
