/* rewisehome.com — Quiet Intelligence: warm off-white, deep ink, one mineral-blue accent. */
:root {
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", Inter, "Helvetica Neue", Arial, sans-serif;
  --ink: #1d1d1f;
  --muted: #6e6e73;
  --paper: #fbfaf7;
  --surface: #f2f0eb;
  --card: #ffffff;
  --line: rgba(29, 29, 31, .10);
  --accent: #2f6f8f;          /* mineral blue */
  --accent-strong: #245a75;
  --dark: #0d0f10;
  --dark-card: #1a1c1e;
  --dark-text: #f5f5f7;
  --dark-muted: #a1a1a6;
  --dark-accent: #6fb3d2;
  --radius: 22px;
  --ease: cubic-bezier(0.28, 0.11, 0.32, 1);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--paper);
  -webkit-font-smoothing: antialiased; line-height: 1.47; font-size: 17px; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

/* Floating glass navigation */
.nav { position: sticky; top: 12px; z-index: 10; margin: 12px auto 0; width: min(980px, calc(100% - 32px));
  display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 8px 8px 8px 20px;
  border-radius: 999px; background: rgba(251, 250, 247, .72);
  backdrop-filter: blur(24px) saturate(180%); -webkit-backdrop-filter: blur(24px) saturate(180%);
  box-shadow: 0 8px 32px rgba(0,0,0,.06), inset 0 0 0 .5px rgba(29,29,31,.08); }
.wordmark { font-size: 21px; font-weight: 600; letter-spacing: -.02em; color: var(--ink); }
.wordmark:hover { text-decoration: none; }
.wordmark .dot { color: var(--accent); }
.nav-links { display: flex; align-items: center; gap: 24px; font-size: 14px; }
.nav-links a { color: var(--ink); opacity: .78; }
.nav-links a:hover { opacity: 1; text-decoration: none; }
.pill { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 22px;
  border-radius: 999px; background: var(--accent); color: #fff !important; opacity: 1 !important; font-weight: 600;
  font-size: 15px; transition: background .2s var(--ease), transform .2s var(--ease); }
.pill:hover { background: var(--accent-strong); text-decoration: none; }
.pill:active { transform: scale(.97); }
.link-arrow::after { content: " \203A"; }

/* Sections */
section { padding: 110px 24px; text-align: center; }
.wrap { max-width: 980px; margin: 0 auto; }
.eyebrow { font-size: 21px; font-weight: 600; color: var(--muted); margin: 0 0 10px; letter-spacing: -.005em; }
h1 { font-size: clamp(44px, 7vw, 88px); font-weight: 700; letter-spacing: -.025em; line-height: 1.04; margin: 0; }
h2 { font-size: clamp(32px, 5vw, 56px); font-weight: 600; letter-spacing: -.018em; line-height: 1.08; margin: 0 auto; max-width: 820px; }
.sub { font-size: 21px; line-height: 1.4; color: var(--muted); max-width: 620px; margin: 18px auto 0; }
.actions { display: flex; gap: 22px; justify-content: center; align-items: center; margin-top: 30px; flex-wrap: wrap; }

.hero { padding-top: 90px; padding-bottom: 40px; }
.hero h1 .accent { color: var(--accent); }
.hero img { width: min(720px, 100%); margin: 40px auto 0; filter: drop-shadow(0 30px 40px rgba(0,0,0,.18)); }

.dark { background: var(--dark); color: var(--dark-text); }
.dark .eyebrow, .dark .sub { color: var(--dark-muted); }
.dark a { color: var(--dark-accent); }
.gradient { background: linear-gradient(90deg, #8fd3f4 0%, #6fb3d2 45%, #f2c38b 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent; }

.surface { background: var(--surface); }

/* Bento */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; margin-top: 56px; text-align: left; }
.card { background: var(--card); border-radius: var(--radius); padding: 28px; grid-column: span 2;
  box-shadow: inset 0 0 0 .5px var(--line); }
.card.wide { grid-column: span 3; }
.card.full { grid-column: span 6; }
.card .big { font-size: clamp(34px, 4.4vw, 48px); font-weight: 700; letter-spacing: -.02em; line-height: 1.05; margin: 6px 0 10px; }
.card h3 { font-size: 21px; font-weight: 600; margin: 0 0 6px; letter-spacing: -.01em; }
.card p { margin: 0; color: var(--muted); font-size: 16px; }
.dark .card { background: var(--dark-card); box-shadow: inset 0 0 0 1px rgba(255,255,255,.07); }
.dark .card p { color: var(--dark-muted); }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 56px; text-align: left; counter-reset: step; }
.step { background: var(--card); border-radius: var(--radius); padding: 28px; box-shadow: inset 0 0 0 .5px var(--line); }
.step::before { counter-increment: step; content: counter(step); display: grid; place-items: center; width: 32px; height: 32px;
  border-radius: 50%; background: var(--surface); color: var(--accent); font-weight: 700; margin-bottom: 16px; }
.step h3 { margin: 0 0 6px; font-size: 19px; }
.step p { margin: 0; color: var(--muted); font-size: 16px; }

/* Long-form pages */
.doc { max-width: 720px; margin: 0 auto; padding: 72px 24px 96px; text-align: left; }
.doc h1 { font-size: clamp(36px, 5vw, 48px); }
.doc .updated { color: var(--muted); margin: 10px 0 40px; }
.doc h2 { font-size: 24px; text-align: left; margin: 40px 0 10px; max-width: none; }
.doc p, .doc li { color: #3a3a3c; }
.doc ul { padding-left: 22px; }
.doc li { margin: 6px 0; }
.note { background: var(--surface); border-radius: 16px; padding: 18px 20px; color: var(--ink); margin: 28px 0; }

footer { background: var(--surface); color: var(--muted); font-size: 12px; padding: 28px 24px 40px; }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }
footer a { color: var(--muted); margin-right: 18px; }

@media (max-width: 760px) {
  section { padding: 72px 16px; }
  .nav-links a:not(.pill) { display: none; }
  .bento, .steps { grid-template-columns: 1fr; }
  .card, .card.wide, .card.full { grid-column: auto; }
  .sub { font-size: 19px; }
}
@media (prefers-color-scheme: dark) {
  :root { --ink: #f5f5f7; --muted: #a1a1a6; --paper: #000; --surface: #111214; --card: #1a1c1e; --line: rgba(255,255,255,.08); --accent: #6fb3d2; --accent-strong: #8cc4de; }
  .nav { background: rgba(22,22,23,.72); box-shadow: inset 0 0 0 .5px rgba(255,255,255,.1); }
  .pill { color: #0d0f10 !important; }
  .doc p, .doc li { color: #d1d1d6; }

}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
