/* SmarterPhone landing page. Square corners everywhere (phone shells excepted), no animations. */

:root {
  --paper: #EDE8DC;
  --ink: #1B1A17;
  --body: #3A3832;
  --label: #55524A;
  --meta: #6B675D;
  --rule: #C9C3B4;
  --dash: #8A857A;

  --lcd: #ABB894;
  --lcd-ink: #1A2016;
  --lcd-muted: #363D2E;
  --lcd-faint: #3B4333;

  --dark-text: #EDE8DC;
  --dark-muted: #BDB8AB;
  --dark-rule: #3A3934;

  --shell: #24231F; /* Graphite. Alternatives: Bone #D9D3C4, Olive #3E4535 */

  --serif: 'Instrument Serif', Georgia, serif;
  --mono: 'IBM Plex Mono', ui-monospace, monospace;
  --pixel: 'Silkscreen', ui-monospace, monospace;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background-color: var(--paper);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='.07'/%3E%3C/svg%3E");
  color: var(--ink);
  font-family: var(--mono);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--ink); text-decoration: none; }
a:hover { color: var(--label); }
h1, h2, h3, p, figure, dl, dd, ul { margin: 0; }
img { display: block; }

.wrap { max-width: 1200px; margin: 0 auto; padding-left: 28px; padding-right: 28px; }
.spacer { flex: 1; }
.center { text-align: center; }

/* Type */
.display {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(60px, 10.5vw, 156px);
  line-height: 0.92;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
.h2-xl, .h2-lg, .h2-md {
  font-family: var(--serif);
  font-weight: 400;
  text-wrap: balance;
}
.h2-xl { font-size: clamp(44px, 6.5vw, 88px); line-height: 0.98; letter-spacing: -0.015em; }
.h2-lg { font-size: clamp(44px, 6vw, 84px); line-height: 1; }
.h2-md { font-size: clamp(44px, 5.5vw, 76px); line-height: 0.98; }

.label {
  font-family: var(--pixel);
  font-size: 12px;
  text-transform: uppercase;
  color: var(--label);
}
.label-ink { color: var(--lcd-ink); letter-spacing: 1px; }

.text-link { text-decoration: underline; text-underline-offset: 3px; }
.small { font-size: 13px; }

/* Buttons */
.btn {
  display: inline-block;
  background: var(--ink);
  color: var(--paper);
  padding: 15px 26px;
  font-family: var(--pixel);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.btn:hover { color: var(--label); }
.btn-sm { padding: 9px 16px; font-size: 12px; }
.btn-green { background: var(--lcd); color: var(--lcd-ink); }

.badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px 18px;
  font-family: var(--pixel);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--label);
}
.badges-dark { color: var(--dark-muted); }

/* Header */
.site-header {
  padding-top: 22px;
  padding-bottom: 22px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px 28px;
}
.wordmark { font-family: var(--pixel); font-size: 16px; letter-spacing: 0.5px; }
.nav { display: flex; flex-wrap: wrap; gap: 22px; font-size: 13px; }

/* Phone shells */
.shell { background: var(--shell); }

/* 1. Hero */
.hero {
  padding-top: 48px;
  padding-bottom: 88px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.lede { margin-top: 30px; max-width: 620px; font-size: 16px; color: var(--body); text-wrap: pretty; }
.hero .btn { margin-top: 32px; }
.hero .badges { margin-top: 18px; }
.hero .text-link { margin-top: 14px; }

.hero-row {
  margin-top: 64px;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px 56px;
}
.callouts { flex: 1 1 240px; max-width: 320px; display: flex; flex-direction: column; gap: 44px; }
.callouts-left { text-align: right; }
.callouts-right { text-align: left; }
.callout { display: flex; flex-direction: column; gap: 6px; }
.callout .label, .callout-text { display: block; }
.callout .label { font-family: var(--pixel); font-size: 12px; text-transform: uppercase; color: var(--label); }
.callout-text { font-family: var(--serif); font-size: 26px; line-height: 1.15; }

.hero-phone {
  flex: none;
  padding: 14px;
  border-radius: 44px;
  box-shadow: 0 40px 60px -30px rgba(27, 26, 23, 0.45);
}
.hero-screen {
  position: relative;
  width: 296px;
  height: 665px;
  border-radius: 30px;
  overflow: hidden;
}

/* Below 1040px of row width the six callouts move under the phone into one grid. */
@media (max-width: 1095px) {
  .hero-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
    gap: 32px 40px;
    max-width: 680px;
  }
  .callouts { display: contents; }
  .callouts-left, .callouts-right { text-align: left; }
  .hero-phone { grid-column: 1 / -1; justify-self: center; order: -1; margin-bottom: 24px; }
  .callout { border-top: 1px solid var(--rule); padding-top: 14px; }
  .callout-text { font-size: 24px; }
}

