:root {
  color-scheme: dark;
  --ink: #17171f;
  --surface: #20202b;
  --surface-raised: #2a2a38;
  --text: #f4f4f8;
  --dim: #9a9aae;
  --lime: #c8f53c;
  --cyan: #3ce0e0;
  --pink: #f5459a;
  --line: rgba(255, 255, 255, 0.1);
  --page: min(1180px, calc(100vw - 48px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 73% 18%, rgba(60, 224, 224, 0.09), transparent 25rem),
    radial-gradient(circle at 88% 42%, rgba(245, 69, 154, 0.07), transparent 24rem),
    var(--ink);
  color: var(--text);
  font-family: "Hiragino Sans", "Yu Gothic UI", ui-rounded, "SF Pro Rounded", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  border-radius: 999px;
  background: var(--lime);
  color: var(--ink);
  font-weight: 800;
  transform: translateY(-160%);
}

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

.site-header {
  position: relative;
  z-index: 10;
  width: var(--page);
  height: 88px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--text);
  text-decoration: none;
  font-size: 1.16rem;
  font-weight: 900;
  letter-spacing: -0.02em;
}

.brand img {
  border-radius: 12px;
}

.site-header nav {
  display: flex;
  align-items: center;
  gap: clamp(20px, 4vw, 42px);
}

.site-header nav a {
  padding: 12px 0;
  color: var(--dim);
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.03em;
}

.site-header nav a:hover,
.site-header nav a:focus-visible {
  color: var(--text);
}

.hero {
  width: var(--page);
  min-height: min(780px, calc(100svh - 88px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.16fr) minmax(340px, 0.84fr);
  align-items: center;
  gap: clamp(40px, 5vw, 68px);
  padding: 56px 0 70px;
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.eyebrow,
.section-index {
  margin: 0 0 24px;
  color: var(--dim);
  font-size: 0.77rem;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.status-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 8px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 16px rgba(200, 245, 60, 0.7);
}

h1,
h2,
p {
  overflow-wrap: normal;
  line-break: strict;
}

h1 {
  margin: 0;
  font-size: clamp(2.9rem, 4.35vw, 3.75rem);
  line-height: 1.18;
  letter-spacing: 0.015em;
  font-weight: 800;
}

h1 span {
  color: var(--lime);
}

.hero-lead {
  max-width: 560px;
  margin: 34px 0 0;
  color: #c5c5d0;
  font-size: clamp(1rem, 1.5vw, 1.16rem);
  line-height: 1.85;
  letter-spacing: 0.025em;
  font-weight: 600;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-top: 38px;
}

.store-button {
  display: inline-flex;
  min-width: 146px;
  min-height: 60px;
  align-items: center;
  justify-content: center;
  padding: 14px 24px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 18px;
  background: var(--text);
  color: var(--ink);
  text-decoration: none;
  font-size: 1.06rem;
  font-weight: 900;
  line-height: 1.05;
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.26);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.store-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 44px rgba(0, 0, 0, 0.32);
}

.store-button:focus-visible {
  outline: 3px solid var(--cyan);
  outline-offset: 4px;
}

.text-link {
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 850;
  text-underline-offset: 5px;
}

.text-link span {
  color: var(--cyan);
}

.quick-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  margin: 34px 0 0;
  padding: 0;
  color: var(--dim);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  list-style: none;
}

.quick-facts li::before {
  content: "✓";
  margin-right: 7px;
  color: var(--lime);
}

.hero-visual {
  position: relative;
  min-height: 650px;
  display: grid;
  place-items: center;
  isolation: isolate;
}

.phone-shell {
  position: relative;
  z-index: 2;
  width: min(350px, 72vw);
  margin: 0;
  padding: 9px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 62px;
  background: #050506;
  box-shadow: 0 44px 100px rgba(0, 0, 0, 0.5);
  transform: rotate(2deg);
}

.phone-shell::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.05);
  pointer-events: none;
}

.phone-shell img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 53px;
}

.orbit {
  position: absolute;
  z-index: -1;
  border: 1px solid;
  border-radius: 50%;
  transform: rotate(-22deg);
}

.orbit-cyan {
  width: 500px;
  height: 360px;
  border-color: rgba(60, 224, 224, 0.22);
}

