:root {
  color-scheme: light;
  --ink: #211936;
  --muted: #615972;
  --violet: #5737bf;
  --paper: #f9f7fd;
  --lavender: #e9e2fa;
  --line: #ded7ee;
  --display: 'Instrument Serif', Georgia, serif;
  --body: 'DM Sans', system-ui, sans-serif;
}

* { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 16px/1.55 var(--body); }
a { color: inherit; }
a:focus-visible { outline: 3px solid #8865e8; outline-offset: 4px; }
.shell { width: min(1180px, calc(100% - 64px)); margin-inline: auto; }
.site-header, .site-footer, .site-header nav, .identity { display: flex; align-items: center; gap: 24px; }
.site-header { min-height: 83px; justify-content: space-between; }
.site-header a, .site-footer a { text-decoration: none; }
.site-header nav a:hover, .site-footer a:hover { text-decoration: underline; }
.identity { font-weight: 700; gap: 10px; }
.brand-mark { position: relative; width: 34px; height: 34px; background: var(--violet); border-radius: 10px; flex: none; }
.brand-mark::before, .brand-mark::after {
  content: ''; position: absolute; width: 12px; height: 8px; top: 13px; background: white;
}
.brand-mark::before { left: 6px; clip-path: polygon(0 0, 100% 34%, 100% 100%, 32% 72%); }
.brand-mark::after { right: 6px; clip-path: polygon(0 34%, 100% 0, 68% 72%, 0 100%); }
.site-header nav { font-size: .9rem; font-weight: 600; }
.owner-link { border: 1px solid var(--line); border-radius: 999px; padding: 8px 16px; }

.hero { display: grid; grid-template-columns: 1fr minmax(0, .97fr); align-items: center; gap: clamp(26px, 6vw, 84px); padding: 34px 0 54px; }
h1, h2, .sample-title { font-family: var(--display); font-weight: 400; }
h1 { margin: 0 0 20px; font-size: clamp(4rem, 7.8vw, 7.15rem); letter-spacing: -.055em; line-height: .87; }
h1 em { color: var(--violet); font-weight: inherit; }
.hero-copy > p { color: var(--muted); max-width: 46ch; }
.actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 24px; }
.button { display: inline-flex; min-height: 46px; align-items: center; justify-content: center; gap: 8px; border: 1px solid var(--violet); border-radius: 10px; padding: 10px 16px; background: var(--violet); color: #fff; font-size: .91rem; font-weight: 700; text-decoration: none; }
.button:hover { background: #42239e; }
.button.secondary { color: var(--ink); background: transparent; border-color: var(--line); }
.button.secondary:hover { background: #fff; border-color: var(--violet); }
.hero .offer-note { color: var(--muted); font-size: .84rem; margin: 11px 0 0; }

.preview { min-height: 415px; display: grid; place-items: center; padding: 34px; border-radius: 24px; overflow: hidden; isolation: isolate; position: relative; background: #2b2046; background-image: repeating-linear-gradient(130deg, transparent 0 48px, #ffffff0a 49px 50px); }
.preview::before { content: ''; position: absolute; z-index: -1; width: 320px; aspect-ratio: 1; border: 1px solid #ac94dc75; border-radius: 50%; top: -110px; right: -100px; box-shadow: 0 0 0 28px #ac94dc12, 0 0 0 56px #ac94dc0d; }
.preview-sheet { width: min(100%, 340px); padding: 29px 24px 23px; border: 1px solid #f9efff; background: #fbf4ff; box-shadow: 12px 15px 0 #ad93d6aa, 0 24px 50px #170e2c85; transform: rotate(-4deg); }
.sample-top { display: flex; justify-content: space-between; gap: 8px; font-size: .69rem; font-weight: 700; letter-spacing: .13em; }
.sample-top [lang] { letter-spacing: normal; }
.sample-title { margin: 4px 0 12px; font-size: clamp(2.5rem, 5vw, 4rem); line-height: 1; }
.sample-row { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; border-top: 1px solid var(--line); padding: 9px 0; font-size: .82rem; }
.sample-row strong { flex: none; color: var(--violet); font-size: .75rem; }
.sample-link { display: inline-block; margin-top: 14px; color: var(--violet); font-size: .78rem; font-weight: 700; }

.section { border-top: 1px solid var(--line); padding: 44px 0; }
h2 { margin: 0 0 14px; font-size: clamp(2.55rem, 5vw, 4.15rem); letter-spacing: -.035em; line-height: 1; }
.steps { list-style: none; counter-reset: step; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; padding: 0; margin: 26px 0 0; }
.steps li { counter-increment: step; border-top: 1px solid var(--line); padding-top: 14px; }
.steps li::before { content: counter(step, decimal-leading-zero); color: var(--violet); font-size: .85rem; font-weight: 700; }
.steps h3, .plan h3 { font-size: 1rem; margin: 6px 0; }
.steps p, .plan p, .pricing-intro p { margin: 0; color: var(--muted); }
.pricing { display: grid; justify-items: start; gap: 20px; }
.plans { width: 100%; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 15px; }
.plan { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 22px; }
.plan.featured { background: var(--lavender); border-color: #c9b9ee; }
.plan .price { margin: 4px 0 10px; color: var(--ink); font-size: clamp(2.4rem, 6vw, 3.25rem); font-weight: 700; line-height: 1.1; letter-spacing: -.06em; }
.price span, .price small { font-size: .92rem; letter-spacing: 0; }
.plan .renewal { margin-top: 5px; font-size: .85rem; }
.site-footer { border-top: 1px solid var(--line); padding-block: 21px 30px; font-size: .86rem; color: var(--muted); flex-wrap: wrap; }
.site-footer span { margin-inline-end: auto; }

@media (max-width: 800px) {
  .shell { width: calc(100% - 40px); }
  .hero { grid-template-columns: 1fr; padding-top: 24px; }
  .preview { min-height: 330px; }
}
@media (max-width: 480px) {
  .shell { width: calc(100% - 32px); }
  .site-header { min-height: 66px; gap: 12px; }
  .site-header nav { gap: 10px; }
  .site-header nav a:first-child { display: none; }
  .identity { font-size: .85rem; gap: 6px; }
  .owner-link { padding: 6px 10px; white-space: nowrap; }
  h1 { font-size: clamp(3.2rem, 11.5vw, 4rem); }
  .preview { min-height: 285px; padding: 25px; }
  .preview-sheet { padding: 20px 16px; }
  .steps, .plans { grid-template-columns: 1fr; gap: 15px; }
  .section { padding-block: 34px; }
}