/* 1b. Three steps */
.steps { border-top: 2px solid var(--ink); border-bottom: 2px solid var(--ink); }
.steps-grid {
  padding-top: 44px;
  padding-bottom: 44px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: 32px 48px;
}
.step { display: flex; flex-direction: column; gap: 8px; }
.step-num { font-family: var(--pixel); font-size: 14px; }
.step-title { font-family: var(--serif); font-size: 28px; line-height: 1.1; }
.step-text { font-size: 14px; color: var(--body); }

/* 2. The problem */
.why-inner {
  max-width: 820px;
  margin: 0 auto;
  padding: 112px 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 28px;
}
.why-lead { font-family: var(--serif); font-size: clamp(21px, 2.2vw, 26px); line-height: 1.4; text-wrap: pretty; }
.why-pull { margin: 8px 0; font-family: var(--serif); font-style: italic; font-size: clamp(32px, 4vw, 48px); line-height: 1.1; text-wrap: balance; }
.why-body { max-width: 640px; font-size: 15px; color: var(--body); text-wrap: pretty; }
.why-body.strong { font-weight: 600; color: var(--ink); }

/* Dark sections */
.dark { background: var(--ink); color: var(--dark-text); }
.dark a { color: var(--dark-text); }

/* 3. How it works */
.how { padding-top: 104px; padding-bottom: 104px; display: flex; flex-direction: column; gap: 72px; }
.how-title { font-size: clamp(44px, 6vw, 84px); line-height: 0.98; max-width: 860px; }
.how-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 56px 48px; }
.how-item { display: flex; flex-direction: column; gap: 18px; }
.shell-how { align-self: flex-start; padding: 10px; background: var(--dark-rule); border-radius: 34px; }
.shell-how .slot { width: 220px; border-radius: 24px; }
.how-num { font-family: var(--pixel); font-size: 13px; color: var(--lcd); }
.how-head { font-family: var(--serif); font-weight: 400; font-size: 32px; line-height: 1.1; }
.how-text { font-size: 14px; color: var(--dark-muted); text-wrap: pretty; }

/* Screenshot slots: the label shows until a real image is dropped into images/. */
.slot {
  position: relative;
  aspect-ratio: 411 / 923;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  text-align: center;
  outline: 1px dashed rgba(189, 184, 171, 0.5);
  outline-offset: -10px;
}
.slot-label { font-size: 12px; color: var(--dark-muted); }
.slot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.slot-lcd { background: var(--lcd); outline-color: rgba(26, 32, 22, 0.4); }
.slot-lcd .slot-label { color: var(--lcd-muted); }

