:root {
  --color-primary: #0F766E;
  --color-secondary: #1E2420;
  --color-accent: #B54708;
  --color-bg: #F5F1E8;
  --color-bg-alt: #FFFCF5;
  --color-text: #1E2420;
  --color-text-muted: #596159;
  --color-border: rgba(30, 36, 32, 0.16);
  --color-primary-dark: #0A5B55;
  --color-accent-light: #F4C29D;
  --color-teal-light: #C8E3DE;
  --font-display: "Trebuchet MS", "Segoe UI", Arial, sans-serif;
  --font-body: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  --font-utility: "Cascadia Mono", Consolas, "Courier New", monospace;
  --radius-small: 8px;
  --radius-medium: 16px;
  --radius-large: 28px;
  --shadow-paper: 7px 7px 0 rgba(30, 36, 32, 0.1);
  --shadow-dark: 7px 7px 0 #1E2420;
  --site-width: 1160px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--color-text);
  background: var(--color-bg);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  background-image: radial-gradient(rgba(30, 36, 32, 0.07) 0.8px, transparent 0.8px);
  background-size: 22px 22px;
  mask-image: linear-gradient(to bottom, #000, transparent 52%);
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

button,
input,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid var(--color-accent);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1000;
  padding: 10px 16px;
  color: #fff;
  background: var(--color-text);
  border-radius: var(--radius-small);
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-shell {
  width: min(calc(100% - 40px), var(--site-width));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--color-bg-alt);
  border-bottom: 1px solid var(--color-border);
}

.header-inner {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  flex: 0 0 auto;
}

.brand img {
  width: 180px;
  height: auto;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  color: var(--color-text);
  background: transparent;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-small);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: currentColor;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 22px;
}

.site-nav a {
  color: var(--color-text-muted);
  font-size: 15px;
  font-weight: 650;
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--color-primary);
}

.site-nav .nav-cta {
  padding: 10px 15px;
  color: #fff;
  background: var(--color-primary);
  border: 2px solid var(--color-primary);
  border-radius: var(--radius-small);
}

.site-nav .nav-cta:hover {
  color: #fff;
  background: var(--color-primary-dark);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 16px;
  color: var(--color-accent);
  font-family: var(--font-utility);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 20px;
  height: 2px;
  content: "";
  background: currentColor;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: var(--font-display);
  line-height: 1.08;
  letter-spacing: -0.035em;
}

h1 {
  max-width: 790px;
  font-size: clamp(48px, 7.2vw, 92px);
}

h2 {
  font-size: clamp(35px, 5vw, 60px);
}

h3 {
  font-size: clamp(23px, 3vw, 31px);
}

p {
  margin: 0 0 1.2em;
}

