/* NotTyped — marketing & legal site
   Pure HTML + CSS. Shared across every page so the header, footer,
   wordmark, and palette stay identical site-wide. */

:root {
  --cream: #F7F5F0;     /* page background */
  --ink: #2C2418;       /* primary text */
  --accent: #C4634A;    /* terracotta / rust */
  --secondary: #6B5E4F; /* secondary text */
  --card: #F0EBE1;      /* card / section background */
  --hairline: #E4DCCE;  /* subtle borders */
  --max: 760px;         /* readable content width */
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 {
  font-family: Georgia, "Times New Roman", serif;
  color: var(--ink);
  line-height: 1.25;
  font-weight: 700;
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

p { margin: 0 0 1em; }

.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Wordmark + strikethrough ---------- */
/* The terracotta strike on "Typed" (and on the icon "T") is a rotated
   ::after bar — the brand device the app uses. */

.struck { position: relative; white-space: nowrap; }
.struck::after {
  content: "";
  position: absolute;
  left: -0.04em;
  right: -0.04em;
  top: 48%;
  height: 3px;
  background: var(--accent);
  transform: rotate(-2deg);
  border-radius: 2px;
}

/* ---------- Header ---------- */

.site-header {
  border-bottom: 1px solid var(--hairline);
  background: var(--cream);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 20px;
  padding-bottom: 20px;
}
.wordmark {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
  font-size: 24px;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.wordmark:hover { text-decoration: none; }

/* ---------- App icon ("T" with strike) ---------- */

.app-icon {
  width: 104px;
  height: 104px;
  border-radius: 24px;
  background: var(--card);
  border: 1px solid var(--hairline);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  box-shadow: 0 8px 24px rgba(44, 36, 24, 0.10);
}
.app-icon .icon-t {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
  font-size: 68px;
  line-height: 1;
  color: var(--ink);
}
.app-icon::after {
  content: "";
  position: absolute;
  left: 16%;
  right: 16%;
  top: 48%;
  height: 3px;
  background: var(--accent);
  transform: rotate(-2deg);
  border-radius: 2px;
}

/* ---------- Hero (landing) ---------- */

.hero {
  text-align: center;
  padding: 64px 0 48px;
}
.hero h1 {
  font-size: 52px;
  margin: 24px 0 12px;
  letter-spacing: -0.02em;
}
.hero .tagline {
  font-family: Georgia, "Times New Roman", serif;
  font-style: italic;
  font-size: 22px;
  color: var(--accent);
  margin: 0 0 24px;
}
.hero .lede {
  font-size: 19px;
  color: var(--secondary);
  max-width: 580px;
  margin: 0 auto 32px;
}

/* App Store badge (Apple official image) */
.appstore-badge { display: inline-block; }
.appstore-badge img {
  height: 56px;
  width: auto;
  display: block;
}

/* ---------- Feature highlights ---------- */

.features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  padding: 24px 0 64px;
}
.feature {
  background: var(--card);
  border: 1px solid var(--hairline);
  border-radius: 16px;
  padding: 24px;
}
.feature h3 {
  font-size: 19px;
  margin: 0 0 6px;
}
.feature p {
  margin: 0;
  color: var(--secondary);
  font-size: 16px;
}
.feature .mark {
  display: inline-block;
  font-family: Georgia, serif;
  font-weight: 700;
  color: var(--accent);
  font-size: 22px;
  margin-bottom: 8px;
}

/* ---------- Content pages (legal / support) ---------- */

.page {
  padding: 48px 0 64px;
}
.page h1 {
  font-size: 36px;
  margin: 0 0 8px;
  letter-spacing: -0.01em;
}
.page .meta {
  color: var(--secondary);
  font-size: 15px;
  margin: 0 0 32px;
}
.page h2 {
  font-size: 23px;
  margin: 40px 0 10px;
}
.page h3 {
  font-size: 18px;
  margin: 28px 0 6px;
}
.page ul, .page ol { padding-left: 22px; margin: 0 0 1em; }
.page li { margin-bottom: 6px; }
.page strong { color: var(--ink); }

.intro {
  background: var(--card);
  border: 1px solid var(--hairline);
  border-radius: 16px;
  padding: 20px 24px;
  color: var(--secondary);
  margin: 0 0 32px;
}
.intro p:last-child { margin-bottom: 0; }

/* FAQ */
.faq { margin-top: 8px; }
.faq-item {
  border-top: 1px solid var(--hairline);
  padding: 22px 0;
}
.faq-item:last-child { border-bottom: 1px solid var(--hairline); }
.faq-item h3 { margin: 0 0 6px; }
.faq-item p { margin: 0; color: var(--secondary); }

.callout {
  background: var(--card);
  border: 1px solid var(--hairline);
  border-radius: 16px;
  padding: 24px;
  margin: 32px 0 0;
}
.callout h2 { margin-top: 0; }
.callout p:last-child { margin-bottom: 0; }

/* ---------- Footer ---------- */

.site-footer {
  border-top: 1px solid var(--hairline);
  background: var(--card);
  padding: 36px 0;
  margin-top: 24px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  margin-bottom: 14px;
}
.footer-nav a { color: var(--secondary); font-size: 15px; }
.footer-nav a:hover { color: var(--accent); }
.copyright {
  color: var(--secondary);
  font-size: 14px;
  margin: 0;
}

/* ---------- Responsive ---------- */

@media (max-width: 640px) {
  body { font-size: 16px; }
  .hero { padding: 40px 0 32px; }
  .hero h1 { font-size: 40px; }
  .hero .tagline { font-size: 19px; }
  .hero .lede { font-size: 17px; }
  .features { grid-template-columns: 1fr; }
  .page h1 { font-size: 30px; }
  .page h2 { font-size: 21px; }
  .app-icon { width: 88px; height: 88px; border-radius: 20px; }
  .app-icon .icon-t { font-size: 56px; }
  .appstore-badge img { height: 50px; }
}
