/* Eosper home page. Morning sections are light, the closing section is the dark evening theme. */
:root {
  --paper: #FAFAF8; --mist: #F1F0EC; --graphite: #1C1C1E; --body: #4A4A4F; --slate: #6E6E73; --line: #E4E3DF; --sunrise: #FF6B2C;
  --forest: #1E2420; --stone: #E7E5E0; --stone-2: #9AA59D; --forest-line: #343C36; --sage: #8FA89A;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  margin: 0; background: var(--paper); color: var(--graphite);
  font: 17px/1.55 "Geist", -apple-system, BlinkMacSystemFont, "SF Pro Text", system-ui, sans-serif;
}
a { color: inherit; }
h1, h2, h3 { font-weight: 400; margin: 0; }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 40px; }
@media (max-width: 640px) { .wrap { padding: 0 20px; } }
.mono { font-family: "Geist Mono", ui-monospace, monospace; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--slate); }
.btn { display: inline-flex; align-items: center; text-decoration: none; font-weight: 500; font-size: 15px; line-height: 1; padding: 13px 18px; border-radius: 12px; background: var(--graphite); color: var(--paper); }
.fine { font-size: 14px; color: var(--slate); line-height: 1.45; }

/* Mark */
.mark .horizon { opacity: .22; }
.mark .sun { fill: var(--sunrise); }
.evening .mark .sun { fill: var(--sage); }

/* Header */
header { position: sticky; top: 0; z-index: 10; padding: 14px 0; background: rgba(250,250,248,.86); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; font-size: 22px; letter-spacing: -.01em; }
.brand svg { width: 42px; height: auto; }
nav { display: flex; align-items: center; gap: 28px; font-size: 15px; }
nav a:not(.btn) { text-decoration: none; color: var(--body); }
nav a:not(.btn):hover { color: var(--graphite); }
@media (max-width: 760px) { nav a:not(.btn) { display: none; } }

/* App Store badge */
.store { display: inline-flex; align-items: center; gap: 10px; padding: 10px 20px 10px 16px; border-radius: 12px; background: #000; color: #fff; text-decoration: none; line-height: 1.05; font-size: 22px; font-weight: 500; letter-spacing: -.01em; }
.store svg { width: 24px; height: 28px; }
.store small { display: block; font-size: 11px; font-weight: 400; letter-spacing: .01em; margin-bottom: 2px; }
.store.light { background: var(--stone); color: var(--forest); }

/* Phone screenshots */
.shot { display: block; width: 280px; height: auto; border: 7px solid #0F0F10; border-radius: 46px; background: var(--paper); box-shadow: 0 30px 60px -30px rgba(28,28,30,.35); }
.phones { display: flex; justify-content: center; }
@media (max-width: 520px) { .shot { width: min(270px, 76vw); } }

/* Hero */
.hero { display: grid; grid-template-columns: 1fr 280px; gap: 72px; align-items: center; padding-top: 64px; padding-bottom: 72px; }
.hero h1 { font-size: clamp(44px, 6vw, 76px); line-height: 1; letter-spacing: -.045em; margin: 22px 0 26px; max-width: 10.5em; }
.lede { font-size: 20px; color: var(--body); max-width: 30em; margin: 0 0 34px; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; }
@media (max-width: 860px) { .hero { grid-template-columns: 1fr; gap: 48px; padding-top: 36px; } .hero .shot { justify-self: center; } }

/* Works with */
.works { display: flex; flex-wrap: wrap; align-items: baseline; gap: 12px 28px; padding-top: 26px; padding-bottom: 26px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.works ul { display: flex; flex-wrap: wrap; gap: 8px 26px; list-style: none; margin: 0; padding: 0; color: var(--body); font-size: 16px; }

/* Problem line */
.problem { padding-top: 120px; padding-bottom: 20px; }
.problem h2 { font-size: clamp(30px, 4vw, 46px); line-height: 1.12; letter-spacing: -.03em; max-width: 21em; }

/* How it works */
.how { padding-top: 70px; padding-bottom: 40px; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-top: 26px; }
.steps > div { border-top: 1px solid var(--graphite); padding-top: 22px; }
.steps .time { color: var(--sunrise); letter-spacing: .06em; }
.steps h3 { font-size: 21px; letter-spacing: -.01em; margin: 14px 0 10px; }
.steps p { margin: 0; color: var(--body); font-size: 16px; }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; } }

/* Feature rows */
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; padding-top: 110px; padding-bottom: 10px; }
.feature h2 { font-size: clamp(34px, 4.2vw, 50px); line-height: 1.05; letter-spacing: -.03em; margin: 14px 0 20px; }
.feature p { color: var(--body); max-width: 30em; margin: 0 0 26px; }
@media (max-width: 860px) { .feature { grid-template-columns: 1fr; gap: 40px; padding-top: 90px; } .feature.flip .phones { order: 2; } }