/* 4. The look */
.look { padding-top: 112px; padding-bottom: 112px; display: flex; flex-direction: column; gap: 56px; }
.look-top {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 400px), 1fr));
  gap: 40px 64px;
  align-items: start;
}
.look-intro { display: flex; flex-direction: column; gap: 22px; }
.look-intro p { max-width: 520px; color: var(--body); text-wrap: pretty; }
.look-list > div {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 16px;
  padding: 14px 0;
  border-top: 1px solid var(--rule);
}
.look-list > div:last-child { border-bottom: 1px solid var(--rule); }
.look-list dt { font-family: var(--pixel); font-size: 12px; text-transform: uppercase; color: var(--meta); padding-top: 2px; }
.look-list dd { font-size: 14px; }
.look-more { margin-top: 16px; font-family: var(--serif); font-style: italic; font-size: 22px; }
.look-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 32px 24px;
  justify-items: center;
}
.look-item { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.shell-look { padding: 9px; border-radius: 30px; }
.shell-look .slot { width: 180px; border-radius: 21px; }

/* 5. Comparison */
.rule-top { border-top: 2px solid var(--ink); }
.compare { padding-top: 112px; display: flex; flex-direction: column; gap: 44px; }
.table-scroll { overflow-x: auto; }
.compare-table {
  width: 100%;
  min-width: 760px;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 14px;
  text-align: left;
}
.compare-table th, .compare-table td { padding: 14px 16px; vertical-align: top; font-weight: 400; }
.compare-table thead th {
  font-family: var(--pixel);
  font-size: 12px;
  text-transform: uppercase;
  color: var(--label);
}
.compare-table thead td { width: 31%; }
.compare-table tbody th { padding-left: 0; border-top: 1px solid var(--rule); }
.compare-table tbody td { border-top: 1px solid var(--rule); color: var(--body); }
.compare-table .us {
  background: var(--lcd);
  color: var(--ink);
  border-left: 2px solid var(--ink);
  border-right: 2px solid var(--ink);
}
.compare-table thead .us { border-top: 2px solid var(--ink); color: var(--ink); }
.compare-table tbody td.us { border-top: 1px solid var(--lcd-ink); font-weight: 600; }
.compare-table tbody tr:last-child td.us { border-bottom: 2px solid var(--ink); }
.compare-note { text-align: center; font-family: var(--serif); font-size: 26px; line-height: 1.3; text-wrap: balance; }

/* 5b. On iPhone */
.iphone-wrap { padding-top: 72px; padding-bottom: 112px; }
.iphone {
  border: 2px solid var(--ink);
  padding: 36px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr));
  gap: 28px 56px;
}
.iphone-col { display: flex; flex-direction: column; gap: 14px; }
.iphone-col p { color: var(--body); text-wrap: pretty; }
.iphone-title { font-family: var(--serif); font-weight: 400; font-size: 44px; line-height: 1; }
.todo-box { border: 1px dashed var(--dash); padding: 18px; font-size: 13px; color: var(--meta); }
.disclosure { font-family: var(--serif); font-style: italic; font-size: 18px; color: var(--label) !important; }

/* 6. Founder note */
.founder { background: var(--lcd); border-top: 2px solid var(--ink); border-bottom: 2px solid var(--ink); }
.founder-inner {
  max-width: 760px;
  margin: 0 auto;
  padding: 112px 28px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.founder .h2-md { margin-bottom: 8px; font-size: clamp(44px, 5.5vw, 72px); line-height: 1; }
.founder p { font-family: var(--serif); font-size: 23px; line-height: 1.45; text-wrap: pretty; }
.founder .founder-pull { font-style: italic; font-size: 30px; line-height: 1.25; text-wrap: balance; }
.founder-sign { margin-top: 8px; font-family: var(--pixel); font-size: 13px; text-transform: uppercase; }

/* 7. Pricing */
.pricing { padding-top: 112px; padding-bottom: 112px; display: flex; flex-direction: column; align-items: center; gap: 48px; }
.plans { width: 100%; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 24px; }
.plan { border: 2px solid var(--ink); padding: 28px; }
.plan-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 18px; }
.plan-name { font-family: var(--pixel); font-size: 14px; text-transform: uppercase; }
.plan-price { font-family: var(--serif); font-size: 34px; }
.plan ul { list-style: none; padding: 0; }
.plan li { padding: 10px 0; border-top: 1px solid var(--rule); font-size: 14px; }
.plan-plus { background: var(--lcd); }
.plan-plus li { border-top-color: var(--lcd-ink); }

