/* wakethefredup.com. Fred's palette: night navy, dawn violet and peach, sage hills, brass. */
@font-face { font-family: "Inter Variable"; src: url("/fonts/inter-latin-wght-normal.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Source Serif 4 Variable"; src: url("/fonts/source-serif-4-latin-wght-normal.woff2") format("woff2"); font-weight: 200 900; font-display: swap; }

:root {
  --night: #13213A; --night-2: #1B2B45; --violet: #5B4A86; --rose: #C77A86; --peach: #F2A97A; --gold: #F4CF8A;
  --cream: #FAF6EE; --paper: #FFFDF8; --ink: #0F2538; --ink-2: #3E4C59; --ink-3: #5F6B76; --line: #E4DCCB;
  --sage: #9DB08F; --sage-d: #52684B; --brass: #B08D4A; --brass-d: #8A6B2F; --stop: #8F2D2D;
  --radius: 22px; --max: 1160px;
  --serif: "Source Serif 4 Variable", Georgia, serif; --sans: "Inter Variable", system-ui, -apple-system, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--cream); color: var(--ink); font: 400 18px/1.55 var(--sans); }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; letter-spacing: -0.015em; margin: 0; }
p { margin: 0 0 14px; }
[hidden] { display: none !important; }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--paper); padding: 10px 14px; border-radius: 10px; z-index: 50; }
.skip:focus { left: 12px; }
:focus-visible { outline: 3px solid #1F5FA8; outline-offset: 3px; border-radius: 6px; }
.eyebrow { font: 700 13px/1 var(--sans); letter-spacing: 0.12em; text-transform: uppercase; color: var(--brass-d); margin: 0 0 14px; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 54px; padding: 0 26px; border-radius: 999px; font: 650 17px/1 var(--sans); text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: transform .18s ease, box-shadow .18s ease, background .18s ease; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn.primary { background: var(--gold); color: var(--night); box-shadow: 0 10px 30px -10px rgba(244, 207, 138, .8); }
.btn.primary:hover { box-shadow: 0 16px 36px -10px rgba(244, 207, 138, .95); }
.btn.ghost { background: rgba(255, 255, 255, .1); color: #fff; border-color: rgba(255, 255, 255, .35); }
.btn.light { background: rgba(255, 255, 255, .14); color: #fff; border-color: rgba(255, 255, 255, .3); }
.btn.small { min-height: 42px; padding: 0 18px; font-size: 15px; }
.btn.wide { width: 100%; }

/* ---------- hero ---------- */
.hero { position: relative; color: #fff; overflow: hidden; padding-bottom: 120px; isolation: isolate; }
.sky { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, var(--night) 0%, var(--night-2) 22%, var(--violet) 50%, var(--rose) 68%, var(--peach) 84%, var(--gold) 100%); }
.stars { position: absolute; inset: 0 0 45% 0; background-image: radial-gradient(1.6px 1.6px at 12% 18%, #fff 50%, transparent 51%), radial-gradient(1.2px 1.2px at 28% 8%, #fff 50%, transparent 51%), radial-gradient(1.4px 1.4px at 44% 26%, #fff 50%, transparent 51%), radial-gradient(1.2px 1.2px at 63% 12%, #fff 50%, transparent 51%), radial-gradient(1.6px 1.6px at 78% 22%, #fff 50%, transparent 51%), radial-gradient(1.2px 1.2px at 90% 9%, #fff 50%, transparent 51%), radial-gradient(1.2px 1.2px at 6% 38%, #fff 50%, transparent 51%), radial-gradient(1.4px 1.4px at 54% 40%, #fff 50%, transparent 51%); animation: twinkle 5s ease-in-out infinite alternate, starsfade 2.6s ease-out .3s both; }
.sun { position: absolute; width: 420px; height: 420px; left: 58%; bottom: -150px; border-radius: 50%; background: radial-gradient(circle, #FFE7B3 0%, #F7C978 45%, rgba(247, 201, 120, 0) 70%); filter: blur(2px); animation: rise 2.8s cubic-bezier(.2, .7, .1, 1) both; }
.cloud { position: absolute; height: 34px; border-radius: 40px; background: rgba(255, 238, 230, .5); filter: blur(1px); }
.cloud::before, .cloud::after { content: ""; position: absolute; border-radius: 50%; background: inherit; }
.cloud::before { width: 48%; height: 160%; left: 16%; bottom: 30%; }
.cloud::after { width: 36%; height: 130%; right: 14%; bottom: 25%; }
.c1 { width: 170px; top: 22%; left: 6%; animation: drift 38s linear infinite; }
.c2 { width: 120px; top: 34%; right: 8%; opacity: .7; animation: drift 52s linear infinite reverse; }
.c3 { width: 90px; top: 12%; left: 46%; opacity: .55; animation: drift 44s linear infinite; }
.hills { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 200px; }
.hills .h1 { fill: #6E8A72; opacity: .9; }
.hills .h2 { fill: var(--cream); }

.nav { max-width: var(--max); margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 20px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font: 600 20px/1 var(--serif); }
.brand img { border-radius: 50%; box-shadow: 0 0 0 2px rgba(255, 255, 255, .35); }
.nav-links { display: flex; gap: 26px; font-weight: 550; font-size: 16px; }
.nav-links a { text-decoration: none; opacity: .85; }
.nav-links a:hover { opacity: 1; }

.hero-grid { max-width: var(--max); margin: 0 auto; padding: 38px 20px 0; display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; }
.hero-copy h1 { font-size: clamp(40px, 5.6vw, 68px); line-height: 1.02; margin-bottom: 20px; text-shadow: 0 2px 30px rgba(19, 33, 58, .35); }
.hero-copy h1 em { font-style: italic; color: var(--gold); }
.hero-copy .eyebrow { color: var(--gold); }
.lede { font-size: 20px; max-width: 34em; color: rgba(255, 255, 255, .92); }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 14px; }
.fine { font-size: 14px; color: var(--ink-3); margin: 10px 0 0; }
.hero .fine { color: rgba(255, 255, 255, .75); }
.hero-copy > * { animation: up .9s cubic-bezier(.2, .7, .1, 1) both; }
.hero-copy > *:nth-child(2) { animation-delay: .08s; } .hero-copy > *:nth-child(3) { animation-delay: .16s; } .hero-copy > *:nth-child(4) { animation-delay: .24s; } .hero-copy > *:nth-child(5) { animation-delay: .32s; }

.hero-phone { position: relative; display: grid; place-items: center; min-height: 560px; }
.phone { margin: 0; width: min(310px, 78vw); border-radius: 44px; padding: 10px; background: #0d1626; box-shadow: 0 40px 80px -30px rgba(10, 18, 34, .8), 0 0 0 1px rgba(255, 255, 255, .08) inset; animation: float 6s ease-in-out infinite, up 1s cubic-bezier(.2, .7, .1, 1) .2s both; position: relative; z-index: 2; }
.phone img { border-radius: 34px; }
.ring { position: absolute; width: 300px; height: 300px; border-radius: 50%; border: 2px solid rgba(244, 207, 138, .7); animation: ring 2.6s cubic-bezier(.2, .6, .3, 1) infinite; z-index: 1; }
.r2 { animation-delay: .85s; } .r3 { animation-delay: 1.7s; }
.incoming { position: absolute; top: 24px; left: -6px; z-index: 3; display: flex; align-items: center; gap: 12px; background: rgba(255, 253, 248, .96); color: var(--ink); padding: 10px 16px 10px 10px; border-radius: 18px; box-shadow: 0 18px 40px -16px rgba(10, 18, 34, .6); animation: slidein .8s cubic-bezier(.2, .7, .1, 1) 1.1s both, nudge 2.6s ease-in-out 2s infinite; }
.incoming img { border-radius: 50%; }
.incoming strong { display: block; font-size: 16px; } .incoming span { font-size: 13px; color: var(--ink-3); }
.ring-dot { width: 10px; height: 10px; border-radius: 50%; background: #3FA34D; box-shadow: 0 0 0 0 rgba(63, 163, 77, .6); animation: pulse 1.6s ease-out infinite; }

/* ---------- sections ---------- */
main > section { max-width: var(--max); margin: 0 auto; padding: 84px 20px; }
main h2 { font-size: clamp(32px, 4vw, 48px); line-height: 1.08; margin-bottom: 26px; max-width: 18em; }
.steps { list-style: none; padding: 0; margin: 34px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: s; }
.steps li { position: relative; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 26px 26px; }
.steps .num { position: absolute; top: 20px; right: 22px; font: 600 54px/1 var(--serif); color: #EFE6D4; }
.steps svg { width: 46px; height: 46px; fill: none; stroke: var(--brass); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 16px; }
.steps h3 { font-size: 24px; margin-bottom: 8px; }
.steps p { color: var(--ink-2); margin: 0; }

.call { background: var(--night); color: #fff; max-width: none !important; border-radius: 0; }
.call-grid { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.call .eyebrow { color: var(--gold); }
.call-copy p { color: rgba(255, 255, 255, .85); font-size: 19px; }
.checks { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 12px; }
.checks li { position: relative; padding-left: 34px; color: rgba(255, 255, 255, .92); }
.checks li::before { content: ""; position: absolute; left: 0; top: 4px; width: 20px; height: 20px; border-radius: 50%; background: var(--sage) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='%2313213A' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/16px no-repeat; }
.convo { background: #1F3150; border-radius: 28px; padding: 26px; display: grid; gap: 12px; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .6); }
.convo-label { font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: rgba(255, 255, 255, .6); margin: 0 0 4px; }
.bubble { max-width: 86%; padding: 12px 16px; border-radius: 20px; font-size: 17px; line-height: 1.4; }
.bubble .who { display: block; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; opacity: .7; margin-bottom: 2px; }
.bubble.fred { background: #F4E9D2; color: var(--ink); border-bottom-left-radius: 6px; justify-self: start; }
.bubble.you { background: #3C5A86; color: #fff; border-bottom-right-radius: 6px; justify-self: end; }
.bubble.note { justify-self: center; background: transparent; border: 1px dashed rgba(255, 255, 255, .3); color: var(--gold); font-weight: 600; font-size: 15px; }

.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 30px; }
.tile { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; transition: transform .2s ease, box-shadow .2s ease; }
.tile:hover { transform: translateY(-4px); box-shadow: 0 22px 40px -28px rgba(15, 37, 56, .45); }
.tile h3 { font-size: 22px; margin-bottom: 6px; }
.tile p { color: var(--ink-2); margin: 0; }
.soon { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 26px; }
.soon-label { font-weight: 700; color: var(--brass-d); margin-right: 4px; }
.chip { padding: 8px 14px; border-radius: 999px; background: #EFE6D4; color: var(--ink-2); font-size: 15px; font-weight: 550; }

.pricing { text-align: center; }
.pricing h2 { margin-left: auto; margin-right: auto; }
.pricing-lede { max-width: 36em; margin: 0 auto; color: var(--ink-2); font-size: 19px; }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 34px; text-align: left; }
.plan { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; }
.plan.featured { border-color: var(--brass); box-shadow: 0 30px 60px -36px rgba(176, 141, 74, .8); }
.plan h3 { font-size: 22px; }
.plan .price { font: 600 46px/1.1 var(--serif); margin: 10px 0 2px; }
.plan .price small { font: 500 16px var(--sans); color: var(--ink-3); }
.plan ul { padding-left: 20px; color: var(--ink-2); margin: 14px 0 0; }

.faq-list { display: grid; gap: 12px; max-width: 820px; }
.faq details { background: var(--paper); border: 1px solid var(--line); border-radius: 18px; padding: 0 22px; }
.faq summary { cursor: pointer; list-style: none; padding: 20px 30px 20px 0; font-weight: 650; font-size: 19px; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 14px; font: 400 30px/1 var(--sans); color: var(--brass); transition: transform .2s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--ink-2); padding-bottom: 20px; margin: 0; }

.join { padding-bottom: 110px !important; }
.join-card { max-width: 560px; margin: 0 auto; text-align: center; background: var(--paper); border: 1px solid var(--line); border-radius: 30px; padding: 40px 34px; box-shadow: 0 40px 80px -50px rgba(15, 37, 56, .6); }
.join-fred { width: 128px; margin: -100px auto 10px; filter: drop-shadow(0 18px 24px rgba(15, 37, 56, .25)); }
.join h2 { margin: 0 auto 10px; }
.join form { text-align: left; margin-top: 20px; }
.join label { display: block; font-weight: 650; font-size: 15px; margin: 14px 0 6px; color: var(--ink-2); }
.join input[type="email"], .join input[type="text"] { width: 100%; min-height: 54px; padding: 0 16px; border-radius: 14px; border: 1px solid var(--line); background: var(--cream); font: 500 17px var(--sans); color: var(--ink); }
.join .check { display: flex; align-items: center; gap: 10px; font-weight: 550; }
.join .check input { width: 22px; height: 22px; accent-color: var(--brass); }
.join .btn { margin-top: 20px; }
.hp { position: absolute; left: -9999px; }
.status { min-height: 1.5em; margin: 12px 0 0; font-weight: 650; }
.status.ok { color: var(--sage-d); } .status.bad { color: var(--stop); }

.footer { max-width: var(--max); margin: 0 auto; padding: 30px 20px 50px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; color: var(--ink-3); font-size: 15px; border-top: 1px solid var(--line); }
.footer p { margin: 0; }
.foot-brand { display: flex; align-items: center; gap: 8px; font: 600 17px var(--serif); color: var(--ink); }
.foot-brand img { border-radius: 50%; }
.footer nav { display: flex; gap: 18px; }

/* legal pages */
.legal { max-width: 760px; margin: 0 auto; padding: 50px 20px 80px; }
.legal h1 { font-size: 42px; margin-bottom: 8px; }
.legal h2 { font-size: 26px; margin: 34px 0 10px; }
.legal p, .legal li { color: var(--ink-2); }
.legal .back { display: inline-block; margin-bottom: 28px; font-weight: 600; }

/* ---------- motion ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .1, 1); }
.reveal.in { opacity: 1; transform: none; }
.convo .reveal:nth-child(3) { transition-delay: .15s; } .convo .reveal:nth-child(4) { transition-delay: .45s; } .convo .reveal:nth-child(5) { transition-delay: .75s; } .convo .reveal:nth-child(6) { transition-delay: 1.05s; } .convo .reveal:nth-child(7) { transition-delay: 1.35s; }
.steps .reveal:nth-child(2), .tiles .reveal:nth-child(3n+2) { transition-delay: .1s; } .steps .reveal:nth-child(3), .tiles .reveal:nth-child(3n) { transition-delay: .2s; }
@keyframes rise { from { transform: translateY(150px) scale(.9); opacity: .4; } to { transform: none; opacity: 1; } }
@keyframes starsfade { from { opacity: 1; } to { opacity: .55; } }
@keyframes twinkle { from { filter: brightness(.8); } to { filter: brightness(1.25); } }
@keyframes drift { from { transform: translateX(-30px); } to { transform: translateX(60px); } }
@keyframes up { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes float { 0%, 100% { transform: translateY(0) rotate(-1.5deg); } 50% { transform: translateY(-12px) rotate(-.5deg); } }
@keyframes ring { from { transform: scale(.8); opacity: .9; } to { transform: scale(1.9); opacity: 0; } }
@keyframes slidein { from { opacity: 0; transform: translateX(-30px) scale(.96); } to { opacity: 1; transform: none; } }
@keyframes nudge { 0%, 70%, 100% { transform: rotate(0); } 75% { transform: rotate(-2deg); } 80% { transform: rotate(2deg); } 85% { transform: rotate(-1deg); } }
@keyframes pulse { from { box-shadow: 0 0 0 0 rgba(63, 163, 77, .6); } to { box-shadow: 0 0 0 12px rgba(63, 163, 77, 0); } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
  .ring { display: none; }
}

/* ---------- small screens ---------- */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .hero-grid, .call-grid { grid-template-columns: 1fr; gap: 30px; }
  .hero-phone { min-height: 520px; }
  .steps, .tiles, .plans { grid-template-columns: 1fr; }
  main > section { padding: 64px 20px; }
  .sun { left: 30%; width: 340px; height: 340px; }
}
@media (max-width: 420px) {
  body { font-size: 17px; }
  .lede { font-size: 18px; }
  .incoming { left: 0; top: 6px; }
  .join-card { padding: 34px 22px; }
}
.brand span { white-space: nowrap; }
@media (max-width: 600px) {
  .cloud { opacity: .28; }
  .c1 { top: 6%; left: 58%; width: 120px; }
  .c2 { top: 52%; right: -30px; }
  .c3 { display: none; }
}
@media (max-width: 420px) {
  .brand { font-size: 17px; gap: 8px; }
  .brand img { width: 30px; height: 30px; }
  .nav .btn.small { min-height: 38px; padding: 0 14px; font-size: 14px; }
}
