/* Strak Tile marketing site: one stylesheet for every page. Colours follow the app (safety orange on warm grey). */
:root {
  color-scheme: light dark;
  --bg: #f4f2ee;
  --surface: #ffffff;
  --surface-alt: #ebe8e2;
  --text: #1c1b19;
  --muted: #6b665d;
  --border: #d6d1c8;
  --accent: #d24d12;
  --accent-text: #ffffff;
  --radius: 18px;
}
@media (prefers-color-scheme: dark) {
  :root { --bg: #121212; --surface: #1d1c1a; --surface-alt: #282623; --text: #f3f1ec; --muted: #a49e93; --border: #3a3733; --accent: #ff7a33; --accent-text: #111111; }
}
* { box-sizing: border-box; }
html, body { overflow-x: clip; }
body { margin: 0; background: var(--bg); color: var(--text); font: 17px/1.55 system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif; -webkit-font-smoothing: antialiased; }
a { color: var(--accent); }
img { max-width: 100%; display: block; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 20px; }

/* Header */
header.top { position: sticky; top: 0; z-index: 10; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(12px); border-bottom: 1px solid var(--border); }
header.top .wrap { display: flex; align-items: center; gap: 16px; height: 64px; }
.brand { white-space: nowrap; display: flex; align-items: center; gap: 10px; font-weight: 750; font-size: 19px; color: var(--text); text-decoration: none; letter-spacing: -0.01em; }
.brand img { width: 32px; height: 32px; border-radius: 8px; }
nav.links { margin-left: auto; display: flex; gap: 22px; align-items: center; }
nav.links a { color: var(--text); text-decoration: none; font-size: 15px; font-weight: 550; }
nav.links a:hover { color: var(--accent); }
.btn { white-space: nowrap; display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 20px; border-radius: 999px; font-weight: 650; font-size: 16px; text-decoration: none; border: 1px solid transparent; }
.btn.primary { background: var(--accent); color: var(--accent-text); }
.btn.secondary { background: var(--surface); color: var(--text); border-color: var(--border); }
.btn.small { min-height: 38px; padding: 0 16px; font-size: 15px; }
@media (max-width: 640px) { nav.links a.hide-sm { display: none; } }

/* Hero */
.hero { padding: 64px 20px 40px; display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 40px; align-items: center; }
.hero h1 { font-size: clamp(36px, 5.4vw, 60px); line-height: 1.04; letter-spacing: -0.03em; margin: 0 0 18px; }
.hero p.lead { font-size: 20px; color: var(--muted); margin: 0 0 28px; max-width: 34ch; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.note { font-size: 14px; color: var(--muted); margin-top: 14px; }
.phones { position: relative; height: 560px; }
.phone { position: absolute; width: 250px; border-radius: 34px; overflow: hidden; border: 8px solid #1c1b19; background: #1c1b19; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.35); }
.phone img { width: 100%; }
.phone.a { left: 0; top: 40px; transform: rotate(-4deg); }
.phone.b { right: 0; top: 0; transform: rotate(3deg); }
@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; padding-top: 40px; }
  .phones { height: 470px; max-width: 420px; margin: 0 auto; width: 100%; }
  .phone { width: 200px; }
  .phone.a { left: 4%; }
  .phone.b { right: 4%; }
}
@media (max-width: 420px) { nav.links { gap: 14px; } .brand { font-size: 17px; } }

/* Sections */
section.block { padding: 56px 0; }
section.block h2 { font-size: clamp(28px, 3.6vw, 40px); letter-spacing: -0.02em; line-height: 1.1; margin: 0 0 10px; }
section.block p.sub { color: var(--muted); font-size: 18px; margin: 0 0 32px; max-width: 60ch; }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 860px) { .grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .grid { grid-template-columns: 1fr; } }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; }
.card h3 { margin: 10px 0 6px; font-size: 18px; letter-spacing: -0.01em; }
.card p { margin: 0; color: var(--muted); font-size: 15.5px; }
.icon { width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; background: color-mix(in srgb, var(--accent) 14%, transparent); color: var(--accent); }
.icon svg { width: 22px; height: 22px; }

.shots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.shots figure { margin: 0; }
.shots .phone { position: static; width: 100%; transform: none; }
.shots figcaption { text-align: center; color: var(--muted); font-size: 15px; margin-top: 12px; }
@media (max-width: 700px) { .shots { grid-template-columns: 1fr; max-width: 300px; margin: 0 auto; } }

.pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 860px) { .pricing { grid-template-columns: 1fr; } }
.price { font-size: 34px; font-weight: 750; letter-spacing: -0.02em; margin: 8px 0 2px; }
.price small { font-size: 16px; color: var(--muted); font-weight: 500; }
.card ul { margin: 14px 0 0; padding-left: 20px; color: var(--muted); font-size: 15.5px; }
.card.featured { border: 2px solid var(--accent); }
.tag { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: var(--accent); }

/* Text pages (support, delete account) */
main.page { max-width: 720px; margin: 0 auto; padding: 48px 20px 64px; }
main.page h1 { font-size: 38px; letter-spacing: -0.02em; line-height: 1.1; margin: 0 0 12px; }
main.page h2 { font-size: 22px; margin: 34px 0 8px; }
main.page p, main.page li { color: var(--text); }
main.page .muted { color: var(--muted); }
ol.steps { padding-left: 22px; }
ol.steps li { margin-bottom: 8px; }
.callout { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 18px 20px; margin: 20px 0; }

/* Footer */
footer.bottom { border-top: 1px solid var(--border); padding: 32px 0 48px; margin-top: 24px; color: var(--muted); font-size: 15px; }
footer.bottom .wrap { display: flex; flex-wrap: wrap; gap: 12px 28px; justify-content: space-between; }
footer.bottom nav { display: flex; flex-wrap: wrap; gap: 8px 20px; }
footer.bottom a { color: var(--muted); }
