:root {
  color-scheme: light;
  --page: #fdfdff;
  --surface: #ffffff;
  --surface-soft: #f5f4ff;
  --ink: #1d1d27;
  --muted: #636574;
  --line: #e8e7f0;
  --accent: #5b50cf;
  --accent-hover: #493dbd;
  --accent-ink: #ffffff;
  --focus: #d57636;
  --shadow: 0 30px 80px rgba(49, 40, 124, .10);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Arial Nova", sans-serif;
  -webkit-font-smoothing: antialiased;
  -webkit-user-select: none;
  user-select: none;
}
input, textarea, [contenteditable="true"] {
  -webkit-user-select: text;
  user-select: text;
}
a { color: inherit; }
a:focus-visible { outline: 3px solid var(--focus); outline-offset: 4px; }
.skip-link {
  position: absolute;
  z-index: 10;
  top: -100px;
  left: 20px;
  padding: 12px 16px;
  border-radius: 12px;
  background: var(--ink);
  color: var(--surface);
}
.skip-link:focus { top: 12px; }

.site-header {
  position: relative;
  z-index: 2;
  height: 76px;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}
.header-inner, .footer-inner {
  width: min(100% - 48px, 1360px);
  height: 100%;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  white-space: nowrap;
}
.brand-mark {
  width: 30px;
  height: 30px;
  display: grid;
  gap: 3px;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  padding: 7px;
  border-radius: 9px;
  background: var(--accent);
  box-shadow: 0 5px 12px rgba(91, 80, 207, .20);
}
.brand-mark span {
  height: 13px;
  border-radius: 2px;
  background: #fff;
}
.brand-mark span:last-child { height: 8px; align-self: end; opacity: .85; }
.brand-name { font-size: 18px; font-weight: 750; letter-spacing: -.045em; }
.brand-period { color: var(--accent); }
.header-actions { display: flex; align-items: center; gap: 8px; }
.nav-button, .button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border: 1px solid transparent;
  text-decoration: none;
  white-space: nowrap;
  font-weight: 650;
  transition: background .2s ease, border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.nav-button { min-height: 42px; padding: 0 17px; border-radius: 11px; font-size: 14px; }
