:root {
  --paper: #fffefd;
  --ink: #272622;
  --muted: #66645f;
  --line: #e4e2dd;
  --orange: #f25332;
  --orange-ink: #291a13;
  --lime: #e3ef9b;
  --blue: #dceafb;
  --peach: #ffdec9;
  --font: "Instrument Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.5;
  text-rendering: optimizeLegibility;
}

button, textarea { font: inherit; }
a { color: inherit; }
button, a { touch-action: manipulation; }
[hidden] { display: none !important; }

.skip-link {
  position: fixed;
  left: 12px;
  top: -60px;
  z-index: 100;
  padding: 10px 14px;
  border-radius: 6px;
  color: white;
  background: var(--ink);
  transition: top .15s ease;
}
.skip-link:focus { top: 12px; }

.page-shell {
  width: min(1120px, calc(100% - 64px));
  margin: 0 auto;
}

.site-header {
  height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-size: 21px;
  font-weight: 600;
  letter-spacing: -.65px;
  text-decoration: none;
  white-space: nowrap;
}
.brand img { display: block; border-radius: 9px; }

.site-header nav { display: flex; align-items: center; gap: 30px; }
.site-header nav > a { font-size: 13px; font-weight: 500; text-decoration: none; }
.how-link:hover { text-decoration: underline; text-underline-offset: 5px; }

.header-install {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 8px 13px;
  border: 1px solid #d7d5d0;
  border-radius: 7px;
  transition: transform .16s ease, border-color .16s ease;
}
.header-install:hover { border-color: #aaa69e; transform: translateY(-1px); }

.hero {
  max-width: 760px;
  margin: 0 auto;
  padding: 78px 0 47px;
  text-align: center;
}

.eyebrow {
  margin: 0 0 17px;
  color: #706c65;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .02em;
}

h1, h2, h3, p { text-wrap: pretty; }
h1 {
  margin: 0;
  font-size: clamp(52px, 7.4vw, 84px);
  line-height: 1;
  font-weight: 500;
  letter-spacing: -.055em;
}

.hero-copy {
  max-width: 530px;
  margin: 22px auto 25px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 24px;
}

.install-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 13px 19px;
  border: 1px solid transparent;
  border-radius: 7px;
  color: var(--orange-ink);
  background: var(--orange);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 10px 26px -20px #8d2c17;
  transition: transform .16s ease, filter .16s ease;
}
.install-button:hover { filter: brightness(.95); transform: translateY(-1px); }

.demo-link {
  min-height: 44px;
  padding: 10px 0;
  border: 0;
  color: var(--ink);
  background: transparent;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
}
.demo-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.demo-link span { margin-right: 4px; font-size: 10px; }

.reassurance { margin: 17px 0 0; color: var(--muted); font-size: 11px; }