.lead {
  max-width: 680px;
  color: var(--color-text-muted);
  font-size: clamp(19px, 2.2vw, 23px);
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 20px;
  color: #fff;
  background: var(--color-primary);
  border: 2px solid var(--color-text);
  border-radius: var(--radius-small);
  box-shadow: 4px 4px 0 var(--color-text);
  font-weight: 750;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.button:hover {
  background: var(--color-primary-dark);
  box-shadow: 2px 2px 0 var(--color-text);
  transform: translate(2px, 2px);
}

.button.secondary {
  color: var(--color-text);
  background: var(--color-bg-alt);
}

.button.secondary:hover {
  background: #fff;
}

.button.light {
  color: var(--color-text);
  background: var(--color-bg-alt);
  border-color: var(--color-bg-alt);
  box-shadow: 4px 4px 0 rgba(30, 36, 32, 0.45);
}

.button-note {
  color: var(--color-text-muted);
  font-family: var(--font-utility);
  font-size: 12px;
}

.hero {
  padding: clamp(74px, 10vw, 132px) 0 90px;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.04fr 0.96fr;
  align-items: center;
  gap: clamp(42px, 7vw, 92px);
}

.hero-copy .lead {
  margin: 26px 0 30px;
}

.proof-line {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin-top: 27px;
  padding: 0;
  color: var(--color-text-muted);
  font-family: var(--font-utility);
  font-size: 12px;
  list-style: none;
}

.proof-line li::before {
  margin-right: 8px;
  color: var(--color-primary);
  content: "+";
  font-weight: 800;
}

.hero-art {
  position: relative;
  min-height: 510px;
}

.registration-mark {
  position: absolute;
  width: 34px;
  height: 34px;
  opacity: 0.45;
}

.registration-mark::before,
.registration-mark::after {
  position: absolute;
  content: "";
  background: var(--color-text);
}

.registration-mark::before {
  top: 16px;
  left: 0;
  width: 34px;
  height: 1px;
}

.registration-mark::after {
  top: 0;
  left: 16px;
  width: 1px;
  height: 34px;
}

.registration-mark.top {
  top: 0;
  right: 18px;
}

.registration-mark.bottom {
  bottom: 12px;
  left: 20px;
}

.browser-sheet {
  position: absolute;
  top: 58px;
  right: 8px;
  width: min(100%, 520px);
  padding: 18px;
  background: var(--color-bg-alt);
  border: 2px solid var(--color-text);
  border-radius: 118px 118px var(--radius-medium) var(--radius-medium);
  box-shadow: var(--shadow-dark);
  transform: rotate(1.6deg);
}

.browser-top {
  display: flex;
  align-items: center;
  gap: 7px;
  height: 46px;
  padding: 0 18px;
  border-bottom: 1px solid var(--color-border);
}

.browser-top i {
  width: 9px;
  height: 9px;
  background: var(--color-text-muted);
  border-radius: 50%;
}

.address-bar {
  flex: 1;
  height: 24px;
  margin-left: 10px;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: 20px;
}

.browser-page {
  position: relative;
  min-height: 340px;
  padding: 34px 27px;
  overflow: hidden;
}

.clean-copy {
  width: 66%;
}

.clean-copy strong,
.clean-copy span {
  display: block;
  background: var(--color-text);
  border-radius: 3px;
}

.clean-copy strong {
  width: 82%;
  height: 20px;
  margin-bottom: 19px;
}

.clean-copy span {
  width: 100%;
  height: 8px;
  margin-bottom: 10px;
  opacity: 0.18;
}

.clean-copy span:nth-child(3) {
  width: 88%;
}

.clean-copy span:nth-child(4) {
  width: 72%;
}

.ad-noise {
  position: absolute;
  right: 22px;
  bottom: 24px;
  width: 42%;
  display: grid;
  gap: 9px;
  grid-template-columns: repeat(2, 1fr);
}

.ad-noise span {
  min-height: 66px;
  display: grid;
  place-items: center;
  color: var(--color-bg-alt);
  background: var(--color-accent);
  border: 2px solid var(--color-text);
  font-family: var(--font-utility);
  font-size: 11px;
  font-weight: 700;
  transform: rotate(-2deg);
}

.ad-noise span:nth-child(2) {
  transform: rotate(3deg);
}

.peel-strip {
  position: absolute;
  top: 88px;
  right: -30px;
  width: 340px;
  height: 78px;
  z-index: 2;
  color: #fff;
  background: var(--color-primary);
  border: 2px solid var(--color-text);
  box-shadow: 5px 5px 0 var(--color-text);
  transform: rotate(-26deg);
}

.peel-strip::after {
  position: absolute;
  right: -2px;
  bottom: -47px;
  width: 76px;
  height: 47px;
  content: "";
  background: var(--color-teal-light);
  border: 2px solid var(--color-text);
  clip-path: polygon(0 0, 100% 0, 0 100%);
}

.peel-label {
  position: absolute;
  top: 148px;
  left: -12px;
  z-index: 3;
  padding: 9px 13px;
  color: var(--color-text);
  background: var(--color-bg-alt);
  border: 2px solid var(--color-text);
  box-shadow: 3px 3px 0 var(--color-text);
  font-family: var(--font-utility);
  font-size: 12px;
  font-weight: 700;
  transform: rotate(-5deg);
}

.section {
  padding: clamp(72px, 9vw, 120px) 0;
}

.section-rule {
  border-top: 1px solid var(--color-border);
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(280px, 0.45fr);
  align-items: end;
  gap: 50px;
  margin-bottom: 50px;
}

.section-head p {
  color: var(--color-text-muted);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.feature-card {
  position: relative;
  min-height: 250px;
  padding: 28px;
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-medium);
  box-shadow: var(--shadow-paper);
}

.feature-card::before {
  display: block;
  width: 38px;
  height: 5px;
  margin-bottom: 34px;
  content: "";
  background: var(--color-accent);
}

.feature-card:nth-child(2)::before {
  background: var(--color-primary);
}

.feature-card h3 {
  margin-bottom: 15px;
}

.feature-card p {
  color: var(--color-text-muted);
}

.product-grid {
  display: grid;
  grid-template-columns: 0.86fr 1.14fr;
  align-items: center;
  gap: clamp(42px, 8vw, 110px);
}

.product-copy h2 {
  margin-bottom: 22px;
}

.product-copy p {
  color: var(--color-text-muted);
}

.check-list {
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  margin: 15px 0;
  padding-left: 32px;
}

.check-list li::before {
  position: absolute;
  top: 2px;
  left: 0;
  width: 21px;
  height: 21px;
  display: grid;
  place-items: center;
  color: #fff;
  content: "+";
  background: var(--color-primary);
  border-radius: 50%;
  font-family: var(--font-utility);
  font-size: 13px;
  font-weight: 800;
}

.popup-demo {
  width: min(100%, 390px);
  margin-inline: auto;
  padding: 18px;
  background: var(--color-bg-alt);
  border: 2px solid var(--color-text);
  border-radius: var(--radius-medium);
  box-shadow: var(--shadow-dark);
  transform: rotate(-1.5deg);
}

.popup-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 15px;
  border-bottom: 1px solid var(--color-border);
}