.nav-button-primary, .button-primary { background: var(--accent); color: var(--accent-ink); }
.nav-button-primary:hover, .button-primary:hover { background: var(--accent-hover); box-shadow: 0 8px 20px rgba(91, 80, 207, .20); }
.nav-button-secondary { color: var(--ink); border-color: var(--line); background: var(--surface); }
.nav-button-secondary:hover, .button-outline:hover { background: var(--surface-soft); border-color: #ccc8ed; }
.nav-button:active, .button:active { transform: translateY(1px); }

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: min(740px, 90dvh);
  padding: 54px 24px 86px;
  display: grid;
  align-items: center;
}
.hero-rings {
  position: absolute;
  z-index: -1;
  width: 1120px;
  height: 1120px;
  left: calc(50% - 560px);
  top: -168px;
  border: 1px solid #e9e7f5;
  border-radius: 50%;
  pointer-events: none;
}
.hero-rings::before, .hero-rings::after {
  content: "";
  position: absolute;
  border: 1px solid #f0eff8;
  border-radius: 50%;
  inset: 125px;
}
.hero-rings::after { inset: 250px; }
.hero-layout {
  width: min(100%, 1640px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(270px, .68fr) minmax(0, 1.32fr);
  align-items: center;
  gap: clamp(12px, 2vw, 36px);
}
.hero-mascot {
  align-self: end;
  display: flex;
  justify-content: center;
  max-height: 620px;
  overflow: hidden;
  pointer-events: none;
}
.hero-mascot img {
  display: block;
  width: min(100%, 425px);
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 28px 35px rgba(39, 42, 83, .12));
}
.hero-content { width: 100%; text-align: center; }
.trial-badge {
  display: inline-block;
  margin: 0 0 28px;
  padding: 10px 17px;
  border: 1px solid #ddd9fb;
  border-radius: 999px;
  background: #f1efff;
  color: #5145c1;
  font-size: 13px;
  font-weight: 750;
  letter-spacing: .01em;
}
h1, h2, p, blockquote, figure { margin-top: 0; }
h1, h2 { letter-spacing: -.058em; }
.hero h1 {
  max-width: 1020px;
  margin: 0 auto 24px;
  font-size: clamp(66px, 6.3vw, 106px);
  line-height: 1.06;
  font-weight: 770;
  text-wrap: balance;
}
.hero-product-name, .hero-service { display: block; }
.hero-product-name { white-space: nowrap; }
.hero-service {
  margin-top: 14px;
  font-size: .51em;
  font-weight: 720;
  line-height: 1.16;
  letter-spacing: -.045em;
}
.hero-service strong { font-weight: inherit; }
.hero-service strong, .registration-page h1 span {
  display: block;
  padding-bottom: .06em;
  background: linear-gradient(95deg, #eb843f 13%, #c55299 49%, #5a4ad4 85%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-lead {
  max-width: 700px;
  margin: 0 auto;
  color: var(--muted);
  font-size: clamp(17px, 2vw, 20px);
  line-height: 1.5;
  text-wrap: balance;
}
.hero-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.button { min-height: 56px; padding: 0 26px; border-radius: 13px; font-size: 16px; }
.button-outline { border-color: #d9d8e3; background: var(--surface); color: var(--ink); }
.button span { font-size: 20px; font-weight: 400; line-height: 1; }

.example-section { width: min(100% - 48px, 1160px); margin: -22px auto 0; padding-bottom: 120px; }
.section-intro { max-width: 670px; margin-bottom: 36px; }
.section-kicker { color: var(--accent); font-size: 13px; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; }
.section-intro h2, .time-heading h2, .approach-copy h2 { margin: 0 0 18px; font-size: clamp(36px, 4.6vw, 62px); line-height: 1.08; font-weight: 760; text-wrap: balance; }
.section-intro > p:last-child, .time-detail > p, .approach-copy p { color: var(--muted); font-size: 18px; line-height: 1.6; }
.example-board {
  overflow: hidden;
  margin: 0;
  padding: 28px;
  border: 1px solid #e2def6;
  border-radius: 24px;
  background: radial-gradient(circle at 88% 12%, #fbecf9 0, transparent 36%), linear-gradient(130deg, #f5f3ff, #f9f9fe 70%);
  box-shadow: var(--shadow);
}
.example-topline { display: flex; justify-content: space-between; gap: 16px; color: #444257; font-size: 13px; font-weight: 700; }
.example-label { color: #75718c; font-weight: 550; }
.example-flow { display: grid; grid-template-columns: 1fr 64px 1fr; align-items: center; gap: 14px; margin: 25px 0 22px; }
.flow-item {
  min-height: 255px;
  padding: 28px;
  border: 1px solid #e9e6f4;
  border-radius: 17px;
  background: var(--surface);
  box-shadow: 0 10px 30px rgba(49, 40, 124, .05);
}
.flow-label { margin-bottom: 24px; color: var(--accent); font-size: 12px; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; }
.rating { margin-bottom: 10px; color: #dc8d38; font-size: 18px; letter-spacing: .12em; }
.flow-item blockquote, .reply-text { max-width: 410px; margin-bottom: 24px; font-size: clamp(18px, 2vw, 22px); font-weight: 620; line-height: 1.4; letter-spacing: -.025em; }
.flow-note { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.4; }
.flow-connector { display: grid; place-items: center; color: var(--accent); font-size: 30px; }
.flow-connector span { width: 48px; height: 48px; display: grid; place-items: center; border: 1px solid #ddd9f1; border-radius: 50%; background: var(--surface); }
.example-board figcaption { color: #69677b; font-size: 14px; line-height: 1.5; }

.time-section {
  width: min(100% - 48px, 1160px);
  margin: 0 auto;
  padding: 0 0 110px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .8fr);
  gap: clamp(40px, 8vw, 130px);
  align-items: end;
}
.time-heading h2 { max-width: 620px; margin-bottom: 0; }
.time-heading h2 span { color: var(--accent); }
.time-detail { padding-bottom: 4px; }
.time-detail .time-lead { margin-bottom: 18px; color: var(--ink); font-size: 22px; font-weight: 640; line-height: 1.4; letter-spacing: -.03em; }
.time-detail > p:last-child { margin-bottom: 0; }
.approach-section {
  width: min(100% - 48px, 1160px);
  margin: 0 auto 130px;
  padding: 48px 0 0;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: minmax(0, .65fr) minmax(0, 1fr);
  gap: 60px;
  align-items: start;
}
.approach-number { color: var(--accent); font-size: clamp(85px, 11vw, 160px); font-weight: 780; letter-spacing: -.1em; line-height: .9; }
.approach-number span { font-size: .5em; vertical-align: top; letter-spacing: -.06em; }
.approach-copy { max-width: 580px; }
.approach-copy h2 { font-size: clamp(32px, 4vw, 51px); }
.approach-copy p { margin-bottom: 0; }

.registration-page { min-height: calc(100dvh - 150px); padding: 100px 24px; display: grid; place-items: center; text-align: center; }
.registration-content { width: min(100%, 850px); }
.registration-page h1 { margin: 0 auto 24px; font-size: clamp(42px, 6vw, 76px); line-height: 1.07; font-weight: 770; }
.registration-page p:not(.trial-badge) { max-width: 620px; margin: 0 auto; color: var(--muted); font-size: 19px; line-height: 1.55; }
.site-footer { height: 74px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }

@media (max-width: 760px) {
  .site-header { height: 68px; }
  .header-inner, .footer-inner { width: min(100% - 32px, 1360px); }
  .brand-name { font-size: 16px; }
  .nav-button { padding: 0 11px; min-height: 39px; font-size: 12px; }
  .hero { min-height: 0; padding: 54px 16px 70px; }
  .hero-rings { width: 800px; height: 800px; left: calc(50% - 400px); top: -70px; }
  .hero-layout { grid-template-columns: 1fr; gap: 12px; }
  .hero-content { grid-row: 1; }
  .hero-mascot { grid-row: 2; max-height: 320px; }
  .hero-mascot img { width: min(58vw, 230px); }
  .hero h1 { font-size: clamp(44px, 8vw, 62px); }
  .hero-service { font-size: .58em; }
  .example-section { width: min(100% - 32px, 1160px); margin-top: 0; padding-bottom: 90px; }
  .example-board { padding: 20px; }
  .example-flow { grid-template-columns: 1fr; gap: 10px; }
  .flow-item { min-height: 0; padding: 23px; }
  .flow-connector { transform: rotate(90deg); }
  .time-section, .approach-section { width: min(100% - 32px, 1160px); grid-template-columns: 1fr; gap: 25px; }
  .time-section { padding-bottom: 80px; }
  .approach-section { margin-bottom: 90px; gap: 30px; }
  .site-footer { min-height: 74px; height: auto; padding: 20px 0; }
  .footer-inner { gap: 10px; align-items: flex-start; flex-direction: column; }
}

@media (max-width: 440px) {
  .brand-name { font-size: 15px; }
  .brand-mark { width: 25px; height: 25px; padding: 6px; }
  .hero { padding-top: 42px; }
  .hero h1 { font-size: clamp(39px, 10vw, 46px); }
  .hero-lead { font-size: 17px; }
  .hero-actions { gap: 10px; }
  .hero-actions .button { width: 100%; }
  .hero-mascot { max-height: 270px; }
  .hero-mascot img { width: min(56vw, 190px); }
  .example-topline { flex-direction: column; gap: 5px; }
  .section-intro h2, .time-heading h2 { font-size: 38px; }
  .registration-page { padding: 72px 16px; }
  .registration-page h1 { font-size: 42px; }
}

@media (max-width: 360px) {
  .brand-mark { display: none; }
  .brand-name { font-size: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .nav-button, .button { transition: none; }
}