.orbit-pink {
  width: 390px;
  height: 580px;
  border-color: rgba(245, 69, 154, 0.14);
  transform: rotate(34deg);
}

.history-sample {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  background: rgba(32, 32, 43, 0.88);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.36);
  backdrop-filter: blur(14px);
  font-size: 0.78rem;
  font-weight: 900;
}

.history-sample span,
.history-sample strong {
  padding: 6px 8px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 10px;
}

.history-sample strong {
  border-color: rgba(200, 245, 60, 0.42);
  background: rgba(200, 245, 60, 0.12);
  color: var(--lime);
}

.history-sample b {
  color: var(--cyan);
}

.sample-one {
  top: 15%;
  left: -5%;
  transform: rotate(-4deg);
}

.sample-two {
  right: -8%;
  bottom: 18%;
  transform: rotate(4deg);
}

.feature-intro {
  width: var(--page);
  min-height: 440px;
  margin: 0 auto;
  padding: 110px 0;
  border-top: 1px solid var(--line);
}

.feature-intro h2 {
  max-width: 820px;
  margin: 0;
  font-size: clamp(2.7rem, 5vw, 4.35rem);
  line-height: 1.2;
  letter-spacing: 0.012em;
  font-weight: 800;
}

.history-feature,
.themes {
  width: var(--page);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(330px, 0.75fr);
  align-items: center;
  gap: clamp(55px, 9vw, 130px);
  padding: 50px 0 150px;
}

.history-demo {
  position: relative;
  padding: clamp(24px, 4vw, 42px);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 34px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.045), transparent 50%),
    var(--surface);
  box-shadow: 0 42px 90px rgba(0, 0, 0, 0.25);
}

.history-demo::before {
  content: "";
  position: absolute;
  width: 280px;
  height: 280px;
  top: -150px;
  right: -120px;
  border-radius: 50%;
  background: rgba(60, 224, 224, 0.12);
  filter: blur(10px);
}

.demo-toolbar {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
  color: var(--dim);
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.08em;
}

.copy-pill {
  padding: 7px 10px;
  border: 1px solid rgba(200, 245, 60, 0.34);
  border-radius: 9px;
  color: var(--lime);
  letter-spacing: 0;
}

.demo-row {
  position: relative;
  display: flex;
  align-items: center;
  gap: clamp(6px, 1.3vw, 11px);
  min-height: 82px;
  border-bottom: 1px solid var(--line);
  font-weight: 900;
}

.use-pill {
  display: grid;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  place-items: center;
  border: 2px solid rgba(60, 224, 224, 0.55);
  border-radius: 50%;
  color: var(--cyan);
  font-size: 0.78rem;
}

.number-chip {
  min-height: 44px;
  padding: 8px 11px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.055);
  color: var(--text);
  font: inherit;
  font-size: clamp(0.82rem, 1.7vw, 1.08rem);
  cursor: pointer;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.number-chip:hover,
.number-chip:focus-visible {
  border-color: var(--pink);
  background: rgba(245, 69, 154, 0.13);
  outline: none;
  transform: translateY(-2px) rotate(-1deg);
}

.number-chip.is-used {
  border-color: var(--pink);
  background: var(--pink);
}

.result-chip {
  border-color: rgba(200, 245, 60, 0.45);
  background: rgba(200, 245, 60, 0.12);
  color: var(--lime);
}

.operator {
  color: #9292a7;
}

.demo-editor {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  min-height: 112px;
  color: var(--dim);
  font-size: 0.72rem;
  font-weight: 800;
}

.demo-editor strong {
  margin-left: auto;
  color: var(--text);
  font-size: clamp(1rem, 2.5vw, 1.55rem);
}

.demo-editor i {
  width: 3px;
  height: 33px;
  border-radius: 99px;
  background: var(--lime);
  animation: blink 1.1s steps(1) infinite;
}

@keyframes blink {
  50% { opacity: 0; }
}

.feature-copy h3 {
  margin: 0;
  font-size: clamp(2.25rem, 4vw, 3.45rem);
  line-height: 1.24;
  letter-spacing: 0.012em;
  font-weight: 800;
}

.feature-copy > p:not(.kicker):not(.try-note),
.theme-copy > p:not(.section-index) {
  margin: 26px 0 0;
  color: #b6b6c4;
  font-size: 1rem;
  line-height: 1.95;
  font-weight: 620;
}