/* 8. FAQ */
.faq { max-width: 900px; margin: 0 auto; padding: 112px 28px; display: flex; flex-direction: column; gap: 40px; }
.faq-list { border-bottom: 2px solid var(--ink); }
.faq-list details { border-top: 2px solid var(--ink); }
.faq-list summary {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px 0;
  cursor: pointer;
  list-style: none;
  font-family: var(--serif);
  font-size: 26px;
  line-height: 1.2;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "+";
  margin-left: auto;
  flex: none;
  width: 20px;
  text-align: center;
  font-family: var(--pixel);
  font-size: 18px;
}
.faq-list details[open] summary::after { content: "–"; }
.faq-list details p { padding: 0 48px 24px 0; font-size: 15px; color: var(--body); text-wrap: pretty; }

/* 9. Final CTA + 10. Footer */
.final {
  padding-top: 120px;
  padding-bottom: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 26px;
}
.final-title { font-size: clamp(56px, 9vw, 132px); }
.final-text { max-width: 520px; color: var(--dark-muted); text-wrap: pretty; }
.final .btn-green, .dark .btn-green { color: var(--lcd-ink); }
.final .btn-green:hover { color: var(--label); }
.footer {
  margin-top: 96px;
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 24px;
  border-top: 1px solid var(--dark-rule);
  padding-top: 22px;
  font-size: 12px;
  color: var(--dark-muted);
}
.footer .wordmark { font-size: 14px; color: var(--dark-text); }

/* ---------- The live Home screen in the hero (411×923, shown at 0.72) ---------- */

.lcd {
  --ink: #1A2016;
  position: absolute;
  left: 0;
  top: 0;
  width: 411px;
  height: 923px;
  transform: scale(0.72);
  transform-origin: 0 0;
  padding: 52px 18px 16px;
  background: var(--lcd);
  color: var(--lcd-ink);
  font-family: var(--mono);
  font-size: 15px;
  line-height: 1.4;
  display: flex;
  flex-direction: column;
  gap: 10px;
  overflow: hidden;
  text-align: left;
  font-variant-numeric: tabular-nums;
  user-select: none;
  -webkit-user-select: none;
}
.lcd .px-label { font-family: var(--pixel); font-size: 12px; line-height: 16px; text-transform: uppercase; color: var(--lcd-muted); }
.lcd-header { display: flex; align-items: flex-end; }
.lcd-date { background: var(--lcd-ink); color: var(--lcd); padding: 4px 12px; font-size: 17px; line-height: 23px; font-weight: 600; }
.lcd-temp { margin-left: auto; padding: 0 14px 4px 0; font-size: 16px; line-height: 20px; font-weight: 600; }
.lcd-rule { height: 2px; background: var(--lcd-ink); }

.lcd-slots { display: flex; border: 2px solid var(--lcd-ink); }
.lcd-slot {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 6px 0;
  cursor: pointer;
}
.lcd-slot + .lcd-slot { background-image: repeating-linear-gradient(180deg, var(--lcd-ink) 0 2px, transparent 2px 4px); background-size: 2px 100%; background-repeat: no-repeat; }
.lcd-slot .px-label { white-space: nowrap; }
.lcd-slot-value { font-size: 16px; line-height: 21px; font-weight: 600; white-space: nowrap; }
.lcd-dots { display: flex; gap: 4px; margin-top: 3px; }
.lcd-dots span { width: 4px; height: 4px; background: var(--lcd-faint); }
.lcd-dots span.on { background: var(--lcd-ink); }