.popup-brand img {
  width: 38px;
}

.popup-brand strong {
  font-family: var(--font-display);
  font-size: 22px;
}

.popup-status {
  margin: 18px 0;
  padding: 15px;
  background: rgba(15, 118, 110, 0.1);
  border: 1px solid rgba(15, 118, 110, 0.32);
  border-radius: var(--radius-small);
}

.popup-status span {
  display: block;
  color: var(--color-primary);
  font-family: var(--font-utility);
  font-size: 12px;
  font-weight: 700;
}

.popup-status strong {
  display: block;
  margin-top: 4px;
}

.control-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 13px 0;
  border-bottom: 1px solid var(--color-border);
}

.control-row small {
  display: block;
  color: var(--color-text-muted);
}

.switch {
  position: relative;
  width: 45px;
  height: 25px;
  flex: 0 0 auto;
  background: var(--color-primary);
  border: 2px solid var(--color-text);
  border-radius: 25px;
}

.switch::after {
  position: absolute;
  top: 3px;
  right: 3px;
  width: 15px;
  height: 15px;
  content: "";
  background: #fff;
  border-radius: 50%;
}

.newtab-demo {
  padding: 26px;
  background: #DCE9E4;
  border: 2px solid var(--color-text);
  border-radius: var(--radius-medium);
  box-shadow: var(--shadow-dark);
  transform: rotate(1deg);
}

.newtab-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 24px;
}

.newtab-top img {
  width: 150px;
}

.newtab-search {
  display: flex;
  min-height: 54px;
  align-items: center;
  justify-content: space-between;
  padding: 0 18px;
  background: var(--color-bg-alt);
  border: 2px solid var(--color-text);
  border-radius: 30px;
}

.newtab-search span {
  color: var(--color-text-muted);
}

.newtab-search b {
  color: #fff;
  background: var(--color-primary);
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
}