.kicker {
  margin: 0 0 18px;
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.cyan {
  color: var(--cyan);
}

.try-note {
  margin: 28px 0 0;
  color: var(--dim);
  font-size: 0.76rem;
  font-weight: 850;
}

.try-note span {
  color: var(--pink);
}

.workflow,
.principles {
  padding: 135px max(24px, calc((100vw - min(1180px, calc(100vw - 48px))) / 2));
  background: #efefeb;
  color: #1b1b1e;
}

.workflow-heading,
.principles-heading {
  display: grid;
  grid-template-columns: 0.55fr 1.45fr;
  gap: 40px;
  align-items: start;
}

.workflow h2,
.principles h2,
.themes h2,
.final-cta h2 {
  margin: 0;
  font-size: clamp(2.7rem, 5vw, 4.5rem);
  line-height: 1.2;
  letter-spacing: 0.012em;
  font-weight: 800;
}

.step-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin: 90px 0 0;
  padding: 0;
  background: #cfcfc9;
  list-style: none;
}

.step-list li {
  position: relative;
  min-height: 430px;
  padding: 26px clamp(24px, 3vw, 38px) 38px;
  background: #efefeb;
}

.step-list li:nth-child(2)::after {
  content: "→";
  position: absolute;
  z-index: 2;
  top: 112px;
  right: -25px;
  width: 50px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid #cfcfc9;
  border-radius: 999px;
  background: #efefeb;
  color: var(--pink);
  font-size: 1.25rem;
  font-weight: 900;
}

.step-number,
.card-label {
  color: #75756f;
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.step-icon {
  min-height: 170px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-size: 2rem;
  font-weight: 950;
}

.step-icon > span,
.step-icon > b {
  color: #008f94;
  font-style: normal;
}

.step-icon em {
  padding: 9px 13px;
  border: 2px solid #1b1b1e;
  border-radius: 14px;
  font-style: normal;
}

.tap-ring {
  padding: 9px 13px;
  border: 2px solid #777772;
  border-radius: 14px;
}

.step-icon .history-result {
  border-color: #8aa51f;
  background: rgba(200, 245, 60, 0.24);
  color: #516500;
}

.tap-ring {
  position: relative;
  background: #1b1b1e;
  color: white !important;
}

.tap-ring::after {
  content: "";
  position: absolute;
  inset: -12px;
  border: 2px solid var(--pink);
  border-radius: 22px;
}

.step-list h3,
.principle-card h3 {
  margin: 0 0 14px;
  font-size: 1.45rem;
  letter-spacing: 0.01em;
}

.step-list p,
.principle-card > p:last-child {
  margin: 0;
  color: #686862;
  font-size: 0.91rem;
  line-height: 1.75;
  font-weight: 620;
}

.themes {
  grid-template-columns: minmax(280px, 0.7fr) minmax(450px, 1.3fr);
  padding-top: 150px;
  padding-bottom: 170px;
}

.palette-row {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 34px;
}

.swatch {
  display: block;
  width: 18px;
  height: 18px;
  border-radius: 50%;
}

.lime { background: var(--lime); }
.cyan-bg { background: var(--cyan); }
.pink-bg { background: var(--pink); }

.palette-label {
  margin-left: 8px;
  color: var(--dim);
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.theme-screens {
  min-height: 690px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5%;
}

.theme-phone {
  width: min(285px, 34vw);
  margin: 0;
  padding: 7px;
  border-radius: 48px;
  background: #060607;
  box-shadow: 0 38px 80px rgba(0, 0, 0, 0.42);
}

.theme-phone img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 42px;
}

.theme-phone figcaption {
  padding: 18px 4px 10px;
  color: var(--dim);
  font-size: 0.66rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-align: center;
}

.theme-phone-light {
  transform: translateY(40px) rotate(-4deg);
}

.theme-phone-dark {
  transform: translateY(-38px) rotate(4deg);
}

.principles {
  padding-bottom: 150px;
}

.principle-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 85px;
}

.principle-card {
  min-height: 420px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  border: 1px solid #d6d6d0;
  border-radius: 26px;
  background: #f7f7f4;
}