.lcd-day { border: 2px solid var(--lcd-ink); padding: 6px 12px; display: flex; flex-direction: column; }
.lcd-day-head { display: flex; align-items: center; height: 20px; }
.lcd-day-head .px-label { flex: 1; }
.lcd-day-head .meta { font-size: 13px; color: var(--lcd-muted); }
.lcd-row { display: flex; align-items: center; height: 32px; }
.lcd-time { width: 56px; flex: none; font-size: 13px; color: var(--lcd-muted); }
.lcd-title { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 15px; }
.lcd-more { margin-left: 8px; font-size: 13px; color: var(--lcd-faint); }
.lcd-dotted { height: 2px; margin: 4px 0; background-image: repeating-linear-gradient(90deg, var(--lcd-ink) 0 2px, transparent 2px 4px); }
.lcd-habit { cursor: pointer; }
.lcd-check { width: 56px; flex: none; display: flex; align-items: center; }
.lcd-box { position: relative; width: 14px; height: 14px; border: 2px solid var(--lcd-ink); }
.lcd-habit.done .lcd-box::after {
  content: "";
  position: absolute;
  left: 3px;
  top: -1px;
  width: 3px;
  height: 7px;
  border: solid var(--lcd-ink);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.lcd-habit.done .lcd-title { color: var(--lcd-muted); text-decoration: line-through; text-decoration-thickness: 2px; }

.lcd-apps {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-content: space-evenly;
  row-gap: 8px;
}
.lcd-app { display: flex; flex-direction: column; align-items: center; gap: 8px; min-width: 0; }
.lcd-icon { position: relative; display: inline-block; width: 48px; height: 48px; }
.lcd-icon > span { position: absolute; left: -4px; top: -4px; width: 4px; height: 4px; }
.lcd-app-name { font-size: 12px; line-height: 16px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }

.lcd-keys { display: flex; flex-direction: column; padding-top: 6px; }
.lcd-keys-row { display: flex; align-items: center; }
.lcd-softkey { flex: 1; display: flex; flex-direction: column; gap: 6px; padding: 12px 0 8px; }
.lcd-softkey.left { align-items: flex-start; }
.lcd-softkey.right { align-items: flex-end; }
.lcd-softkey .px-label { color: var(--lcd-ink); }
.lcd-softkey .bar { width: 64px; height: 6px; background: var(--lcd-ink); }
.lcd-audio { display: flex; gap: 6px; align-items: center; padding-top: 6px; }
.lcd-audio button {
  all: unset;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.lcd-glyph { position: relative; height: 21px; }
.lcd-glyph > span { position: absolute; left: -3px; top: -3px; width: 3px; height: 3px; }

.lcd-status {
  position: absolute;
  left: 26px;
  right: 26px;
  top: 14px;
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: Roboto, system-ui, sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: #1C1B1F;
}
.lcd-status .bars { display: inline-flex; align-items: flex-end; gap: 2px; height: 13px; }
.lcd-status .bars span { width: 3px; background: #1C1B1F; border-radius: 1px; }
.lcd-status .battery { width: 10px; height: 16px; border-radius: 2px; background: linear-gradient(0deg, #1C1B1F 80%, rgba(28, 27, 31, 0.3) 80%); }
.lcd-camera { position: absolute; left: 50%; top: 13px; width: 20px; height: 20px; margin-left: -10px; border-radius: 50%; background: #0B0B0C; }
.lcd-glass {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    repeating-linear-gradient(0deg, rgba(171, 184, 148, 0.16) 0 1px, transparent 1px 3px),
    repeating-linear-gradient(90deg, rgba(171, 184, 148, 0.16) 0 1px, transparent 1px 3px),
    linear-gradient(180deg, rgba(26, 32, 22, 0.10), transparent 12px),
    linear-gradient(90deg, rgba(26, 32, 22, 0.10), transparent 12px);
}

/* Phones: the comparison drops "Your phone today" so the SmarterPhone column stays on screen
   without scrolling, and the four look screenshots sit two by two. */
@media (max-width: 640px) {
  .compare-table { min-width: 0; font-size: 13px; }
  .compare-table th, .compare-table td { padding: 12px 10px; }
  .compare-table tr > :nth-child(2) { display: none; }
  .compare-table thead td { width: 34%; }
  .look-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 16px; }
  .look-item { width: 100%; }
  .shell-look { width: 100%; padding: 7px; border-radius: 24px; }
  .shell-look .slot { width: 100%; border-radius: 17px; }
}