.shortcut-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin: 20px 0;
}

.shortcut-row span {
  min-height: 60px;
  display: grid;
  place-items: center;
  color: var(--color-text-muted);
  background: rgba(255, 252, 245, 0.72);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-small);
  font-family: var(--font-utility);
  font-size: 10px;
}

.story-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.story-card {
  min-height: 88px;
  padding: 10px;
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-small);
}

.story-card::before {
  display: block;
  height: 34px;
  margin-bottom: 8px;
  content: "";
  background: var(--color-accent-light);
}

.story-card:nth-child(2)::before {
  background: var(--color-teal-light);
}

.story-card span {
  display: block;
  height: 5px;
  margin-top: 5px;
  background: var(--color-text);
  opacity: 0.24;
}

.before-after {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 26px;
}

.browser-sample {
  position: relative;
  min-height: 350px;
  padding: 56px 24px 24px;
  background: var(--color-bg-alt);
  border: 2px solid var(--color-text);
  border-radius: var(--radius-medium);
  box-shadow: var(--shadow-paper);
  overflow: hidden;
}

.browser-sample::before {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 38px;
  content: "";
  background: var(--color-bg);
  border-bottom: 1px solid var(--color-border);
}

.sample-label {
  position: absolute;
  top: 51px;
  right: 20px;
  z-index: 3;
  padding: 6px 10px;
  color: #fff;
  background: var(--color-accent);
  font-family: var(--font-utility);
  font-size: 11px;
  font-weight: 700;
}

.browser-sample.after .sample-label {
  background: var(--color-primary);
}

.article-shape {
  width: 68%;
}

.article-shape b,
.article-shape i {
  display: block;
  background: var(--color-text);
  border-radius: 3px;
}

.article-shape b {
  width: 84%;
  height: 18px;
  margin: 24px 0 21px;
}

.article-shape i {
  height: 7px;
  margin: 10px 0;
  opacity: 0.18;
}

.sample-ad {
  position: absolute;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--color-accent);
  border: 2px solid var(--color-text);
  font-family: var(--font-utility);
  font-size: 10px;
  font-style: normal;
  font-weight: 700;
}

.sample-ad.one {
  top: 105px;
  right: 18px;
  width: 28%;
  height: 94px;
}

.sample-ad.two {
  right: 35px;
  bottom: 31px;
  width: 44%;
  height: 62px;
}

.sample-ad.three {
  bottom: 14px;
  left: 20px;
  width: 38%;
  height: 48px;
}

.clean-space {
  position: absolute;
  right: 22px;
  bottom: 24px;
  width: 27%;
  height: 154px;
  border: 2px dashed rgba(15, 118, 110, 0.35);
  border-radius: var(--radius-small);
}

.teal-section {
  color: #fff;
  background: var(--color-primary);
}

.teal-grid {
  display: grid;
  grid-template-columns: 1fr 0.8fr;
  align-items: center;
  gap: 70px;
}

.teal-section .eyebrow {
  color: #fff;
  opacity: 0.78;
}

.teal-section p {
  color: rgba(255, 255, 255, 0.82);
}

.privacy-note {
  padding: 26px;
  color: var(--color-text);
  background: var(--color-bg-alt);
  border: 2px solid var(--color-text);
  border-radius: var(--radius-medium);
  box-shadow: 6px 6px 0 rgba(30, 36, 32, 0.55);
}

.privacy-note strong {
  display: block;
  margin-bottom: 8px;
  font-family: var(--font-display);
  font-size: 24px;
}

.privacy-note p {
  margin: 0;
  color: var(--color-text-muted);
}

.final-cta {
  text-align: center;
}

.final-cta h2 {
  max-width: 750px;
  margin: 0 auto 22px;
}

.final-cta p {
  max-width: 610px;
  margin: 0 auto 30px;
  color: var(--color-text-muted);
}

.final-cta .button-row {
  justify-content: center;
}