.card-mark {
  min-height: 190px;
  display: grid;
  place-items: center;
  font-size: 5.5rem;
  font-weight: 300;
}

.privacy-card .card-mark { color: #00777b; }
.export-card .card-mark { color: #b81663; font-weight: 900; }
.simple-card .card-mark { color: #41413e; }
.simple-card .card-mark span { color: #b81663; }

.card-label {
  margin: 0 0 12px;
}

.details {
  width: var(--page);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  padding: 125px 0;
  background: var(--line);
}

.detail-block {
  min-height: 220px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 25px;
  background: var(--ink);
  text-align: center;
}

.detail-value {
  color: var(--lime);
  font-size: clamp(3rem, 6vw, 5.5rem);
  font-weight: 950;
  letter-spacing: -0.025em;
}

.detail-block p {
  margin: 18px 0 0;
  color: var(--dim);
  font-size: 0.8rem;
  line-height: 1.65;
  font-weight: 700;
}

.detail-block strong {
  color: var(--text);
  font-size: 0.98rem;
}

.final-cta {
  position: relative;
  min-height: 780px;
  padding: 130px 24px;
  display: flex;
  overflow: hidden;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--surface);
  text-align: center;
  isolation: isolate;
}

.final-cta .section-index {
  margin-top: 35px;
}

.final-cta h2 {
  max-width: 900px;
}

.final-cta > p:not(.section-index) {
  margin: 26px 0 0;
  color: var(--dim);
  font-weight: 700;
}

.cta-icon {
  border-radius: 30px;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.34);
}

.cta-store {
  margin-top: 38px;
}

.cta-orb {
  position: absolute;
  z-index: -1;
  width: 520px;
  height: 520px;
  border: 1px solid rgba(60, 224, 224, 0.15);
  border-radius: 50%;
}

.orb-one { transform: translate(-45vw, -180px); }
.orb-two { transform: translate(47vw, 210px); border-color: rgba(245, 69, 154, 0.14); }

.site-footer {
  width: var(--page);
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  grid-template-areas:
    "brand copy nav"
    "brand legal legal";
  gap: 12px 40px;
  align-items: center;
  padding: 65px 0;
}

.footer-brand { grid-area: brand; }

.site-footer > p {
  grid-area: copy;
  margin: 0;
  color: var(--dim);
  font-size: 0.74rem;
  font-weight: 700;
}

.site-footer nav {
  grid-area: nav;
  display: flex;
  gap: 26px;
}

.site-footer nav a,
.site-footer small {
  color: var(--dim);
  font-size: 0.7rem;
  font-weight: 750;
}

.site-footer small {
  grid-area: legal;
  justify-self: end;
}

.reveal {
  opacity: 1;
  transform: none;
}

.js .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 650ms ease, transform 650ms cubic-bezier(.2, .7, .2, 1);
}

.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* Privacy */
.legal-page {
  background: var(--ink);
}

.legal-main {
  width: var(--page);
  margin: 0 auto;
}

.legal-hero {
  min-height: 570px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 90px 0;
  border-bottom: 1px solid var(--line);
}

.legal-hero h1 {
  max-width: 900px;
}

.legal-summary {
  margin: 32px 0 0;
  color: var(--lime);
  font-size: clamp(1.15rem, 2.2vw, 1.6rem);
  font-weight: 850;
}

.last-updated {
  margin: 12px 0 0;
  color: var(--dim);
  font-size: 0.72rem;
  font-weight: 700;
}

.legal-layout {
  display: grid;
  grid-template-columns: 0.38fr 1fr;
  gap: clamp(50px, 10vw, 160px);
  align-items: start;
  padding: 110px 0 150px;
}

.legal-aside {
  position: sticky;
  top: 36px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--surface);
}

