/* page.css — standalone stylesheet for public pages (faq, privacy, pricing, terms, etc.) */ * { margin: 0; padding: 0; box-sizing: border-box; } :root { --bg: #F8F7F6; --bg-card: #FFFFFF; --bg-secondary: #F5F4F2; --border: #E5E2DE; --border-hover: #C4BFB8; --text: #1C1917; --text-muted: #78716C; --text-subtle: #A8A29E; --accent: #B45309; --accent-hover: #92400E; --accent-light: #FEF3C7; --danger: #DC2626; --danger-light: #FEF2F2; --success: #059669; --success-light: #ECFDF5; } body { font-family: "Sora", -apple-system, BlinkMacSystemFont, sans-serif; background: var(--bg); color: var(--text); font-weight: 400; line-height: 1.5; font-size: 15px; } /* Nav */ .nav { display: flex; justify-content: space-between; align-items: baseline; padding: 12px 24px; max-width: 1200px; margin: 0 auto; border-bottom: 1px solid var(--border); } .logo { display: flex; align-items: baseline; gap: 6px; font-family: "Sora", sans-serif; font-size: 1.75rem; font-weight: 700; letter-spacing: -0.02em; text-transform: lowercase; text-decoration: none; } .logo:hover { text-decoration: none; } .logo .inou { color: var(--accent); font-weight: 700; } .logo .health { color: var(--text-muted); font-weight: 300; } .logo .logo-tagline { font-size: 0.95rem; font-weight: 300; color: var(--text-muted); letter-spacing: 0.04em; text-transform: none; } .nav-right { display: flex; align-items: baseline; gap: 16px; } .nav-link { font-size: 0.85rem; color: var(--text-muted); text-decoration: none; } .nav-link:hover { color: var(--text); } .nav-user-menu { position: relative; } .nav-user-name { font-size: 0.85rem; color: var(--text); cursor: pointer; padding: 4px 8px; border-radius: 4px; } .nav-user-name:hover { background: var(--border); } .nav-user-dropdown { display: none; position: absolute; top: 100%; right: 0; background: var(--bg-card); border: 1px solid var(--border); border-radius: 6px; box-shadow: 0 4px 12px rgba(0,0,0,0.1); padding: 4px; min-width: 100px; z-index: 100; } .nav-user-menu:hover .nav-user-dropdown { display: block; } .nav-user-dropdown a { display: block; padding: 8px 12px; color: var(--text); text-decoration: none; font-size: 0.85rem; border-radius: 4px; } .nav-user-dropdown a:hover { background: var(--bg); color: var(--accent); } .lang-menu { position: relative; } .lang-current { min-width: 36px; display: inline-block; text-align: center; font-size: 0.8rem; color: var(--text-muted); cursor: pointer; padding: 4px 8px; border: 1px solid var(--border); border-radius: 4px; } .lang-current:hover { border-color: var(--border-hover); } .lang-dropdown { display: none; position: absolute; top: 100%; right: 0; background: var(--bg-card); border: 1px solid var(--border); border-radius: 6px; box-shadow: 0 4px 12px rgba(0,0,0,0.1); padding: 4px; padding-top: 8px; min-width: 120px; white-space: nowrap; z-index: 100; } .lang-menu::after { content: ''; position: absolute; top: 100%; left: 0; right: 0; height: 8px; } .lang-menu:hover .lang-dropdown { display: block; } .lang-dropdown a { display: block; padding: 6px 12px; color: var(--text); text-decoration: none; font-size: 0.85rem; border-radius: 4px; } .lang-dropdown a:hover { background: var(--bg); } .lang-dropdown a.active { color: var(--accent); font-weight: 500; } /* Buttons (sign-in) */ .btn { display: inline-flex; align-items: center; justify-content: center; padding: 10px 18px; font-size: 1rem; font-family: inherit; font-weight: 500; border: none; border-radius: 6px; text-decoration: none; cursor: pointer; text-align: center; gap: 6px; } .btn-secondary { background: var(--bg-card); color: var(--text); border: 1px solid var(--border); } .btn-primary { background: var(--accent); color: #FFFFFF; } .btn-primary:hover { background: var(--accent-hover); } .btn-secondary:hover { border-color: var(--border-hover); background: var(--bg); } .btn-danger { background: var(--danger-light); color: var(--danger); border: 1px solid #FECACA; } .btn-danger:hover { background: #FEE2E2; } .btn-full { width: 100%; } .btn-small { padding: 6px 12px; font-size: 1rem; } .error { background: var(--danger-light); border: 1px solid #FECACA; color: var(--danger); padding: 10px 14px; border-radius: 6px; margin-bottom: 16px; font-size: 1rem; } .success { background: var(--success-light); border: 1px solid #A7F3D0; color: var(--success); padding: 10px 14px; border-radius: 6px; margin-bottom: 16px; font-size: 1rem; } /* Page layout */ .page-container { max-width: 1200px; margin: 0 auto; padding: 48px 24px 24px; min-height: calc(100vh - 45px); display: flex; flex-direction: column; } .page-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: 8px; padding: 32px 24px; margin-bottom: 24px; } .page-card h1 { font-size: 2.5rem; font-weight: 700; color: var(--text); margin-bottom: 16px; } .page-card .intro { font-size: 1.15rem; font-weight: 300; color: var(--text-muted); line-height: 1.8; margin-bottom: 0; } .page-card h2 { font-size: 1.4rem; font-weight: 600; color: var(--text); margin-top: 0; margin-bottom: 24px; } .page-card h3, .page-text h3 { font-size: 1.1rem; font-weight: 600; color: var(--text); margin-top: 24px; margin-bottom: 8px; } .page-card h3:first-child, .page-text h3:first-child { margin-top: 0; } .page-text { padding: 16px 24px; } .page-card p { font-size: 1rem; font-weight: 300; color: var(--text-muted); line-height: 1.6; margin-bottom: 12px; } .page-text p { font-size: 0.95rem; font-weight: 300; color: var(--text-muted); line-height: 1.6; margin-bottom: 12px; } .page-card p:last-child, .page-text p:last-child { margin-bottom: 0; } .page-card ul, .page-card ol, .page-text ul, .page-text ol { margin: 8px 0; padding-left: 24px; color: var(--text-muted); font-weight: 300; line-height: 1.6; } .page-card li { margin-bottom: 4px; font-size: 1rem; } .page-text li { margin-bottom: 4px; font-size: 0.95rem; } .page-card strong, .page-text strong { font-weight: 600; color: var(--text); } .page-card a, .page-text a { color: var(--accent); text-decoration: none; } .page-card a:hover, .page-text a:hover { text-decoration: underline; } .page-card a.btn { text-decoration: none; } .page-card a.btn:hover { text-decoration: none; } .page-card a.btn-primary { color: #FFFFFF; } .page-card table, .page-text table { width: 100%; border-collapse: collapse; margin: 12px 0; } .page-card th, .page-card td, .page-text th, .page-text td { padding: 8px 12px; text-align: left; border-bottom: 1px solid var(--border); } .page-card th, .page-text th { font-weight: 600; background: var(--bg-secondary); } .inou { font-weight: 700; color: var(--accent); } /* Cards */ .card { background: var(--bg-card); border: 1px solid var(--border); border-radius: 8px; margin-bottom: 16px; } .card-header { display: flex; justify-content: space-between; align-items: center; padding: 12px 16px 12px 24px; position: relative; } .card-header::before { content: ''; position: absolute; left: -1px; top: -1px; bottom: 0; width: 4px; background: var(--indicator); border-radius: 8px 0 0 0; } .card-header h2 { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text); margin: 0; line-height: 1; } .card-header span { font-size: 0.85rem; color: var(--text-muted); line-height: 1; } /* Expandable rows */ .expandable { padding: 8px 16px 8px 24px; cursor: pointer; border-top: 1px solid var(--border); font-weight: 500; color: var(--text); } .expandable:hover { background: var(--bg); } .expand-icon { display: inline-block; width: 14px; margin-right: 6px; font-size: 14px; color: var(--text-muted); vertical-align: baseline; } .expand-body { display: none; background: var(--bg-secondary); border-top: 1px solid var(--border); } .expand-body.show { display: block; } /* Footer */ .page-footer { padding: 16px 0; border-top: 1px solid var(--border); display: flex; justify-content: space-between; align-items: center; } .page-footer-left { font-size: 0.9rem; color: var(--text-muted); display: flex; gap: 16px; align-items: center; } .page-footer-left a { color: var(--text-muted); text-decoration: none; } .page-footer-left a:hover { color: var(--accent); } .page-footer-right { font-size: 1rem; } /* Shared footer (from footer.tmpl) */ .sg-footer { margin-top: auto; padding-top: 48px; padding: 16px 0; border-top: 1px solid var(--border); display: flex; justify-content: space-between; align-items: center; } .sg-footer-left { font-size: 0.9rem; color: var(--text-muted); display: flex; gap: 16px; align-items: center; } .sg-footer-left a { color: var(--text-muted); text-decoration: none; } .sg-footer-left a:hover { color: var(--accent); } .sg-footer-right { font-family: "Sora", sans-serif; font-size: 1rem; } .sg-footer-right .inou { font-weight: 700; color: var(--accent); } .sg-footer-right .health { font-weight: 400; color: var(--text-muted); } /* Landing: carousel */ .carousel { position: relative; width: 100%; aspect-ratio: 16/9; overflow: hidden; border-radius: 6px; margin-bottom: 32px; } .carousel-track { display: flex; height: 100%; transition: transform 0.5s ease; } .carousel-slide { min-width: 100%; height: 100%; background-size: cover; background-position: center; } .carousel-dots { display: flex; justify-content: center; gap: 8px; margin-bottom: 32px; } .carousel-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--border); border: none; padding: 0; cursor: pointer; transition: background 0.2s; } .carousel-dot.active { background: var(--accent); } .carousel-caption { text-align: center; font-size: 0.95rem; color: var(--text-muted); line-height: 1.5; min-height: 3em; padding: 0 24px; margin-bottom: 24px; } /* Landing: hero */ .hero-sources { font-size: 1rem; font-weight: 300; color: var(--text-muted); line-height: 1.9; margin-bottom: 32px; } .hero-sources span { display: block; } .hero-pivot { font-size: 1rem; font-weight: 400; color: var(--text); line-height: 1.8; margin-bottom: 32px; } .hero-pivot span { display: block; } .hero-pivot .emphasis { font-size: 1.2rem; font-weight: 600; margin-top: 12px; } .hero-answer { text-align: center; font-size: 1.7rem; font-weight: 500; color: var(--text); line-height: 1.5; margin-top: 16px; margin-bottom: 8px; } .hero-tagline { text-align: center; font-size: 2.8rem; font-weight: 700; color: var(--text); margin-bottom: 12px; } .hero-cta { margin-bottom: 0; text-align: center; } .hero-cta .btn { padding: 18px 56px; font-size: 0.9rem; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; border-radius: 4px; } /* Landing: story */ .story-prose.warm { font-size: 1rem; line-height: 1.8; color: var(--text); } .story-prose.warm p { margin-bottom: 20px; } .story-prose.warm .emphasis { font-weight: 600; font-size: 1.2rem; } .story-title { font-size: 1.2rem; font-weight: 600; color: var(--text); margin-bottom: 32px; } .story-pair { margin-bottom: 32px; } .story-pair .data { font-size: 1rem; font-weight: 400; color: var(--text); margin-bottom: 4px; } .story-pair .reality { font-size: 1rem; font-weight: 300; font-style: italic; color: var(--text-muted); } .story-transition { font-size: 1.2rem; font-weight: 400; color: var(--text); line-height: 1.8; margin: 32px 0; padding: 24px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); } .story-gaps { font-size: 1rem; font-weight: 300; color: var(--text-muted); line-height: 1.8; margin-bottom: 32px; } .story-gaps span { display: block; } .story-gaps .indent { font-style: italic; } .story-connections { font-size: 1rem; font-weight: 300; color: var(--text-muted); line-height: 1.8; margin-bottom: 32px; } .story-connections span { display: block; } .story-ai { font-size: 1.2rem; font-weight: 400; color: var(--text); line-height: 1.8; margin-bottom: 32px; } .story-ai span { display: block; } .story-ai .last { font-style: italic; } .story-prose { font-size: 1rem; font-weight: 300; color: var(--text-muted); line-height: 1.8; margin-bottom: 20px; } .story-prose:last-of-type { margin-bottom: 32px; } .story-prose strong { font-weight: 600; color: var(--text); } /* Landing: trust */ .trust-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: 8px; padding: 32px 48px; margin-bottom: 24px; } .trust-card .section-label { font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; color: var(--text-muted); margin-bottom: 24px; } .trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; } .trust-item { font-size: 0.9rem; font-weight: 300; color: var(--text-muted); line-height: 1.6; } .trust-item strong { display: block; font-weight: 600; color: var(--text); margin-bottom: 4px; } /* Mobile */ @media (max-width: 768px) { .page-container { padding: 24px 16px 48px; } .page-card { padding: 32px 24px; } .trust-card { padding: 24px; } .hero-sources { font-size: 1rem; line-height: 1.8; } .hero-pivot { font-size: 1.1rem; } .hero-pivot .emphasis { font-size: 1.3rem; } .hero-answer { font-size: 1.2rem; } .hero-tagline { font-size: 2rem; margin-bottom: 8px; } .carousel-caption { font-size: 0.85rem; } .hero-cta .btn { padding: 14px 40px; } .story-pair .data { font-size: 1rem; } .story-pair .reality { font-size: 0.95rem; } .trust-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; } .page-card h1 { font-size: 2rem; } .page-card .intro { font-size: 1.05rem; } .page-card h2 { font-size: 1.25rem; } .page-card h3, .page-text h3 { font-size: 1rem; } .page-card p, .page-text p { font-size: 0.95rem; } } @media (max-width: 480px) { .page-container { padding: 16px 12px 32px; } .page-card { padding: 24px 16px; } .page-card h1 { font-size: 1.75rem; } .page-card .intro { font-size: 1rem; } .page-card h2 { font-size: 1.15rem; } .page-card p, .page-text p { font-size: 0.9rem; } .page-footer { flex-direction: column; gap: 12px; text-align: center; } .page-footer-left { flex-direction: column; gap: 8px; } .sg-footer { flex-direction: column; gap: 12px; text-align: center; } .sg-footer-left { flex-direction: column; gap: 8px; } .trust-card { padding: 20px 16px; } .hero-sources { font-size: 0.95rem; } .hero-pivot { font-size: 1rem; } .hero-pivot .emphasis { font-size: 1.2rem; } .story-pair { margin-bottom: 24px; } .trust-grid { grid-template-columns: 1fr; gap: 20px; } }