.ticks { list-style: none; padding: 0; margin: 0; color: var(--body); }
.ticks li { padding: 10px 0 10px 20px; border-top: 1px solid var(--line); position: relative; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 19px; width: 7px; height: 7px; border-radius: 50%; background: var(--sunrise); }

/* Voices */
.voices { background: var(--mist); margin-top: 120px; padding: 100px 0; }
.voices h2 { font-size: clamp(34px, 4.2vw, 50px); line-height: 1.05; letter-spacing: -.03em; margin: 14px 0 18px; max-width: 14em; }
.voices p { color: var(--body); margin: 0 0 34px; max-width: 32em; }
.voice-list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.voice { display: flex; align-items: center; gap: 14px; width: 100%; padding: 18px; border: 1px solid var(--line); border-radius: 16px; background: var(--paper); color: var(--graphite); font: inherit; font-size: 16px; text-align: left; cursor: pointer; }
.voice:hover { border-color: #CFCEC9; }
.voice i { flex: none; width: 38px; height: 38px; border-radius: 50%; background: var(--graphite); position: relative; }
.voice i::after { content: ""; position: absolute; left: 15px; top: 12px; border-left: 11px solid var(--paper); border-top: 7px solid transparent; border-bottom: 7px solid transparent; }
.voice.playing i { background: var(--sunrise); }
.voice.playing i::after { left: 13px; top: 13px; width: 12px; height: 12px; border: 0; background: var(--paper); border-radius: 2px; }
@media (max-width: 860px) { .voice-list { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .voice-list { grid-template-columns: 1fr; } }

/* Pricing */
.pricing { padding-top: 120px; }
.pricing h2 { font-size: clamp(34px, 4.2vw, 50px); line-height: 1.05; letter-spacing: -.03em; margin: 14px 0 40px; max-width: 14em; }
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: start; }
.plan { border: 1px solid var(--line); border-radius: 20px; padding: 30px; }
.plan.plus { border-color: var(--graphite); }
.plan h3 { font-size: 20px; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.tag { font-family: "Geist Mono", ui-monospace, monospace; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; background: var(--sunrise); color: #fff; padding: 5px 9px; border-radius: 999px; }
.price { font-size: 44px; letter-spacing: -.03em; margin: 18px 0 2px; }
.price small { font-size: 17px; color: var(--slate); letter-spacing: 0; }
.plan .sub { color: var(--slate); font-size: 15px; }
.plan .ticks { margin-top: 22px; }
.pricing .fine { margin-top: 18px; }
@media (max-width: 760px) { .plans { grid-template-columns: 1fr; } .plan { padding: 24px; } }

/* FAQ */
.faq { padding-top: 120px; padding-bottom: 120px; max-width: 860px; margin: 0 auto; }
.faq .mono { margin-bottom: 18px; }
details { border-top: 1px solid var(--line); }
details:last-child { border-bottom: 1px solid var(--line); }
summary { cursor: pointer; list-style: none; padding: 20px 36px 20px 0; font-size: 19px; position: relative; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 4px; top: 16px; font-size: 24px; color: var(--slate); }
details[open] summary::after { content: "–"; }
details p { margin: 0 0 22px; color: var(--body); max-width: 40em; }

/* Closing (evening) */
.evening { background: var(--forest); color: var(--stone); }
.cta { padding-top: 110px; padding-bottom: 100px; }
.cta svg.mark { width: 90px; height: auto; color: var(--stone); }
.cta h2 { font-size: clamp(40px, 5.6vw, 72px); line-height: 1; letter-spacing: -.045em; margin: 26px 0 36px; max-width: 11em; }
footer { border-top: 1px solid var(--forest-line); padding: 26px 0 40px; font-size: 14px; color: var(--stone-2); }
footer .wrap { display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between; }
footer span { display: flex; flex-wrap: wrap; gap: 8px 20px; }
footer a { text-decoration: none; }
footer a:hover { color: var(--stone); }