.site-footer {
  padding: 48px 0;
  background: var(--color-text);
  color: #fff;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 42px;
}

.footer-brand img {
  width: 166px;
  padding: 8px;
  background: var(--color-bg-alt);
  border-radius: var(--radius-small);
}

.footer-brand p {
  max-width: 430px;
  margin: 17px 0 0;
  color: rgba(255, 255, 255, 0.66);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px 22px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
  text-decoration: none;
}

.footer-links a:hover {
  color: #fff;
  text-decoration: underline;
}

.copyright {
  grid-column: 1 / -1;
  margin: 0;
  padding-top: 22px;
  color: rgba(255, 255, 255, 0.48);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-family: var(--font-utility);
  font-size: 11px;
}

.page-hero {
  padding: 88px 0 60px;
}

.page-hero h1 {
  max-width: 900px;
  font-size: clamp(47px, 7vw, 82px);
}

.page-hero .lead {
  margin-top: 24px;
}

.content-wrap {
  display: grid;
  grid-template-columns: minmax(0, 780px) 1fr;
  gap: 76px;
}

.article-content {
  padding-bottom: 100px;
}

.article-content h2 {
  margin: 56px 0 18px;
  font-size: 35px;
}

.article-content h3 {
  margin: 34px 0 12px;
  font-size: 25px;
}

.article-content p,
.article-content li {
  color: var(--color-text-muted);
}

.article-content a {
  color: var(--color-primary);
  font-weight: 650;
}

.article-content li + li {
  margin-top: 9px;
}

.article-note {
  margin: 28px 0;
  padding: 20px 22px;
  background: var(--color-bg-alt);
  border-left: 5px solid var(--color-primary);
}

.article-note p {
  margin: 0;
}

.side-card {
  position: sticky;
  top: 110px;
  align-self: start;
  padding: 24px;
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-medium);
  box-shadow: var(--shadow-paper);
}

.side-card strong {
  display: block;
  margin-bottom: 12px;
  font-family: var(--font-display);
  font-size: 25px;
}

.side-card p {
  color: var(--color-text-muted);
  font-size: 15px;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
  margin: 42px 0;
}

.value-card {
  padding: 25px;
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-medium);
}

.value-card span {
  color: var(--color-accent);
  font-family: var(--font-utility);
  font-size: 12px;
  font-weight: 700;
}

.value-card h3 {
  margin: 13px 0 9px;
}

.value-card p {
  margin: 0;
  color: var(--color-text-muted);
}

.faq-list {
  max-width: 900px;
  padding-bottom: 100px;
}

.faq-item {
  margin-bottom: 12px;
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-medium);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 24px;
  color: var(--color-text);
  background: transparent;
  border: 0;
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
}

.faq-question::after {
  width: 28px;
  height: 28px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  color: #fff;
  content: "+";
  background: var(--color-primary);
  border-radius: 50%;
  font-family: var(--font-utility);
}

.faq-question[aria-expanded="true"]::after {
  content: "x";
}

.faq-answer {
  padding: 0 24px 22px;
}

.faq-answer p {
  margin: 0;
  color: var(--color-text-muted);
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: 42px;
  padding-bottom: 100px;
}

.contact-card,
.contact-form {
  padding: 30px;
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-medium);
  box-shadow: var(--shadow-paper);
}

.contact-card h2,
.contact-form h2 {
  margin-bottom: 18px;
  font-size: 34px;
}

.contact-card p {
  color: var(--color-text-muted);
}

.contact-email {
  color: var(--color-primary);
  font-weight: 700;
  word-break: break-word;
}

.form-field {
  margin-bottom: 20px;
}

.form-field label {
  display: block;
  margin-bottom: 7px;
  font-weight: 700;
}

.form-field input,
.form-field textarea {
  width: 100%;
  padding: 13px 14px;
  color: var(--color-text);
  background: #fff;
  border: 2px solid var(--color-border);
  border-radius: var(--radius-small);
}

