/* Dog Academy — shared legal pages stylesheet */

:root {
    --bg:            #F1E8D5;
    --card:          #F8F2E4;
    --nested:        #EAE0C9;
    --sage:          #8DA47D;
    --sage-dark:     #6E8460;
    --gold:          #E8B948;
    --flame:         #E89456;
    --coral:         #E89A8C;
    --text:          #2A2620;
    --text-muted:    #6B6558;
    --accent:        #8DA47D;
}

* {
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
}

body {
    background: var(--bg);
    color: var(--text);
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 16px;
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
    padding: 40px 20px 80px;
}

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

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--sage-dark);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 24px;
    padding: 6px 12px;
    background: var(--card);
    border-radius: 20px;
    transition: background 0.15s ease;
}

.back-link:hover {
    background: var(--nested);
}

.back-link::before {
    content: "‹";
    font-size: 18px;
    line-height: 1;
}

.hero {
    text-align: center;
    padding: 20px 0 8px;
}

.hero .icon {
    width: 84px;
    height: 84px;
    margin: 0 auto 16px;
    background: rgba(141, 164, 125, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
}

.hero.privacy .icon { background: rgba(141, 164, 125, 0.15); }
.hero.terms .icon   { background: rgba(141, 164, 125, 0.15); }

.hero h1 {
    font-size: 28px;
    font-weight: 700;
    margin: 0 0 6px;
    color: var(--text);
    letter-spacing: -0.5px;
}

.hero .subtitle {
    font-size: 15px;
    color: var(--text-muted);
    margin: 0;
}

.sections {
    margin-top: 28px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.section {
    background: var(--card);
    border-radius: 14px;
    padding: 18px 20px;
}

.section h2 {
    color: var(--sage-dark);
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 8px;
    letter-spacing: -0.1px;
}

.section p {
    margin: 0;
    color: var(--text);
    opacity: 0.88;
    font-size: 14px;
    line-height: 1.65;
}

.footer {
    margin-top: 32px;
    text-align: center;
    color: var(--text-muted);
    font-size: 13px;
    line-height: 1.7;
}

.footer .clock {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.footer a {
    color: var(--sage-dark);
    text-decoration: none;
}

.footer a:hover {
    text-decoration: underline;
}

/* Landing (index) */

.landing {
    text-align: center;
    padding-top: 40px;
}

.landing .brand {
    width: 96px;
    height: 96px;
    margin: 0 auto 20px;
    background: var(--sage);
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    color: white;
}

.landing h1 {
    font-size: 34px;
    font-weight: 700;
    margin: 0 0 8px;
    letter-spacing: -0.8px;
}

.landing .tagline {
    font-size: 16px;
    color: var(--text-muted);
    margin: 0 0 36px;
}

.links {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 320px;
    margin: 0 auto;
}

.link-card {
    display: flex;
    align-items: center;
    gap: 14px;
    background: var(--card);
    border-radius: 14px;
    padding: 16px 18px;
    color: var(--text);
    text-decoration: none;
    transition: background 0.15s ease, transform 0.15s ease;
    text-align: left;
}

.link-card:hover {
    background: var(--nested);
    transform: translateY(-1px);
}

.link-card .icon {
    width: 40px;
    height: 40px;
    background: rgba(141, 164, 125, 0.18);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

.link-card .meta {
    flex: 1;
}

.link-card .title {
    font-size: 15px;
    font-weight: 600;
    margin: 0 0 2px;
}

.link-card .subtitle {
    font-size: 12px;
    color: var(--text-muted);
    margin: 0;
}

.link-card .chevron {
    color: var(--sage-dark);
    font-size: 20px;
    opacity: 0.5;
}

/* Support-page extras */

.quick-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    margin-top: 24px;
    margin-bottom: 4px;
}

.nav-chip {
    display: inline-block;
    padding: 8px 14px;
    background: var(--card);
    color: var(--sage-dark);
    text-decoration: none;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
    transition: background 0.15s ease;
}

.nav-chip:hover {
    background: var(--nested);
}

.section ul, .section ol {
    color: var(--text);
    opacity: 0.88;
    font-size: 14px;
}

.section strong {
    color: var(--sage-dark);
    font-weight: 600;
}

.section em {
    font-style: normal;
    background: var(--nested);
    padding: 1px 6px;
    border-radius: 4px;
    font-size: 13px;
}

.contact-card {
    text-align: center;
}

.contact-btn {
    display: inline-block;
    margin-top: 14px;
    padding: 12px 22px;
    background: var(--sage);
    color: white;
    text-decoration: none;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    transition: background 0.15s ease, transform 0.15s ease;
}

.contact-btn:hover {
    background: var(--sage-dark);
    transform: translateY(-1px);
}

.legal-row {
    margin-top: 24px;
    text-align: center;
    font-size: 13px;
    color: var(--text-muted);
}

.legal-row a {
    color: var(--sage-dark);
    text-decoration: none;
    padding: 0 8px;
}

.legal-row a:hover {
    text-decoration: underline;
}

.legal-row span {
    opacity: 0.5;
}

@media (max-width: 480px) {
    body { padding: 24px 16px 60px; }
    .hero h1 { font-size: 24px; }
    .landing h1 { font-size: 28px; }
    .section { padding: 16px 18px; }
    .nav-chip { padding: 7px 12px; font-size: 12px; }
}
