:root {
  --plum: #725286;
  --plum-dark: #35213f;
  --plum-deep: #24142d;
  --lilac: #c3a2e2;
  --lilac-soft: #eee4f8;
  --lilac-pale: #f8f3fc;
  --rose: #de8daa;
  --ink: #2b2232;
  --muted: #66576f;
  --line: #e7ddef;
  --paper: #fffdfd;
  --canvas: #f8f5fc;
  --white: #ffffff;
  --shadow-sm: 0 14px 36px rgba(66, 48, 79, 0.09);
  --shadow-lg: 0 34px 90px rgba(64, 39, 80, 0.2);
  --radius-sm: 18px;
  --radius-md: 28px;
  --radius-lg: 42px;
  --shell: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "PingFang SC", "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.menu-open {
  overflow: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
}

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

[hidden] {
  display: none !important;
}

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  padding: 10px 16px;
  color: var(--white);
  background: var(--plum-deep);
  border-radius: 10px;
  transform: translateY(-160%);
  transition: transform 180ms ease;
}

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

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

.site-header {
  position: fixed;
  z-index: 100;
  top: 0;
  right: 0;
  left: 0;
  border-bottom: 1px solid transparent;
  transition: background 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.site-header.is-scrolled,
.legal-page .site-header {
  border-color: rgba(72, 49, 87, 0.08);
  background: rgba(255, 253, 255, 0.9);
  box-shadow: 0 8px 30px rgba(58, 39, 70, 0.06);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.brand img,
.footer-brand img {
  border-radius: 12px;
  box-shadow: 0 10px 24px rgba(114, 82, 134, 0.2);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 27px;
  font-size: 14px;
  font-weight: 680;
}

.site-nav > a {
  color: #51445a;
  transition: color 160ms ease;
}

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

.language-switch {
  display: flex;
  align-items: center;
  gap: 7px;
  min-width: 82px;
  padding: 6px 9px;
  border: 1px solid rgba(72, 49, 87, 0.1);
  background: rgba(255, 255, 255, 0.72);
  border-radius: 999px;
}

.language-switch span {
  width: 1px;
  height: 14px;
  background: var(--line);
}

.language-switch button {
  padding: 0;
  color: #96899e;
  background: transparent;
  border: 0;
  cursor: pointer;
  font-size: 12px;
  font-weight: 800;
}

.language-switch button[aria-pressed="true"] {
  color: var(--plum);
}

.menu-button {
  display: none;
  width: 42px;
  height: 42px;
  padding: 10px;
  border: 0;
  background: transparent;
  border-radius: 12px;
}

.menu-button > span:not(.sr-only) {
  display: block;
  width: 22px;
  height: 2px;
  margin: 5px 0;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 180ms ease, opacity 180ms ease;
}

.hero {
  position: relative;
  min-height: 850px;
  padding: 146px 0 86px;
  overflow: hidden;
  background:
    radial-gradient(circle at 74% 24%, rgba(195, 162, 226, 0.2), transparent 28%),
    radial-gradient(circle at 9% 72%, rgba(222, 141, 170, 0.08), transparent 25%),
    linear-gradient(180deg, #fbf8fd 0%, var(--paper) 82%);
}

.hero::after {
  position: absolute;
  right: -230px;
  bottom: -430px;
  width: 820px;
  height: 820px;
  border: 1px solid rgba(114, 82, 134, 0.07);
  border-radius: 50%;
  content: "";
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.hero-orb-one {
  top: -170px;
  right: -100px;
  width: 440px;
  height: 440px;
  background: rgba(195, 162, 226, 0.13);
  filter: blur(5px);
}

.hero-orb-two {
  bottom: 50px;
  left: -130px;
  width: 280px;
  height: 280px;
  background: rgba(222, 141, 170, 0.09);
  filter: blur(8px);
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(410px, 0.82fr);
  gap: 58px;
  align-items: center;
}

.hero-copy {
  padding-top: 18px;
}

.eyebrow,
.section-kicker,
.mini-kicker {
  display: inline-flex;
  align-items: center;
  color: var(--plum);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.035em;
}

.eyebrow {
  gap: 9px;
  padding: 8px 13px;
  border: 1px solid rgba(114, 82, 134, 0.13);
  background: rgba(246, 239, 251, 0.84);
  border-radius: 999px;
}

.eyebrow-moon {
  position: relative;
  width: 13px;
  height: 13px;
  background: var(--plum);
  border-radius: 50%;
}

.eyebrow-moon::after {
  position: absolute;
  top: -2px;
  left: 4px;
  width: 12px;
  height: 12px;
  background: var(--lilac-pale);
  border-radius: 50%;
  content: "";
}

.hero h1 {
  max-width: 690px;
  margin: 27px 0 23px;
  font-size: clamp(53px, 6vw, 80px);
  line-height: 1.04;
  letter-spacing: -0.064em;
}

.hero h1 span {
  display: block;
}

.gradient-text {
  color: var(--plum);
  background: linear-gradient(108deg, var(--plum-dark) 5%, #8e62a7 52%, var(--rose) 112%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-lede {
  max-width: 630px;
  margin: 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.82;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
  min-height: 54px;
  padding: 0 24px;
  border-radius: 17px;
  font-size: 15px;
  font-weight: 760;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  color: var(--white);
  background: linear-gradient(135deg, var(--plum-dark), #8d64a4);
  box-shadow: 0 16px 34px rgba(86, 56, 104, 0.25);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--plum);
  font-size: 14px;
  font-weight: 760;
}

.trust-list {
  display: flex;
  flex-wrap: wrap;
  gap: 19px;
  margin: 30px 0 0;
  padding: 0;
  color: #716477;
  list-style: none;
  font-size: 13px;
}

.trust-list li {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.trust-list li > span:first-child {
  display: inline-grid;
  width: 19px;
  height: 19px;
  color: var(--plum);
  background: var(--lilac-soft);
  border-radius: 50%;
  place-items: center;
  font-size: 11px;
  font-weight: 900;
}

.hero-product {
  position: relative;
  display: grid;
  min-height: 640px;
  place-items: center;
}

.orbit {
  position: absolute;
  border: 1px solid rgba(114, 82, 134, 0.1);
  border-radius: 50%;
}

.orbit-one {
  width: 520px;
  height: 520px;
}

.orbit-two {
  width: 410px;
  height: 410px;
  border-style: dashed;
  transform: rotate(24deg);
}

.phone-frame {
  position: relative;
  z-index: 3;
  width: 316px;
  padding: 11px;
  background: #24182b;
  border: 2px solid #4a3855;
  border-radius: 52px;
  box-shadow: var(--shadow-lg);
  transform: rotate(1.2deg);
}

.phone-frame::after {
  position: absolute;
  inset: 5px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 44px;
  content: "";
  pointer-events: none;
}

.phone-sensor {
  position: absolute;
  z-index: 5;
  top: 19px;
  left: 50%;
  width: 88px;
  height: 24px;
  background: #1d1224;
  border-radius: 999px;
  transform: translateX(-50%);
}

.phone-screen {
  min-height: 610px;
  padding: 31px 14px 14px;
  overflow: hidden;
  background: var(--canvas);
  border-radius: 40px;
}

.app-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 3px 3px 12px;
}

.app-brandline {
  display: flex;
  align-items: center;
  gap: 9px;
}

.app-brandline img {
  border-radius: 10px;
}

.app-brandline span {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.app-brandline strong {
  font-size: 13px;
}

.app-brandline small {
  margin-top: 2px;
  color: #817387;
  font-size: 9px;
}

.settings-dot {
  display: grid;
  width: 31px;
  height: 31px;
  color: var(--plum);
  background: var(--lilac-soft);
  border-radius: 50%;
  place-items: center;
  font-size: 11px;
  letter-spacing: 1px;
}

.photo-stage {
  position: relative;
  height: 257px;
  overflow: hidden;
  background: linear-gradient(155deg, #b69bd2 0%, #ead7ec 48%, #9b719d 100%);
  border-radius: 24px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18);
}

.mock-sky {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 68% 25%, rgba(255, 247, 255, 0.72), transparent 13%),
    linear-gradient(180deg, rgba(117, 78, 139, 0.2), rgba(236, 216, 235, 0.1));
}

.mock-moon {
  position: absolute;
  top: 38px;
  right: 47px;
  width: 47px;
  height: 47px;
  background: rgba(255, 248, 252, 0.83);
  border-radius: 50%;
  box-shadow: 0 0 32px rgba(255, 245, 255, 0.46);
}

.mock-hill {
  position: absolute;
  bottom: -75px;
  border-radius: 50% 50% 0 0;
  transform: rotate(-7deg);
}

.mock-hill-back {
  right: -54px;
  width: 310px;
  height: 190px;
  background: #735379;
}

.mock-hill-front {
  bottom: -98px;
  left: -74px;
  width: 340px;
  height: 190px;
  background: #3c2c48;
  transform: rotate(8deg);
}

.mock-watermark {
  position: absolute;
  right: 15px;
  bottom: 18px;
  left: 15px;
  color: rgba(255, 255, 255, 0.92);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 14px;
  font-style: italic;
  text-align: center;
  text-shadow: 0 2px 10px rgba(34, 20, 43, 0.45);
}

.tool-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 5px;
  margin: 10px 0;
  padding: 5px;
  background: #eee7f3;
  border-radius: 14px;
}

.tool-tabs span {
  padding: 7px 3px;
  color: #756779;
  border-radius: 10px;
  font-size: 10px;
  font-weight: 760;
  text-align: center;
}

.tool-tabs .is-active {
  color: var(--plum-dark);
  background: var(--white);
  box-shadow: 0 5px 12px rgba(71, 51, 82, 0.08);
}

.effect-panel {
  padding: 12px;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(114, 82, 134, 0.08);
  border-radius: 18px;
}

.panel-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.panel-heading strong {
  font-size: 11px;
}

.panel-heading small {
  color: #8b7e90;
  font-size: 8px;
}

.filter-row {
  display: flex;
  gap: 5px;
  margin-top: 9px;
}

.filter-row span {
  flex: 1;
  padding: 5px 2px;
  color: #7c6e82;
  background: var(--canvas);
  border: 1px solid #eee6f3;
  border-radius: 999px;
  font-size: 8px;
  font-weight: 700;
  text-align: center;
}

.filter-row .is-active {
  color: var(--plum-dark);
  background: var(--lilac-soft);
  border-color: transparent;
}

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

.slider-row small {
  flex: 0 0 auto;
  color: #716575;
  font-size: 8px;
}

.slider-row > div {
  position: relative;
  flex: 1;
  height: 3px;
  background: #e6ddec;
  border-radius: 999px;
}

.slider-row i {
  display: block;
  width: 68%;
  height: 100%;
  background: var(--plum);
  border-radius: inherit;
}

.slider-row b {
  position: absolute;
  top: 50%;
  left: 68%;
  width: 10px;
  height: 10px;
  background: var(--plum);
  border: 2px solid var(--white);
  border-radius: 50%;
  box-shadow: 0 2px 6px rgba(51, 31, 63, 0.25);
  transform: translate(-50%, -50%);
}

.mock-save-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  margin-top: 10px;
  min-height: 38px;
  color: var(--white);
  background: linear-gradient(135deg, var(--plum), #8d65a3);
  border-radius: 999px;
  box-shadow: 0 9px 18px rgba(83, 52, 101, 0.2);
  font-size: 10px;
}

.mock-save-button span {
  font-size: 15px;
}

.floating-chip {
  position: absolute;
  z-index: 5;
  display: flex;
  align-items: center;
  padding: 11px 15px;
  border: 1px solid rgba(114, 82, 134, 0.12);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow-sm);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.floating-chip-top {
  top: 88px;
  left: -6px;
  gap: 8px;
  border-radius: 16px;
  transform: rotate(-5deg);
}

.floating-chip-top span {
  display: grid;
  width: 28px;
  height: 28px;
  color: var(--white);
  background: var(--plum);
  border-radius: 9px;
  place-items: center;
}

.floating-chip-top b {
  font-size: 12px;
}

.floating-chip-bottom {
  right: -13px;
  bottom: 95px;
  gap: 6px;
  border-radius: 999px;
  transform: rotate(4deg);
}

.floating-chip-bottom span {
  padding: 4px 8px;
  color: var(--plum-dark);
  background: var(--lilac-soft);
  border-radius: 999px;
  font-size: 9px;
  font-weight: 800;
}

.proof-strip {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #fcfafe;
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  min-height: 124px;
}

.proof-grid > div {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  border-right: 1px solid var(--line);
  text-align: center;
}

.proof-grid > div:first-child {
  border-left: 1px solid var(--line);
}

.proof-grid strong {
  color: var(--plum);
  font-size: 27px;
  line-height: 1.2;
}

.proof-grid span {
  color: var(--muted);
  font-size: 12px;
}

.section {
  padding: 112px 0;
}

.section-heading {
  margin-bottom: 52px;
}

.section-heading.centered {
  max-width: 720px;
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.section-heading h2,
.privacy-copy h2,
.support-card h2 {
  margin: 13px 0 14px;
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1.12;
  letter-spacing: -0.047em;
}

.section-heading p,
.privacy-copy p,
.support-card p {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.78;
}

.split-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
  gap: 65px;
  align-items: end;
}

.split-heading h2 {
  max-width: 720px;
}

.workflow-section {
  background: var(--white);
}

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

.workflow-card {
  min-width: 0;
  min-height: 430px;
  padding: 28px;
  border: 1px solid var(--line);
  background: var(--paper);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.workflow-card.featured-card {
  border-color: rgba(114, 82, 134, 0.2);
  background: linear-gradient(155deg, #fbf7fd, #f4eafa);
}

.step-label {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--plum);
  font-size: 13px;
}

.step-label span {
  display: grid;
  width: 34px;
  height: 34px;
  color: var(--plum-dark);
  background: var(--lilac-soft);
  border-radius: 50%;
  place-items: center;
  font-size: 11px;
  font-weight: 850;
}

.workflow-card h3 {
  margin: 24px 0 12px;
  font-size: 24px;
  line-height: 1.28;
  letter-spacing: -0.03em;
}

.workflow-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.78;
}

.workflow-icon {
  position: relative;
  display: grid;
  width: 112px;
  height: 112px;
  margin-top: 30px;
  overflow: hidden;
  background: linear-gradient(145deg, var(--lilac-soft), #fff9fc);
  border: 1px solid rgba(114, 82, 134, 0.11);
  border-radius: 31px;
  place-items: center;
}

.photo-icon i {
  width: 63px;
  height: 51px;
  background: linear-gradient(155deg, #9f7db8, #d9bad6);
  border: 5px solid var(--white);
  border-radius: 13px;
  box-shadow: 0 8px 16px rgba(80, 53, 94, 0.14);
}

.photo-icon i::before {
  display: block;
  width: 13px;
  height: 13px;
  margin: 8px 0 0 36px;
  background: #fff5d5;
  border-radius: 50%;
  content: "";
}

.photo-icon b {
  position: absolute;
  right: 19px;
  bottom: 19px;
  display: grid;
  width: 31px;
  height: 31px;
  color: var(--white);
  background: var(--plum);
  border: 3px solid var(--white);
  border-radius: 50%;
  place-items: center;
}

.photo-icon b::after {
  content: "+";
}

.edit-icon i,
.edit-icon b,
.edit-icon em {
  position: absolute;
  left: 24px;
  width: 65px;
  height: 6px;
  background: rgba(114, 82, 134, 0.23);
  border-radius: 999px;
}

.edit-icon i { top: 34px; }
.edit-icon b { top: 53px; }
.edit-icon em { top: 72px; }

.edit-icon i::after,
.edit-icon b::after,
.edit-icon em::after {
  position: absolute;
  top: 50%;
  width: 19px;
  height: 19px;
  background: var(--plum);
  border: 4px solid var(--white);
  border-radius: 50%;
  box-shadow: 0 3px 8px rgba(58, 34, 71, 0.17);
  content: "";
  transform: translate(-50%, -50%);
}

.edit-icon i::after { left: 69%; }
.edit-icon b::after { left: 34%; }
.edit-icon em::after { left: 57%; }

.save-icon i {
  display: grid;
  width: 58px;
  height: 58px;
  color: var(--white);
  background: linear-gradient(135deg, var(--plum-dark), var(--plum));
  border-radius: 19px;
  box-shadow: 0 13px 25px rgba(77, 48, 93, 0.22);
  place-items: center;
  font-size: 28px;
  font-style: normal;
  font-weight: 500;
}

.features-section {
  background: var(--canvas);
}

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

.feature-tile {
  position: relative;
  min-width: 0;
  min-height: 300px;
  padding: 34px;
  overflow: hidden;
  border: 1px solid rgba(114, 82, 134, 0.1);
  background: var(--paper);
  border-radius: var(--radius-md);
  box-shadow: 0 18px 46px rgba(70, 46, 84, 0.07);
}

.feature-tile h3 {
  max-width: 500px;
  margin: 12px 0 11px;
  font-size: 27px;
  line-height: 1.25;
  letter-spacing: -0.035em;
}

.feature-tile p {
  max-width: 510px;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.75;
}

.feature-large {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: minmax(0, 0.85fr) minmax(360px, 1.15fr);
  min-height: 390px;
  align-items: center;
  background: linear-gradient(135deg, #fffafd 0%, #efe3f6 100%);
}

.palette-visual {
  position: relative;
  height: 310px;
}

.palette-card {
  position: absolute;
  top: 45px;
  left: 50%;
  width: 180px;
  height: 235px;
  overflow: hidden;
  border: 8px solid rgba(255, 255, 255, 0.9);
  border-radius: 25px;
  box-shadow: 0 24px 48px rgba(74, 44, 91, 0.17);
}

.palette-card::before,
.palette-card::after {
  position: absolute;
  content: "";
}

.palette-card::before {
  right: -30px;
  bottom: -50px;
  width: 220px;
  height: 150px;
  background: rgba(52, 33, 65, 0.72);
  border-radius: 50%;
  transform: rotate(-14deg);
}

.palette-card::after {
  top: 33px;
  right: 30px;
  width: 38px;
  height: 38px;
  background: rgba(255, 250, 237, 0.74);
  border-radius: 50%;
}

.palette-one {
  background: linear-gradient(155deg, #b29ad0, #e6cfe2);
  transform: translateX(-115%) rotate(-8deg) scale(0.88);
}

.palette-two {
  z-index: 2;
  background: linear-gradient(155deg, #9b72b5, #e3b7c8);
  transform: translateX(-50%);
}

.palette-three {
  background: linear-gradient(155deg, #c49a73, #f0cf9b);
  transform: translateX(15%) rotate(8deg) scale(0.88);
}

.palette-visual > i {
  position: absolute;
  z-index: 4;
  right: 16px;
  bottom: 13px;
  width: 110px;
  height: 44px;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(114, 82, 134, 0.09);
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
}

.palette-visual > i::before {
  position: absolute;
  top: 50%;
  right: 15px;
  left: 15px;
  height: 3px;
  background: linear-gradient(90deg, var(--plum) 62%, var(--line) 62%);
  border-radius: 999px;
  content: "";
}

.crop-feature {
  background: linear-gradient(150deg, #fff, #faf4fd);
}

.ratio-visual {
  display: flex;
  align-items: end;
  gap: 18px;
  margin-top: 35px;
}

.ratio-visual span {
  display: grid;
  color: var(--plum-dark);
  background: var(--lilac-soft);
  border: 2px solid rgba(114, 82, 134, 0.17);
  border-radius: 17px;
  place-items: center;
  font-size: 12px;
  font-weight: 850;
}

.ratio-visual span:nth-child(1) { width: 84px; height: 84px; }
.ratio-visual span:nth-child(2) { width: 80px; height: 100px; }
.ratio-visual span:nth-child(3) { width: 68px; height: 121px; }

.watermark-feature {
  background: linear-gradient(155deg, #35213f, #725286);
}

.watermark-feature .mini-kicker,
.watermark-feature h3 {
  color: var(--white);
}

.watermark-feature p {
  color: rgba(255, 255, 255, 0.7);
}

.watermark-visual {
  position: relative;
  display: grid;
  height: 94px;
  margin-top: 28px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.07);
  border-radius: 20px;
  place-items: center;
}

.watermark-visual span {
  color: rgba(255, 255, 255, 0.92);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 17px;
  font-style: italic;
}

.watermark-visual i {
  position: absolute;
  right: 8px;
  bottom: 8px;
  width: 11px;
  height: 11px;
  background: var(--rose);
  border: 2px solid var(--white);
  border-radius: 50%;
}

.local-feature {
  grid-column: 1 / -1;
  min-height: 270px;
  padding-right: 330px;
}

.local-badge {
  position: absolute;
  top: 50%;
  right: 70px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 185px;
  height: 185px;
  color: var(--plum);
  background: radial-gradient(circle at 35% 28%, #fff, var(--lilac-soft));
  border: 1px solid rgba(114, 82, 134, 0.12);
  border-radius: 50%;
  box-shadow: 0 24px 52px rgba(70, 45, 84, 0.12);
  transform: translateY(-50%);
}

.local-badge span {
  font-size: 42px;
  line-height: 1;
}

.local-badge b {
  margin-top: 8px;
  font-size: 12px;
}

.privacy-section {
  background: var(--paper);
}

.privacy-panel {
  display: grid;
  grid-template-columns: 150px minmax(0, 1.1fr) minmax(290px, 0.7fr);
  gap: 45px;
  align-items: center;
  padding: 58px;
  color: var(--white);
  background:
    radial-gradient(circle at 14% 20%, rgba(195, 162, 226, 0.22), transparent 26%),
    linear-gradient(135deg, #2c1935, #684779);
  border-radius: var(--radius-lg);
  box-shadow: 0 34px 80px rgba(52, 31, 65, 0.2);
}

.privacy-mark {
  display: grid;
  width: 132px;
  height: 132px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 37px;
  place-items: center;
}

.privacy-mark span {
  position: relative;
  width: 67px;
  height: 67px;
  border: 7px solid rgba(255, 255, 255, 0.9);
  border-radius: 50%;
}

.privacy-mark span::before {
  position: absolute;
  top: -22px;
  left: 15px;
  width: 25px;
  height: 30px;
  border: 7px solid rgba(255, 255, 255, 0.9);
  border-bottom: 0;
  border-radius: 22px 22px 0 0;
  content: "";
}

.privacy-copy .section-kicker {
  color: #dbc2eb;
}

.privacy-copy h2 {
  color: var(--white);
  font-size: clamp(34px, 4vw, 50px);
}

.privacy-copy p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 15px;
}

.privacy-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 11px;
  margin-top: 27px;
}

.button-light {
  color: var(--plum-dark);
  background: var(--white);
}

.button-ghost {
  min-height: 52px;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.06);
}

.privacy-points {
  margin: 0;
  padding: 0;
  list-style: none;
}

.privacy-points li {
  display: flex;
  gap: 12px;
  padding: 18px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.privacy-points li:last-child {
  border-bottom: 0;
}

.privacy-points li > span {
  display: grid;
  flex: 0 0 26px;
  width: 26px;
  height: 26px;
  color: var(--plum-dark);
  background: #ead9f3;
  border-radius: 50%;
  place-items: center;
  font-size: 12px;
  font-weight: 900;
}

.privacy-points div {
  display: flex;
  flex-direction: column;
  line-height: 1.45;
}

.privacy-points strong {
  font-size: 14px;
}

.privacy-points small {
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 11px;
}

.support-section {
  padding-top: 15px;
  background: var(--paper);
}

.support-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.72fr);
  gap: 60px;
  align-items: center;
  padding: 48px 52px;
  border: 1px solid var(--line);
  background: var(--canvas);
  border-radius: var(--radius-md);
}

.support-card h2 {
  font-size: clamp(30px, 3.4vw, 43px);
}

.support-card p {
  font-size: 14px;
}

.contact-placeholder {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 21px;
  border: 1px dashed rgba(114, 82, 134, 0.28);
  background: var(--white);
  border-radius: 18px;
}

.contact-placeholder span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 750;
}

.contact-placeholder code {
  margin-top: 7px;
  overflow-wrap: anywhere;
  color: var(--plum);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 13px;
}

.site-footer {
  padding: 54px 0 22px;
  background: #27182f;
}

.footer-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 13px;
  color: var(--white);
}

.footer-brand span {
  display: flex;
  flex-direction: column;
  line-height: 1.4;
}

.footer-brand strong {
  font-size: 17px;
}

.footer-brand small {
  color: rgba(255, 255, 255, 0.52);
  font-size: 11px;
}

.footer-grid nav {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  font-weight: 650;
}

.footer-grid nav a:hover {
  color: var(--white);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  margin-top: 35px;
  padding-top: 19px;
  color: rgba(255, 255, 255, 0.36);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 11px;
}

/* Legal pages */

.legal-page {
  background: var(--canvas);
}

.legal-hero {
  position: relative;
  padding: 145px 0 70px;
  overflow: hidden;
  background:
    radial-gradient(circle at 80% 18%, rgba(195, 162, 226, 0.22), transparent 26%),
    linear-gradient(180deg, #fcf9fd, #f8f5fc);
  border-bottom: 1px solid var(--line);
}

.legal-hero::after {
  position: absolute;
  top: 80px;
  right: -100px;
  width: 300px;
  height: 300px;
  border: 1px solid rgba(114, 82, 134, 0.1);
  border-radius: 50%;
  content: "";
}

.legal-hero-inner {
  position: relative;
  z-index: 2;
  max-width: 800px;
}

.legal-breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--plum);
  font-size: 13px;
  font-weight: 740;
}

.legal-hero h1 {
  margin: 17px 0 16px;
  font-size: clamp(44px, 6vw, 70px);
  line-height: 1.08;
  letter-spacing: -0.055em;
}

.legal-hero p {
  max-width: 700px;
  margin: 0;
  color: var(--muted);
  font-size: 17px;
}

.legal-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin-top: 25px;
  color: #776a7d;
  font-size: 12px;
}

.legal-meta span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.legal-meta span::before {
  width: 7px;
  height: 7px;
  background: var(--lilac);
  border-radius: 50%;
  content: "";
}

.legal-content {
  padding: 62px 0 100px;
}

.legal-grid {
  display: grid;
  grid-template-columns: 255px minmax(0, 1fr);
  gap: 42px;
  align-items: start;
}

.policy-toc {
  position: sticky;
  top: 105px;
  min-width: 0;
  padding: 22px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.82);
  border-radius: 21px;
}

.policy-toc strong {
  display: block;
  margin-bottom: 13px;
  color: var(--ink);
  font-size: 13px;
}

.policy-toc nav {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.policy-toc a {
  padding: 7px 9px;
  color: var(--muted);
  border-radius: 9px;
  font-size: 12px;
  line-height: 1.45;
}

.policy-toc a:hover {
  color: var(--plum);
  background: var(--lilac-pale);
}

.policy-article {
  min-width: 0;
  padding: 46px 54px;
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.policy-language {
  min-width: 0;
}

.policy-intro {
  margin: 0 0 34px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.85;
}

.policy-article section {
  min-width: 0;
  margin: 0 0 42px;
  scroll-margin-top: 110px;
}

.policy-article section:last-child {
  margin-bottom: 0;
}

.policy-article h2 {
  margin: 0 0 15px;
  color: var(--ink);
  font-size: 25px;
  line-height: 1.3;
  letter-spacing: -0.025em;
}

.policy-article h3 {
  margin: 26px 0 9px;
  color: var(--ink);
  font-size: 17px;
}

.policy-article p {
  margin: 0 0 14px;
  color: #574b5e;
  font-size: 14px;
  line-height: 1.86;
}

.policy-article ul,
.policy-article ol {
  margin: 12px 0 17px;
  padding-left: 23px;
  color: #574b5e;
  font-size: 14px;
  line-height: 1.82;
}

.policy-article li + li {
  margin-top: 8px;
}

.policy-article strong {
  color: var(--ink);
}

.policy-callout {
  margin: 20px 0;
  padding: 20px 22px;
  color: #493652;
  border: 1px solid rgba(114, 82, 134, 0.14);
  background: var(--lilac-pale);
  border-radius: 17px;
  font-size: 14px;
  line-height: 1.78;
}

.policy-callout strong {
  display: block;
  margin-bottom: 5px;
}

.policy-warning {
  border-color: rgba(168, 79, 114, 0.22);
  background: #fff6f9;
}

.policy-table-wrap {
  max-width: 100%;
  margin: 20px 0;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 16px;
  -webkit-overflow-scrolling: touch;
}

.policy-table {
  width: 100%;
  min-width: 650px;
  border-collapse: collapse;
  font-size: 13px;
}

.policy-table th,
.policy-table td {
  padding: 15px 16px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.policy-table th {
  color: var(--ink);
  background: var(--canvas);
  font-weight: 780;
}

.policy-table td {
  color: #5f5265;
  line-height: 1.65;
}

.policy-table tr:last-child td {
  border-bottom: 0;
}

.policy-placeholder {
  display: inline-block;
  max-width: 100%;
  padding: 2px 8px;
  color: #9a3f64;
  background: #fff0f5;
  border: 1px dashed rgba(154, 63, 100, 0.34);
  border-radius: 7px;
  overflow-wrap: anywhere;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.92em;
}

.policy-contact {
  display: grid;
  gap: 9px;
  margin-top: 18px;
  padding: 20px;
  border: 1px solid var(--line);
  background: var(--canvas);
  border-radius: 16px;
}

.policy-contact p {
  margin: 0;
}

.policy-contact a {
  color: var(--plum);
  font-weight: 700;
  overflow-wrap: anywhere;
}

.legal-note {
  margin-top: 22px;
  color: #8a7c90;
  font-size: 11px;
  line-height: 1.65;
}

@media (max-width: 1060px) {
  .site-nav {
    gap: 17px;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(360px, 0.72fr);
    gap: 32px;
  }

  .floating-chip-top {
    left: 0;
  }

  .floating-chip-bottom {
    right: 0;
  }

  .privacy-panel {
    grid-template-columns: 110px minmax(0, 1fr);
  }

  .privacy-mark {
    width: 105px;
    height: 105px;
  }

  .privacy-points {
    grid-column: 2;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 13px;
  }

  .privacy-points li {
    padding: 15px;
    border: 1px solid rgba(255, 255, 255, 0.11);
    border-radius: 15px;
  }
}

@media (max-width: 900px) {
  .menu-button {
    display: block;
    cursor: pointer;
  }

  .menu-button[aria-expanded="true"] > span:nth-child(2) {
    transform: translateY(7px) rotate(45deg);
  }

  .menu-button[aria-expanded="true"] > span:nth-child(3) {
    opacity: 0;
  }

  .menu-button[aria-expanded="true"] > span:nth-child(4) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .site-nav {
    position: fixed;
    top: 70px;
    right: 18px;
    left: 18px;
    display: none;
    max-height: calc(100vh - 92px);
    padding: 22px;
    overflow-y: auto;
    border: 1px solid var(--line);
    background: rgba(255, 253, 255, 0.98);
    border-radius: 22px;
    box-shadow: var(--shadow-lg);
  }

  .site-nav.is-open {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 5px;
  }

  .site-nav > a {
    padding: 11px 10px;
    border-radius: 10px;
  }

  .site-nav > a:hover {
    background: var(--lilac-pale);
  }

  .language-switch {
    align-self: flex-start;
    margin-top: 9px;
  }

  .hero {
    padding-top: 125px;
  }

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

  .hero-copy {
    max-width: 720px;
  }

  .hero-product {
    min-height: 680px;
  }

  .floating-chip-top {
    left: 13%;
  }

  .floating-chip-bottom {
    right: 13%;
  }

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

  .workflow-card {
    min-height: 0;
  }

  .feature-large {
    grid-template-columns: 1fr;
    padding-bottom: 20px;
  }

  .palette-visual {
    max-width: 550px;
    width: 100%;
    margin: 0 auto;
  }

  .local-feature {
    padding-right: 270px;
  }

  .privacy-panel {
    grid-template-columns: 1fr;
  }

  .privacy-mark {
    display: none;
  }

  .privacy-points {
    grid-column: 1;
  }

  .support-card {
    grid-template-columns: 1fr;
    gap: 25px;
  }

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

  .policy-toc {
    position: static;
  }

  .policy-toc nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  .shell {
    width: min(calc(100% - 32px), var(--shell));
  }

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

  .brand img {
    width: 40px;
    height: 40px;
  }

  .hero {
    min-height: auto;
    padding: 112px 0 55px;
  }

  .hero h1 {
    font-size: clamp(44px, 13vw, 64px);
  }

  .hero-lede {
    font-size: 16px;
  }

  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 18px;
  }

  .trust-list {
    flex-direction: column;
    gap: 10px;
  }

  .hero-product {
    min-height: 640px;
  }

  .phone-frame {
    width: 300px;
  }

  .phone-screen {
    min-height: 580px;
  }

  .floating-chip-top {
    top: 82px;
    left: 0;
  }

  .floating-chip-bottom {
    right: 0;
    bottom: 82px;
  }

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

  .proof-grid > div {
    min-height: 96px;
    border-bottom: 1px solid var(--line);
  }

  .proof-grid > div:nth-child(odd) {
    border-left: 1px solid var(--line);
  }

  .section {
    padding: 82px 0;
  }

  .section-heading {
    margin-bottom: 36px;
  }

  .section-heading h2,
  .privacy-copy h2,
  .support-card h2 {
    font-size: 35px;
  }

  .section-heading p,
  .privacy-copy p {
    font-size: 15px;
  }

  .split-heading {
    grid-template-columns: 1fr;
    gap: 5px;
  }

  .workflow-card,
  .feature-tile {
    padding: 25px;
  }

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

  .feature-large,
  .local-feature {
    grid-column: auto;
  }

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

  .palette-card {
    width: 145px;
    height: 205px;
  }

  .local-feature {
    padding-right: 25px;
    padding-bottom: 238px;
  }

  .local-badge {
    top: auto;
    right: 50%;
    bottom: 25px;
    width: 170px;
    height: 170px;
    transform: translateX(50%);
  }

  .privacy-panel {
    gap: 25px;
    padding: 34px 27px;
    border-radius: 31px;
  }

  .privacy-points {
    grid-template-columns: 1fr;
  }

  .support-section {
    padding-top: 10px;
  }

  .support-card {
    padding: 32px 25px;
  }

  .footer-grid,
  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-grid nav {
    gap: 14px 20px;
  }

  .legal-hero {
    padding: 118px 0 52px;
  }

  .legal-hero h1 {
    font-size: 45px;
  }

  .legal-content {
    padding: 38px 0 70px;
  }

  .legal-grid {
    gap: 24px;
  }

  .policy-toc nav {
    grid-template-columns: 1fr;
  }

  .policy-article {
    padding: 30px 22px;
  }

  .policy-article h2 {
    font-size: 22px;
  }
}

@media (max-width: 390px) {
  .hero-product {
    margin-inline: -8px;
  }

  .phone-frame {
    width: 278px;
  }

  .phone-screen {
    min-height: 550px;
  }

  .floating-chip-top {
    top: 87px;
    left: 2px;
    padding: 9px 11px;
  }

  .floating-chip-bottom {
    right: 2px;
    padding: 9px 11px;
  }

  .ratio-visual {
    gap: 10px;
  }

  .palette-card {
    width: 132px;
  }

  .policy-article {
    padding-right: 18px;
    padding-left: 18px;
  }
}

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

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

@media print {
  .site-header,
  .site-footer,
  .policy-toc,
  .language-switch,
  .skip-link {
    display: none !important;
  }

  body,
  .legal-page {
    color: #000;
    background: #fff;
  }

  .legal-hero {
    padding: 24px 0;
    background: #fff;
  }

  .legal-content {
    padding: 20px 0;
  }

  .legal-grid {
    display: block;
  }

  .policy-article {
    padding: 0;
    border: 0;
    box-shadow: none;
  }

  .policy-article section {
    break-inside: avoid;
  }

  .policy-table-wrap {
    overflow: visible;
  }

  .policy-table {
    min-width: 0;
  }
}
