/* tripkit.world landing: sterix.ai/tripkit design on the shared paper texture (base #F9F4E9, Inter, ink #1a1a1a). */
* { margin: 0; padding: 0; box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
:root { --paper: #F9F4E9; --ink: #1a1a1a; }
body { font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; background: var(--paper); color: var(--ink); min-height: 100vh; display: flex; flex-direction: column; }
/* Shared paper texture: fixed tile behind all content (matches the trip + legal pages). */
body::before { content: ""; position: fixed; inset: 0; z-index: -1; background: var(--paper) url(/assets/paper.jpg) repeat; background-size: 300px; }
a { color: inherit; }

.site-header { padding: 24px; max-width: 1280px; margin: 0 auto; width: 100%; display: flex; align-items: center; justify-content: center; }
.site-header .brand img { height: 34px; width: auto; display: block; }
.cta { display: inline-block; flex: none; font-size: 14px; font-weight: 600; text-decoration: none; white-space: nowrap; padding: 10px 18px; border-radius: 999px; background: var(--ink); color: var(--paper); }
@media (min-width: 768px) { .site-header { padding: 28px 40px; } }

/* Landing */
.hero { text-align: center; padding: 0 24px; }
.hero h1 { font-size: clamp(40px, 7vw, 72px); font-weight: 500; line-height: 1.02; letter-spacing: -0.04em; max-width: 1200px; margin: 0 auto; }
.hero .sub { font-size: 18px; color: rgba(0,0,0,0.7); line-height: 1.4; margin: 32px auto 0; max-width: 680px; }
@media (min-width: 768px) { .hero .sub { font-size: 20px; } }
.badges { margin-top: 40px; margin-bottom: 64px; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
@media (min-width: 768px) { .badges { gap: 16px; margin-bottom: 96px; } }
.badge { display: flex; align-items: center; gap: 8px; border-radius: 12px; padding: 12px 16px; width: 160px; text-decoration: none; }
.badge.appstore { background: var(--ink); color: #fff; transition: opacity .2s; }
.badge.appstore:hover { opacity: .8; }
.badge.play { background: rgba(0,0,0,0.04); color: rgba(0,0,0,0.4); cursor: not-allowed; }
.badge svg { flex: none; }
.badge .small { font-size: 10px; line-height: 1; text-align: left; }
.badge .big { font-size: 16px; font-weight: 500; line-height: 1.2; text-align: left; }

.features { max-width: 1200px; margin: 0 auto; padding: 0 24px; display: flex; flex-direction: column; gap: 96px; }
@media (min-width: 768px) { .features { padding: 0 40px; gap: 128px; } }
.feature { display: grid; grid-template-columns: 1fr; gap: 48px; align-items: center; }
@media (min-width: 768px) { .feature { grid-template-columns: 1fr 1fr; gap: 64px; } }
.feature .copy { display: flex; flex-direction: column; align-items: center; text-align: center; }
.feature .copy img { max-height: 112px; width: auto; margin-bottom: 24px; }
@media (min-width: 768px) {
  .feature .copy { align-items: flex-start; text-align: left; }
  .feature .copy img { max-height: 128px; }
  .feature.alt .copy { order: 2; align-items: flex-end; text-align: right; }
  .feature.alt .shots { order: 1; }
}
.feature h2 { font-size: 28px; font-weight: 500; line-height: 1.15; letter-spacing: -0.03em; white-space: pre-line; }
@media (min-width: 768px) { .feature h2 { font-size: 40px; } }
.feature .desc { font-size: 16px; color: rgba(0,0,0,0.6); line-height: 1.5; max-width: 420px; margin-top: 20px; }
@media (min-width: 768px) { .feature .desc { font-size: 18px; margin-top: 24px; } }
.feature .shots { display: flex; align-items: center; justify-content: center; gap: 16px; }
@media (min-width: 768px) { .feature .shots { gap: 24px; } }
.feature .shots .frame { width: 100%; max-width: 220px; border-radius: 24px; background: rgba(0,0,0,0.03); border: 1px solid rgba(0,0,0,0.08); overflow: hidden; aspect-ratio: 9 / 19.5; }
@media (min-width: 768px) { .feature .shots .frame { max-width: 280px; border-radius: 32px; } }
.feature .shots img { width: 100%; height: 100%; object-fit: cover; display: block; }

.contact { padding: 96px 24px; text-align: center; max-width: 640px; margin: 0 auto; }
@media (min-width: 768px) { .contact { padding: 160px 24px; } }
.contact img { width: 96px; height: auto; margin: 0 auto 32px; opacity: .8; display: block; }
.contact .label { font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: rgba(0,0,0,0.5); margin-bottom: 12px; }
@media (min-width: 768px) { .contact .label { font-size: 14px; } }
.contact a { font-size: 24px; font-weight: 500; letter-spacing: -0.03em; line-height: 1.1; text-decoration: none; transition: opacity .2s; }
.contact a:hover { opacity: .7; }
@media (min-width: 768px) { .contact a { font-size: 28px; } }

/* Scroll reveal (landing features) */
.reveal { opacity: 0; transform: translateY(50px); transition: opacity .8s cubic-bezier(.16,1,.3,1), transform .8s cubic-bezier(.16,1,.3,1); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* Legal / support pages */
.page { flex: 1; width: 100%; max-width: 760px; margin: 0 auto; padding: 0 24px 80px; }
.page h1 { font-size: 32px; font-weight: 500; line-height: 1.1; }
@media (min-width: 768px) { .page h1 { font-size: 40px; } }
.page .updated { font-size: 14px; color: rgba(0,0,0,0.5); margin-top: 8px; }
.page section { margin-top: 40px; }
.page h2 { font-size: 18px; font-weight: 500; margin-bottom: 12px; }
.page p, .page li { font-size: 16px; color: rgba(0,0,0,0.7); line-height: 1.6; }
.page p + p { margin-top: 12px; }
.page ul { padding-left: 22px; display: flex; flex-direction: column; gap: 6px; }
.page a { color: var(--ink); }

/* Support form */
.form label { display: block; font-size: 14px; font-weight: 500; color: var(--ink); margin-bottom: 8px; }
.form .field { margin-top: 20px; }
.form input, .form select, .form textarea { width: 100%; font: inherit; font-size: 16px; color: var(--ink); background: #fff; border: 1px solid rgba(0,0,0,0.15); border-radius: 8px; padding: 12px 14px; }
.form textarea { min-height: 140px; resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus { outline: 2px solid var(--ink); outline-offset: 0; }
.form button { margin-top: 24px; font: inherit; font-size: 16px; font-weight: 500; background: var(--ink); color: #fff; border: 0; border-radius: 8px; padding: 12px 24px; cursor: pointer; transition: opacity .2s; }
.form button:hover { opacity: .8; }
.form .hint { font-size: 13px; color: rgba(0,0,0,0.5); margin-top: 10px; }
.other { margin-top: 64px; padding-top: 40px; border-top: 1px solid rgba(0,0,0,0.1); }

.site-footer { width: 100%; padding: 20px 0; border-top: 1px solid rgba(0,0,0,0.1); margin-top: auto; }
.site-footer .inner { padding: 0 24px; max-width: 1280px; margin: 0 auto; display: flex; flex-direction: column; gap: 16px; font-size: 14px; color: var(--ink); }
@media (min-width: 768px) { .site-footer .inner { flex-direction: row; align-items: center; justify-content: space-between; padding: 0 40px; } }
.site-footer nav { display: flex; align-items: center; gap: 24px; }
.site-footer a { text-decoration: none; color: var(--ink); transition: color .2s; }
.site-footer a:hover { color: var(--ink); }