.demo-section { padding: 0 0 64px; scroll-margin-top: 16px; }
.demo-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 11px;
  padding: 0 2px;
}
.demo-heading h2 { margin: 0; font-size: 12px; font-weight: 500; letter-spacing: 0; }
.playback { display: flex; align-items: center; gap: 4px; }
.playback button {
  min-height: 36px;
  padding: 7px 9px;
  border: 0;
  color: var(--muted);
  background: transparent;
  font-size: 11px;
  cursor: pointer;
}
.playback button:first-child { color: #a53b25; font-weight: 600; }
.playback button:hover { text-decoration: underline; text-underline-offset: 3px; }

.chrome-window {
  position: relative;
  overflow: hidden;
  border: 1px solid #c8ccd1;
  border-radius: 12px;
  background: white;
  box-shadow: 0 24px 48px -32px rgba(58, 48, 42, .35);
  font-family: Arial, sans-serif;
}

.chrome-tabs {
  height: 43px;
  display: flex;
  align-items: flex-end;
  gap: 5px;
  overflow: hidden;
  padding: 7px 9px 0;
  background: #dee1e6;
}

.traffic-lights { display: flex; gap: 5px; align-items: center; padding: 0 8px 10px 2px; }
.traffic-lights span { width: 9px; height: 9px; border-radius: 50%; background: #28c840; }
.traffic-lights span:first-child { background: #ff5f57; }
.traffic-lights span:nth-child(2) { background: #febc2e; }

.pinned-tabs { height: 33px; display: flex; align-items: center; gap: 3px; padding: 0 5px 4px 0; }
.pinned-tabs b { width: 26px; height: 29px; display: grid; place-items: center; border-radius: 7px 7px 0 0; font-size: 13px; }
.gmail-pin { color: #d14836; }
.calendar-pin { color: #4285f4; background: white; }

.tab-list { min-width: 0; height: 35px; display: flex; flex: 1; align-items: stretch; overflow: hidden; }
.browser-tab {
  min-width: 0;
  height: 30px;
  flex: 1;
  display: flex;
  align-items: center;
  gap: 7px;
  margin-top: 3px;
  padding: 5px 6px;
  overflow: hidden;
  border-right: 1px solid #bfc4cc;
  color: #495057;
  background: transparent;
}
.tab-title { min-width: 0; overflow: hidden; font-size: 10px; white-space: nowrap; }
.favicon, .site-icon {
  width: 13px;
  height: 13px;
  flex: 0 0 13px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 2px;
  color: white;
  font-size: 9px;
  font-weight: 600;
  line-height: 1;
}
.youtube-icon { background: #f52525; border-radius: 4px; font-size: 8px; }
.coursera-icon { background: #155ed3; }
.reuters-icon { background: #e67425; border-radius: 50%; }
.bbc-icon, .medium-icon { background: #222; }
.new-tab, .tab-search { width: 22px; flex-shrink: 0; align-self: center; padding-bottom: 7px; color: #535960; font-size: 20px; line-height: 1; text-align: center; }
.tab-search { height: 25px; margin: 1px 0 0 3px; padding: 0; align-self: flex-start; border-radius: 7px; background: #e9ecf0; font-size: 16px; line-height: 20px; }

.chrome-toolbar {
  height: 44px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 5px 12px;
  border-bottom: 1px solid #e4e5e8;
  color: #5f6368;
  background: white;
}
.browser-navigation { display: flex; align-items: center; gap: 13px; }
.browser-navigation b { font-size: 15px; font-weight: 400; }
.address-bar {
  min-width: 0;
  height: 30px;
  flex: 1;
  display: flex;
  align-items: center;
  gap: 9px;
  overflow: hidden;
  padding: 5px 10px;
  border-radius: 18px;
  color: #62666c;
  background: #f0f2f5;
  font-size: 11px;
  white-space: nowrap;
}
.address-bar span:nth-child(2) { flex: 1; overflow: hidden; text-overflow: ellipsis; }
.address-bar b { font-size: 15px; font-weight: 400; }
.extension-button {
  position: relative;
  width: 32px;
  height: 31px;
  display: grid;
  flex-shrink: 0;
  place-items: center;
  padding: 4px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  cursor: pointer;
}
.extension-button img { display: block; border-radius: 5px; }
.extension-button:hover, .extension-button[aria-expanded="true"] { background: #ffebde; }
.puzzle { font-size: 18px; transform: rotate(180deg); }
.profile { width: 24px; height: 24px; display: grid; flex-shrink: 0; place-items: center; border-radius: 50%; background: #e3e7eb; font-size: 10px; }

.chrome-workspace { height: 514px; min-height: 514px; display: grid; grid-template-columns: minmax(0, 1fr); background: white; }
.chrome-window:not([data-phase="before"]) .chrome-workspace { grid-template-columns: minmax(0, 1fr) 326px; }
.new-tab-page { position: relative; min-width: 0; overflow: hidden; background: white; }
.google-links { display: flex; align-items: center; justify-content: flex-end; gap: 17px; padding: 19px 20px; color: #393c40; font-size: 11px; }
.google-links b { font-size: 17px; }
.chrome-hint { position: absolute; z-index: 6; top: 93px; right: 40px; display: flex; align-items: center; gap: 8px; padding: 8px 11px; border: 1px solid #f0d8be; border-radius: 6px; color: #a94427; background: #fff4e8; box-shadow: 0 8px 20px -14px rgba(90, 47, 28, .55); font-family: var(--font); font-size: 12px; }
.chrome-hint::before { content: ""; position: absolute; top: -6px; right: 61px; width: 10px; height: 10px; border-left: 1px solid #f0d8be; border-top: 1px solid #f0d8be; background: #fff4e8; transform: rotate(45deg); }
.google-center { width: min(440px, calc(100% - 54px)); margin: 76px auto 0; text-align: center; }
.google-word { display: flex; justify-content: center; margin: 0 0 25px; padding-right: 5px; font-size: 76px; font-weight: 500; letter-spacing: -5px; line-height: 1.2; }
.google-word span { color: #4285f4; }
.google-word span:nth-child(2), .google-word span:nth-child(6) { color: #ea4335; }
.google-word span:nth-child(3) { color: #fbbc05; }
.google-word span:nth-child(5) { color: #34a853; }
.google-search { height: 43px; display: flex; align-items: center; gap: 12px; padding: 0 16px; border: 1px solid #e1e3e6; border-radius: 24px; color: #737980; background: white; box-shadow: 0 2px 7px rgba(60,64,67,.09); font-size: 12px; text-align: left; }
.google-search span:nth-child(2) { flex: 1; }
.google-search b { color: #4285f4; }
.shortcuts { display: flex; justify-content: center; gap: 25px; margin-top: 24px; }
.shortcuts > div { display: flex; flex-direction: column; align-items: center; gap: 10px; color: #4a4d52; font-size: 10px; white-space: nowrap; }
.shortcut { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; background: #f0f3f6; font-size: 19px; font-weight: 600; }
.shortcut.youtube { color: #f02e24; font-size: 15px; }
.shortcut.coursera { color: #1d5cd4; }
.shortcut.reuters { color: #e67829; }
.shortcut.add { color: #3e5c88; background: #e8effb; font-weight: 400; }
.customize { position: absolute; right: 15px; bottom: 15px; padding: 8px 13px; border-radius: 20px; color: #2e4c77; background: #dfeafb; box-shadow: 0 1px 3px rgba(32,48,64,.08); font-size: 10px; }

.tidy-sidebar {
  min-width: 0;
  min-height: 0;
  display: flex;
  flex-direction: column;
  border-left: 1px solid #dfe1e5;
  background: #fffdfa;
  font-family: var(--font);
  animation: panel-in .32s ease-out;
}
.sidebar-header { min-height: 49px; display: flex; align-items: center; justify-content: space-between; padding: 12px 13px; border-bottom: 1px solid #eef0e8; font-size: 12px; }
.sidebar-header > span { display: flex; align-items: center; gap: 7px; font-weight: 600; }
.sidebar-header img { border-radius: 6px; }
.sidebar-header b { color: #777; font-size: 18px; font-weight: 400; }
.plan-area { flex: 1; padding: 12px 13px 0; }
.plan-meta { display: flex; align-items: center; justify-content: space-between; margin-bottom: 5px; color: #77816c; font-size: 10px; letter-spacing: .07em; }
.plan-meta span:last-child { color: #7d8476; letter-spacing: 0; }
.plan-area h3 { margin: 0 0 11px; font-size: 16px; font-weight: 500; letter-spacing: -.3px; }
.plan-group { overflow: hidden; margin-bottom: 6px; border: 1px solid #e0e3d9; border-radius: 5px; background: white; animation: group-in .28s ease-out both; }
.plan-group-header { display: flex; align-items: center; justify-content: space-between; padding: 7px 9px; color: #515a48; background: #f1f2ed; font-size: 11px; font-weight: 500; }
.plan-group-header > span:first-child { display: flex; align-items: center; gap: 8px; }
.plan-group-header span:last-child { font-size: 10px; }
.plan-group-body { display: flex; align-items: center; gap: 6px; padding: 6px 9px; color: #637053; font-size: 10px; line-height: 1.2; }
.plan-group.learning { border-color: #dfe7b9; }
.plan-group.learning .plan-group-header { color: #405126; background: #e7f0c2; }
.plan-group.news { border-color: #d9e6ed; }
.plan-group.news .plan-group-header { color: #365f88; background: #e2edf9; }
.plan-group.reading { border-color: #eedfd6; }
.plan-group.reading .plan-group-header { color: #885237; background: #ffe3cf; }
.refine-area { margin-top: 10px; }
.refine-label { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 6px; font-size: 11px; font-weight: 500; }
.refine-label button { padding: 0; border: 0; color: #b04426; background: none; font-size: 10px; cursor: pointer; }
#refine-prompt { width: 100%; height: 54px; display: block; resize: none; padding: 8px 9px; border: 1px solid #dce1d4; border-radius: 6px; color: #444c3b; background: white; font: 11px/1.5 var(--font); }
#refine-prompt::placeholder { color: #8a8c80; opacity: 1; }
#refine-prompt.filled { border-color: #dd9a7b; background: #fff9f2; }
#update-plan { width: 100%; min-height: 30px; display: flex; align-items: center; justify-content: space-between; margin-top: 7px; padding: 7px 9px; border: 0; border-radius: 5px; color: #a14123; background: #fff0e2; font-size: 11px; cursor: pointer; }
.panel-status { min-height: 35px; display: flex; align-items: center; gap: 6px; margin-top: 17px; padding: 11px 9px; border: 1px solid #dfe7d1; border-radius: 5px; color: #4d6837; background: #eef3e6; font-size: 11px; line-height: 1.5; }
.sidebar-footer { flex-shrink: 0; padding: 9px 13px 12px; }
.sidebar-footer > span { display: block; margin-bottom: 7px; color: #758065; font-size: 10px; text-align: center; }
#apply-plan { width: 100%; min-height: 36px; padding: 8px 10px; border: 0; border-radius: 5px; color: var(--orange-ink); background: var(--orange); font-size: 12px; font-weight: 600; cursor: pointer; }
#apply-plan:disabled { color: #506330; background: #e6eec9; cursor: default; }

.tab-list.organized { align-items: center; gap: 7px; padding-bottom: 5px; }
.group-tag { display: inline-flex; align-items: center; gap: 7px; flex-shrink: 0; padding: 0 9px; border-radius: 5px; color: #41551f; background: #dcea9d; font-size: 11px; line-height: 24px; white-space: nowrap; animation: group-in .38s ease-out both; }
.group-tag.blue { color: #3d607e; background: #deebf4; animation-delay: .07s; }
.group-tag.peach { color: #864631; background: #ffd4be; animation-delay: .14s; }
.group-tag b { font-size: 10px; font-weight: 400; opacity: .75; }
.tab-list.previewing .group-tag { border: 1px dashed currentColor; background: rgba(220, 234, 157, .34); line-height: 22px; }
.tab-list.previewing .group-tag.blue { background: rgba(222, 235, 244, .4); }
.tab-list.previewing .group-tag.peach { background: rgba(255, 212, 190, .4); }

.step-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 25px; }
.step { min-width: 0; min-height: 79px; padding: 14px 16px 0 0; border: 0; border-top: 2px solid #e2e5da; color: var(--muted); background: transparent; text-align: left; cursor: pointer; }
.step strong { display: block; margin-bottom: 4px; color: var(--ink); font-size: 14px; font-weight: 500; }
.step strong span { margin-right: 7px; color: #7f8775; font-size: 11px; font-weight: 400; }
.step small { display: block; font-size: 11px; line-height: 1.5; }
.step[aria-pressed="true"] { border-top-color: var(--orange); }
.step[aria-pressed="true"] strong, .step[aria-pressed="true"] strong span { color: #b83d22; }
.step:hover strong { text-decoration: underline; text-underline-offset: 3px; }
.demo-caption { min-height: 18px; margin: 24px 0 0; color: #71706b; font-size: 11px; text-align: center; }
.demo-note { margin: 7px 0 0; color: #76726b; font-size: 10px; text-align: center; }

.memory-section, .faq-section { display: grid; grid-template-columns: 1fr 1.05fr; align-items: center; gap: 72px; padding: 62px 0; border-top: 1px solid var(--line); }
.section-label { margin: 0 0 14px !important; color: #706c65 !important; font-size: 11px !important; font-weight: 500; }
.section-copy h2 { margin: 0; font-size: 42px; line-height: 1.1; font-weight: 500; letter-spacing: -.04em; }
.section-copy > p { max-width: 340px; margin: 17px 0 0; color: var(--muted); font-size: 13px; line-height: 1.75; }
.local-note { display: flex; align-items: center; gap: 7px; font-size: 11px !important; }

.memory-example { padding: 29px 31px; border: 1px solid var(--line); border-radius: 9px; background: white; }
.memory-moment { position: relative; padding-left: 20px; border-left: 1px solid #ddd9d1; }
.memory-moment::before { content: ""; position: absolute; left: -4px; top: 5px; width: 7px; height: 7px; border-radius: 50%; background: var(--orange); }
.memory-moment:first-child { padding-bottom: 26px; }
.memory-moment > span { display: block; margin-bottom: 6px; color: #726d65; font-size: 11px; }
.memory-moment strong { font-size: 16px; font-weight: 500; letter-spacing: -.25px; }
.memory-moment p { margin: 8px 0 0; color: #6d685f; font-size: 10px; line-height: 1.6; }
.memory-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.memory-chips i { padding: 4px 7px; border-radius: 4px; color: #43591e; background: #dce99f; font-size: 11px; font-style: normal; }
.memory-chips i:nth-child(2) { color: #385e84; background: #d9e7f9; }
.memory-chips i:nth-child(3) { color: #874a28; background: #ffd9c0; }

.faq-section { align-items: start; }
.faq-list details { padding: 16px 0; border-bottom: 1px solid var(--line); }
.faq-list details:first-child { padding-top: 0; }
.faq-list summary { min-height: 29px; display: flex; align-items: center; justify-content: space-between; gap: 12px; list-style: none; font-size: 14px; font-weight: 500; cursor: pointer; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; color: #7d8573; font-size: 19px; font-weight: 400; }
.faq-list details[open] summary::after { content: "−"; }
.faq-list details p { margin: 0; padding: 9px 28px 2px 0; color: var(--muted); font-size: 12px; line-height: 1.8; }
.faq-list details a { text-underline-offset: 3px; }

.closing { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 42px 0; border-top: 1px solid var(--line); }
.closing h2 { margin: 0; font-size: 32px; line-height: 1.15; font-weight: 500; letter-spacing: -.03em; }
.closing p { margin: 9px 0 0; color: var(--muted); font-size: 12px; }

footer { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 26px 0 30px; border-top: 1px solid var(--line); color: #77716a; font-size: 11px; }
footer p { margin: 0; }
footer a { text-decoration: none; }
footer a:hover { text-decoration: underline; text-underline-offset: 3px; }
footer nav { display: flex; gap: 22px; }

button:focus-visible, a:focus-visible, summary:focus-visible { outline: 3px solid rgba(242, 83, 50, .35); outline-offset: 3px; }

.refine-label button, #update-plan, #apply-plan { position: relative; overflow: visible; }
.extension-button::after,
#try-example::after,
#update-plan::after,
#apply-plan::after {
  content: "";
  position: absolute;
  z-index: 12;
  width: 23px;
  height: 29px;
  pointer-events: none;
  opacity: 0;
  background: center / contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 30'%3E%3Cpath d='M2 2v21l5.2-5.1 3.8 9.4 4.1-1.8-3.9-9.1h7.5L2 2Z' fill='white' stroke='%23272622' stroke-width='1.8' stroke-linejoin='round'/%3E%3C/svg%3E");
  filter: drop-shadow(0 2px 2px rgba(0, 0, 0, .16));
}
.extension-button::before,
#try-example::before,
#update-plan::before,
#apply-plan::before {
  content: "";
  position: absolute;
  z-index: 11;
  width: 26px;
  height: 26px;
  border: 2px solid rgba(242, 83, 50, .46);
  border-radius: 50%;
  pointer-events: none;
  opacity: 0;
}
.chrome-window[data-phase="before"] .extension-button::after { left: 12px; top: 17px; animation: cursor-click 2.2s ease-in-out both; }
.chrome-window[data-phase="before"] .extension-button::before { left: 2px; top: 2px; animation: click-ring 2.2s ease-in-out both; }
.chrome-window[data-phase="tidy"] #try-example::after { right: -10px; top: 13px; animation: cursor-click 3.1s .1s ease-in-out both; }
.chrome-window[data-phase="tidy"] #try-example::before { right: -3px; top: -6px; animation: click-ring 3.1s .1s ease-in-out both; }
.chrome-window[data-phase="refine"] #update-plan::after { right: 40px; top: 19px; animation: cursor-click 2.35s ease-in-out both; }
.chrome-window[data-phase="refine"] #update-plan::before { right: 45px; top: 2px; animation: click-ring 2.35s ease-in-out both; }
.chrome-window[data-phase="refined"] #apply-plan::after { right: 42%; top: 22px; animation: cursor-click 2.75s ease-in-out both; }
.chrome-window[data-phase="refined"] #apply-plan::before { right: calc(42% - 5px); top: 5px; animation: click-ring 2.75s ease-in-out both; }

@keyframes panel-in { from { opacity: .5; transform: translateX(18px); } to { opacity: 1; transform: translateX(0); } }
@keyframes group-in { from { opacity: .4; transform: translateX(12px); } to { opacity: 1; transform: translateX(0); } }
@keyframes cursor-click {
  0%, 18% { opacity: 0; transform: translate(42px, 48px); }
  32% { opacity: 1; }
  62% { opacity: 1; transform: translate(0, 0) scale(1); }
  70% { opacity: 1; transform: translate(0, 0) scale(.82); }
  78%, 100% { opacity: 1; transform: translate(0, 0) scale(1); }
}
@keyframes click-ring {
  0%, 62% { opacity: 0; transform: scale(.45); }
  70% { opacity: 1; transform: scale(.72); }
  88%, 100% { opacity: 0; transform: scale(1.35); }
}

@media (max-width: 780px) {
  .page-shell { width: min(100% - 38px, 680px); }
  .site-header { height: 74px; }
  .hero { padding: 58px 0 38px; }
  h1 { font-size: clamp(50px, 11vw, 72px); }
  .hero-copy { max-width: 480px; font-size: 16px; }
  .chrome-window:not([data-phase="before"]) .chrome-workspace { grid-template-columns: minmax(0, 1fr) 302px; }
  .google-center { width: calc(100% - 30px); }
  .google-word { font-size: 60px; letter-spacing: -4px; }
  .shortcuts { gap: 12px; }
  .shortcuts > div:last-child { display: none; }
  .memory-section, .faq-section { grid-template-columns: 1fr 1.1fr; gap: 34px; padding: 48px 0; }
  .section-copy h2 { font-size: 35px; }
  .memory-example { padding: 25px 22px; }
}

@media (max-width: 560px) {
  .page-shell { width: calc(100% - 30px); }
  .brand { gap: 8px; font-size: 19px; }
  .brand img { width: 28px; height: 28px; }
  .site-header nav { gap: 10px; }
  .how-link { display: none; }
  .header-install { min-height: 38px; padding: 8px 10px; font-size: 11px !important; }
  .hero { padding: 46px 0 32px; }
  h1 { font-size: 48px; letter-spacing: -.05em; }
  .hero-copy { max-width: 330px; font-size: 15px; }
  .hero-actions { gap: 18px; }
  .install-button { min-height: 46px; padding: 12px 15px; font-size: 13px; }
  .reassurance { max-width: 280px; margin: 16px auto 0; line-height: 1.6; }
  .demo-heading { align-items: center; }
  .demo-heading h2 { max-width: 160px; font-size: 11px; }
  .playback { gap: 0; }
  .playback button { min-height: 40px; padding: 8px 5px; font-size: 10px; }
  .chrome-tabs { height: 38px; gap: 3px; padding: 5px 5px 0; }
  .traffic-lights { display: none; }
  .pinned-tabs { gap: 1px; padding-right: 0; }
  .pinned-tabs b { width: 19px; font-size: 11px; }
  .browser-tab { height: 26px; padding: 7px 2px; justify-content: center; }
  .tab-title { display: none; }
  .favicon { width: 10px; height: 10px; flex-basis: 10px; font-size: 7px; }
  .new-tab { width: 14px; font-size: 17px; }
  .tab-search { display: none; }
  .chrome-toolbar { height: 41px; gap: 6px; padding: 4px 7px; }
  .browser-navigation { gap: 8px; }
  .browser-navigation b:nth-child(2) { display: none; }
  .address-bar { padding: 4px 8px; gap: 5px; font-size: 9px; }
  .address-bar > span:first-child, .profile { display: none; }
  .puzzle { font-size: 15px; }
  .chrome-workspace, .chrome-window:not([data-phase="before"]) .chrome-workspace { height: 534px; min-height: 534px; grid-template-columns: minmax(0, 1fr); }
  .chrome-window:not([data-phase="before"]) .new-tab-page { display: none; }
  .google-center { width: calc(100% - 34px); margin-top: 110px; }
  .google-word { font-size: 58px; letter-spacing: -3px; }
  .google-links { padding: 16px 15px; font-size: 10px; }
  .google-search { height: 39px; }
  .chrome-hint { top: 86px; right: 14px; font-size: 11px; }
  .chrome-hint::before { right: 38px; }
  .tidy-sidebar { border-left: 0; }
  .plan-area { padding: 15px 16px 0; }
  .plan-area h3 { font-size: 17px; }
  .plan-meta, .plan-meta span:last-child { font-size: 10px; }
  .plan-group-header { padding: 7px 10px; font-size: 12px; }
  .plan-group-header span:last-child, .plan-group-body { font-size: 11px; }
  .plan-group-body { padding: 6px 10px; }
  #refine-prompt { height: 55px; font-size: 12px; }
  .refine-label button { font-size: 11px; }
  .sidebar-footer { padding: 10px 16px 16px; }
  #apply-plan { min-height: 40px; }
  .group-tag { gap: 3px; padding: 0 5px; font-size: 9px; line-height: 23px; }
  .group-tag b { display: none; }
  .tab-list.organized { gap: 3px; }
  .step-row { margin-top: 21px; }
  .step { min-height: 102px; padding: 11px 8px 0 0; }
  .step strong { font-size: 13px; }
  .step strong span { margin-right: 4px; font-size: 10px; }
  .step small { font-size: 11px; }
  .demo-caption { min-height: 53px; margin-top: 20px; line-height: 1.6; }
  .demo-note { font-size: 9px; }
  .memory-section, .faq-section { grid-template-columns: 1fr; gap: 28px; padding: 38px 0; }
  .section-copy h2 { font-size: 34px; }
  .section-copy > p { max-width: 100%; }
  .memory-example { padding: 25px 23px; }
  .faq-list summary { min-height: 33px; font-size: 13px; }
  .closing { flex-direction: column; align-items: center; padding: 34px 0; text-align: center; }
  .closing h2 { font-size: 29px; }
  footer { align-items: flex-start; flex-direction: column; gap: 12px; padding-bottom: 24px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .chrome-window[data-phase="before"] .extension-button::after { opacity: 1; transform: translate(0, 0); }
}