.form-field input:focus,
.form-field textarea:focus {
  border-color: var(--color-primary);
  outline: 3px solid rgba(15, 118, 110, 0.18);
}

.form-field textarea {
  min-height: 170px;
  resize: vertical;
}

.form-status {
  min-height: 28px;
  margin: 14px 0 0;
  color: var(--color-text-muted);
}

.form-status.is-error {
  color: var(--color-accent);
}

.success-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  padding: 22px;
  background: rgba(30, 36, 32, 0.72);
}

.success-overlay[hidden] {
  display: none;
}

.success-card {
  width: min(100%, 480px);
  padding: 34px;
  background: var(--color-bg-alt);
  border: 2px solid var(--color-text);
  border-radius: var(--radius-medium);
  box-shadow: 8px 8px 0 var(--color-text);
  text-align: center;
}

.success-card h2 {
  margin-bottom: 14px;
  font-size: 34px;
}

.tabs {
  padding-bottom: 100px;
}

.tab-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}

.tab-button {
  padding: 11px 17px;
  color: var(--color-text-muted);
  background: var(--color-bg-alt);
  border: 2px solid var(--color-border);
  border-radius: var(--radius-small);
  font-weight: 700;
  cursor: pointer;
}

.tab-button[aria-selected="true"] {
  color: #fff;
  background: var(--color-primary);
  border-color: var(--color-text);
  box-shadow: 3px 3px 0 var(--color-text);
}

.tab-panel {
  max-width: 820px;
  padding: 30px;
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-medium);
  box-shadow: var(--shadow-paper);
}

.tab-panel[hidden] {
  display: none;
}

.tab-panel h2 {
  margin-bottom: 20px;
  font-size: 35px;
}

.tab-panel ol {
  padding-left: 24px;
}

.tab-panel li {
  margin: 12px 0;
  color: var(--color-text-muted);
}

.os-tabs {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--color-border);
}

.os-panel[hidden] {
  display: none;
}

.lifecycle-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 40px 20px;
}

.lifecycle-card {
  width: min(100%, 780px);
  padding: clamp(34px, 7vw, 72px);
  background: var(--color-bg-alt);
  border: 2px solid var(--color-text);
  border-radius: var(--radius-large);
  box-shadow: var(--shadow-dark);
  text-align: center;
}

.lifecycle-card img {
  width: min(230px, 70%);
  margin: 0 auto 38px;
}

.lifecycle-card h1 {
  max-width: 660px;
  margin-inline: auto;
  font-size: clamp(43px, 7vw, 72px);
}

.lifecycle-card p {
  max-width: 580px;
  margin: 22px auto 30px;
  color: var(--color-text-muted);
  font-size: 19px;
}

.lifecycle-card .button-row {
  justify-content: center;
}

.small-link {
  color: var(--color-text-muted);
  font-size: 14px;
}

.hero[data-home-motion] {
  --home-motion-x: 0px;
  --home-motion-y: 0px;
  --home-peel-x: 0px;
  --home-peel-y: 0px;
}

.hero[data-home-motion] .browser-sheet,
.hero[data-home-motion] .peel-strip,
.hero[data-home-motion] .ad-noise {
  will-change: transform;
}

