/* Quillet marketing + legal site — Plume design language.
   Cream paper, aubergine ink, plum accent. Cormorant Garamond display
   + Manrope UI, mirroring the app's typographic identity. */

:root {
  --paper: #FAF6EE;
  --paper-2: #F3EBDC;
  --ink: #2C2230;
  --ink-soft: #6B5E6A;
  --plum: #7E5A77;
  --coral: #CE7E5E;
  --line: rgba(44, 34, 48, 0.12);
  --maxw: 720px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --paper: #221B27;
    --paper-2: #2C2330;
    --ink: #F1E9EE;
    --ink-soft: #B6A6B2;
    --plum: #C79BBE;
    --coral: #E0A184;
    --line: rgba(241, 233, 238, 0.14);
  }
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 22px;
}

/* Header */
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 26px 22px;
  max-width: 980px;
  margin: 0 auto;
}
.brand {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-style: italic;
  font-weight: 500;
  font-size: 30px;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: 0.5px;
}
.site-header nav a {
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
  margin-left: 20px;
}
.site-header nav a:hover { color: var(--plum); }

/* Brand lockup (icon + wordmark) */
.brand-lockup { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-lockup img { width: 34px; height: 34px; border-radius: 8px; }

/* Hero */
.hero {
  text-align: center;
  padding: 44px 0 26px;
}
.hero .app-icon {
  width: 96px;
  height: 96px;
  border-radius: 22px;
  box-shadow: 0 14px 30px rgba(44, 34, 48, 0.22);
  margin: 0 auto 22px;
  display: block;
}
.hero h1 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-style: italic;
  font-weight: 500;
  font-size: clamp(40px, 7vw, 62px);
  line-height: 1.06;
  margin: 0 0 18px;
}
.hero h1 .accent { color: var(--plum); }
.quill-flourish { width: 30px; height: auto; display: block; margin: 0 auto 14px; opacity: 0.65; }
.hero p.lede {
  font-size: 19px;
  color: var(--ink-soft);
  max-width: 560px;
  margin: 0 auto 26px;
}

/* Device showcase */
.showcase {
  position: relative;
  max-width: 720px;
  margin: 16px auto 8px;
  min-height: 380px;
}
.showcase .ipad { width: 76%; margin: 0 auto; }
.showcase .iphone {
  position: absolute;
  width: 25%;
  left: 1%;
  bottom: -8px;
}
.frame-ipad {
  background: linear-gradient(160deg, #34313a, #211f26);
  border-radius: 26px;
  padding: 3.1%;
  box-shadow: 0 30px 60px rgba(44, 34, 48, 0.26);
}
.frame-ipad img { width: 100%; display: block; border-radius: 13px; }
.frame-iphone {
  background: linear-gradient(160deg, #2b2930, #18171c);
  border-radius: 30px;
  padding: 5.5%;
  box-shadow: 0 22px 44px rgba(44, 34, 48, 0.32);
}
.frame-iphone img { width: 100%; display: block; border-radius: 22px; }

@media (max-width: 640px) {
  .showcase { display: flex; flex-direction: column; align-items: center; gap: 26px; min-height: 0; }
  .showcase .ipad { width: 92%; }
  .showcase .iphone { position: static; width: 54%; }
}

/* Showcase caption row under a framed image in a feature */
.shot { margin: 14px auto 0; }
.shot.ipad-wide { max-width: 560px; }
.pill {
  display: inline-block;
  background: var(--paper-2);
  border: 1px solid var(--line);
  color: var(--ink-soft);
  border-radius: 999px;
  padding: 9px 18px;
  font-size: 14px;
  font-weight: 600;
}

/* Primary call-to-action (App Store button) */
.cta {
  display: inline-block;
  background: var(--plum);
  color: var(--paper);
  border-radius: 999px;
  padding: 13px 26px;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(126, 90, 119, 0.32);
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}
.cta:hover { transform: translateY(-1px); box-shadow: 0 14px 30px rgba(126, 90, 119, 0.40); }

/* Feature grid */
.features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin: 48px 0;
}
@media (max-width: 620px) { .features { grid-template-columns: 1fr; } }
.feature {
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 22px 22px 24px;
}
.feature h3 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-style: italic;
  font-weight: 600;
  font-size: 23px;
  margin: 0 0 6px;
}
.feature p { margin: 0; color: var(--ink-soft); font-size: 16px; }

/* Legal documents */
.legal { padding: 40px 0 64px; }
.legal h1 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-style: italic;
  font-weight: 500;
  font-size: 42px;
  margin: 0 0 6px;
}
.legal .updated { color: var(--ink-soft); font-size: 15px; margin: 0 0 32px; }
.legal h2 {
  font-size: 20px;
  font-weight: 700;
  margin: 34px 0 10px;
}
.legal h3 { font-size: 17px; font-weight: 700; margin: 22px 0 6px; }
.legal p, .legal li { color: var(--ink); }
.legal a { color: var(--plum); }
.legal ul { padding-left: 22px; }
.legal li { margin: 6px 0; }
.legal .back { display: inline-block; margin-bottom: 26px; color: var(--plum); text-decoration: none; font-weight: 600; font-size: 15px; }

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 28px 22px 40px;
  text-align: center;
  color: var(--ink-soft);
  font-size: 14px;
}
.site-footer a { color: var(--ink-soft); text-decoration: none; margin: 0 8px; }
.site-footer a:hover { color: var(--plum); }