.legal-aside p {
  margin: 0 0 16px;
  color: var(--lime);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.legal-aside ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.legal-aside li {
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  color: #c5c5d0;
  font-size: 0.8rem;
  font-weight: 750;
}

.legal-aside li:last-child { border-bottom: 0; }

.legal-aside li::before {
  content: "✓";
  margin-right: 9px;
  color: var(--lime);
}

.legal-content section {
  position: relative;
  padding: 0 0 70px 58px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 70px;
}

.legal-content section:last-child {
  margin-bottom: 0;
}

.legal-content section > span {
  position: absolute;
  top: 7px;
  left: 0;
  color: var(--cyan);
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.legal-content h2 {
  margin: 0 0 24px;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  letter-spacing: 0.01em;
}

.legal-content p {
  margin: 0;
  color: #b6b6c4;
  font-size: 0.95rem;
  line-height: 2;
  font-weight: 620;
}

.support-link {
  display: inline-flex;
  gap: 10px;
  margin-top: 28px;
  color: var(--lime);
  font-size: clamp(0.85rem, 2vw, 1.05rem);
  font-weight: 850;
  text-underline-offset: 5px;
}

@media (max-width: 1050px) {
  :root {
    --page: min(100% - 34px, 680px);
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 24px;
    padding-top: 70px;
    text-align: center;
  }

  h1 {
    max-width: 760px;
  }

  .hero-copy {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .hero-actions,
  .quick-facts {
    justify-content: center;
  }

  .hero-visual {
    min-height: 650px;
  }

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

  .feature-copy {
    max-width: 590px;
  }

  .workflow-heading,
  .principles-heading {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .step-list,
  .principle-grid {
    grid-template-columns: 1fr;
  }

  .step-list li {
    min-height: 330px;
  }

  .step-list li:nth-child(2)::after {
    top: auto;
    right: 50%;
    bottom: -20px;
    transform: translateX(50%) rotate(90deg);
  }

  .step-icon {
    min-height: 135px;
  }

  .principle-card {
    min-height: 320px;
  }

  .card-mark {
    min-height: 120px;
  }

  .theme-screens {
    min-height: 620px;
  }

  .theme-phone {
    width: min(280px, 40vw);
  }

  .legal-layout {
    grid-template-columns: 1fr;
  }

  .legal-aside {
    position: static;
  }
}

@media (max-width: 560px) {
  .site-header {
    height: 76px;
  }

  .site-header nav {
    gap: 16px;
  }

  .site-header nav a:first-child {
    display: none;
  }

  h1 {
    font-size: clamp(2.35rem, 10.5vw, 3.1rem);
    line-height: 1.24;
    letter-spacing: 0.018em;
  }

  .wide-only {
    display: none;
  }

  .hero-actions {
    flex-direction: column;
    gap: 20px;
  }

  .hero-visual {
    min-height: 590px;
  }

  .phone-shell {
    width: min(305px, 78vw);
    border-radius: 52px;
  }

  .phone-shell img {
    border-radius: 44px;
  }

  .history-sample {
    font-size: 0.65rem;
  }

  .sample-one {
    left: -3%;
  }

  .sample-two {
    right: -3%;
  }

  .feature-intro {
    min-height: 360px;
    padding: 85px 0;
  }

  .history-feature {
    padding-bottom: 100px;
  }

  .history-demo {
    padding: 22px 16px;
    border-radius: 24px;
  }

  .demo-row {
    gap: 5px;
  }

  .use-pill {
    width: 34px;
    height: 34px;
    flex-basis: 34px;
  }

  .number-chip {
    padding-inline: 7px;
  }

  .workflow,
  .principles {
    padding: 95px 17px;
  }

  .step-list,
  .principle-grid {
    margin-top: 60px;
  }

  .themes {
    padding: 105px 0;
  }

  .theme-screens {
    min-height: 500px;
  }

  .theme-phone {
    width: min(220px, 43vw);
    border-radius: 35px;
  }

  .theme-phone img {
    border-radius: 30px;
  }

  .details {
    grid-template-columns: 1fr;
    padding: 80px 0;
  }

  .final-cta {
    min-height: 680px;
    padding: 100px 17px;
  }

  .site-footer {
    grid-template-columns: 1fr;
    grid-template-areas:
      "brand"
      "copy"
      "nav"
      "legal";
    gap: 18px;
  }

  .site-footer nav {
    flex-direction: column;
    gap: 12px;
  }

  .site-footer small {
    justify-self: start;
  }

  .legal-hero {
    min-height: 470px;
  }

  .legal-layout {
    padding: 75px 0 100px;
  }

  .legal-content section {
    padding-left: 42px;
  }
}

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

  .demo-editor i {
    animation: none;
  }

  .js .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