.hero[data-home-motion] .browser-sheet {
  transform: translate3d(var(--home-motion-x), var(--home-motion-y), 0) rotate(1.6deg);
  transition: transform 260ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.hero[data-home-motion] .peel-strip {
  transform: translate3d(var(--home-peel-x), var(--home-peel-y), 0) rotate(-26deg);
  transition: transform 320ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.hero[data-home-motion] .ad-noise {
  transform: translate3d(var(--home-peel-x), var(--home-peel-y), 0);
  transition: transform 360ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.hero[data-home-motion] .button {
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.hero[data-home-motion] .button:hover {
  transform: translateY(-3px);
}

.hero[data-home-motion] ~ .section .feature-card,
.hero[data-home-motion] ~ .section .popup-demo,
.hero[data-home-motion] ~ .section .newtab-demo,
.hero[data-home-motion] ~ .section .browser-sample {
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.hero[data-home-motion] ~ .section .feature-card:hover {
  box-shadow: 5px 6px 0 var(--color-text);
  transform: translateY(-7px) rotate(-0.35deg);
}

.hero[data-home-motion] ~ .section .popup-demo:hover,
.hero[data-home-motion] ~ .section .newtab-demo:hover,
.hero[data-home-motion] ~ .section .browser-sample:hover {
  transform: translateY(-5px) rotate(0.45deg);
}

@media (prefers-reduced-motion: no-preference) {
  .hero[data-home-motion] .hero-copy > * {
    animation: home-copy-enter 620ms cubic-bezier(0.2, 0.8, 0.2, 1) backwards;
  }

  .hero[data-home-motion] .hero-copy > *:nth-child(2) {
    animation-delay: 70ms;
  }

  .hero[data-home-motion] .hero-copy > *:nth-child(3) {
    animation-delay: 130ms;
  }

  .hero[data-home-motion] .hero-copy > *:nth-child(4) {
    animation-delay: 190ms;
  }

  .hero[data-home-motion] .hero-copy > *:nth-child(5) {
    animation-delay: 250ms;
  }

  .hero[data-home-motion] .hero-art {
    animation: home-art-enter 760ms cubic-bezier(0.2, 0.8, 0.2, 1) 120ms backwards;
  }
}

@keyframes home-copy-enter {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
}

@keyframes home-art-enter {
  from {
    opacity: 0;
    transform: translateY(24px) rotate(-1deg);
  }
}

[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 480ms ease, transform 480ms ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

@media (max-width: 980px) {
  .menu-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: 78px;
    right: 20px;
    left: 20px;
    display: none;
    align-items: stretch;
    flex-direction: column;
    gap: 0;
    padding: 12px;
    background: var(--color-bg-alt);
    border: 2px solid var(--color-text);
    border-radius: var(--radius-medium);
    box-shadow: var(--shadow-dark);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 10px 12px;
  }

  .site-nav .nav-cta {
    margin-top: 8px;
    text-align: center;
  }

  .hero-grid,
  .product-grid,
  .teal-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero-art {
    width: min(100%, 650px);
    margin-inline: auto;
  }

  .section-head {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .feature-grid {
    grid-template-columns: 1fr 1fr;
  }

  .content-wrap {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .side-card {
    position: static;
    order: -1;
  }
}

@media (max-width: 680px) {
  body {
    font-size: 16px;
  }

  .site-shell {
    width: min(calc(100% - 28px), var(--site-width));
  }

  .header-inner {
    min-height: 70px;
  }

  .brand img {
    width: 150px;
  }

  .site-nav {
    top: 70px;
    right: 14px;
    left: 14px;
  }

  .hero {
    padding-top: 64px;
  }

  .hero-art {
    min-height: 405px;
  }

  .browser-sheet {
    top: 34px;
    right: 4px;
    padding: 12px;
    border-radius: 72px 72px var(--radius-medium) var(--radius-medium);
  }

  .browser-page {
    min-height: 280px;
    padding: 25px 16px;
  }

  .ad-noise {
    right: 12px;
    width: 45%;
  }

  .peel-strip {
    top: 74px;
    right: -65px;
    width: 290px;
    height: 62px;
  }

  .peel-label {
    top: 128px;
    left: 2px;
  }

  .feature-grid,
  .before-after,
  .values-grid {
    grid-template-columns: 1fr;
  }

  .shortcut-row {
    grid-template-columns: repeat(2, 1fr);
  }

  .story-row {
    grid-template-columns: 1fr;
  }

  .newtab-demo {
    padding: 16px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-links {
    justify-content: flex-start;
  }

  .contact-card,
  .contact-form,
  .tab-panel {
    padding: 22px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}
