:root {
  color-scheme: light;
  --page: #f8f9fc;
  --page-warm: #fbf8f3;
  --surface: #ffffff;
  --surface-soft: #f1f4f9;
  --text: #172033;
  --text-secondary: #5f6c82;
  --text-tertiary: #8993a6;
  --stroke: rgba(26, 43, 70, 0.12);
  --stroke-strong: rgba(26, 43, 70, 0.2);
  --blue: #3478f6;
  --blue-deep: #1d63dc;
  --blue-soft: #eaf1ff;
  --coral: #f26b4a;
  --coral-soft: #fff0eb;
  --green: #229864;
  --green-soft: #e9f7f0;
  --shadow: 0 26px 70px rgba(31, 52, 83, 0.14), 0 7px 22px rgba(31, 52, 83, 0.06);
  --small-shadow: 0 14px 38px rgba(31, 52, 83, 0.08);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 14% 6%, rgba(91, 149, 255, 0.14), transparent 30rem),
    linear-gradient(180deg, #fbfcfe 0, var(--page) 52%, #f4f6fa 100%);
  font-size: 16px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }
img { display: block; max-width: 100%; }
button, input { font: inherit; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { text-wrap: balance; }
p { text-wrap: pretty; }

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

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  border-radius: 10px;
  color: #fff;
  background: var(--blue-deep);
  transform: translateY(-160%);
}

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

.site-header {
  display: grid;
  grid-template-columns: auto 1fr auto;
  min-height: 82px;
  align-items: center;
  gap: 30px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand img {
  width: 42px;
  height: 42px;
  border-radius: 11px;
  box-shadow: 0 7px 18px rgba(31, 73, 145, 0.16);
}

.brand span {
  font-weight: 760;
  letter-spacing: -0.025em;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 26px;
}

.site-nav a,
.language-link {
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 650;
  text-decoration: none;
}

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

.site-nav a[aria-current="page"] { text-decoration: underline; text-underline-offset: 6px; }

.header-actions {
  display: flex;
  align-items: center;
  gap: 15px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 12px 19px;
  border: 1px solid transparent;
  border-radius: 14px;
  font-size: 14px;
  font-weight: 720;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
}

.button:hover { transform: translateY(-1px); }
.button:focus-visible, a:focus-visible, summary:focus-visible { outline: 3px solid rgba(52, 120, 246, 0.36); outline-offset: 3px; }

.button-primary {
  color: #fff;
  background: linear-gradient(145deg, var(--blue), var(--blue-deep));
  box-shadow: 0 10px 24px rgba(52, 120, 246, 0.22);
}

.button-primary:hover { box-shadow: 0 13px 30px rgba(52, 120, 246, 0.28); }

.button-secondary {
  color: var(--text);
  border-color: var(--stroke);
  background: rgba(255, 255, 255, 0.76);
}

.button-small { min-height: 40px; padding: 9px 15px; border-radius: 12px; font-size: 13px; }

.eyebrow {
  margin-bottom: 13px;
  color: var(--blue-deep);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  line-height: 1.35;
  text-transform: uppercase;
}

.hero {
  display: grid;
  grid-template-columns: minmax(360px, 0.82fr) minmax(520px, 1.18fr);
  min-height: 680px;
  align-items: center;
  gap: 58px;
  padding-block: 54px 90px;
}

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

.hero h1 {
  max-width: 720px;
  margin-bottom: 25px;
  font-size: clamp(48px, 5.1vw, 76px);
  font-weight: 820;
  letter-spacing: -0.065em;
  line-height: 0.98;
}

.hero-lead {
  max-width: 650px;
  margin-bottom: 28px;
  color: var(--text-secondary);
  font-size: clamp(18px, 1.65vw, 21px);
  line-height: 1.62;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.app-store-note {
  margin: 17px 0 0;
  color: var(--text-tertiary);
  font-size: 12px;
}

.hero-visual {
  position: relative;
  margin: 0;
  border: 1px solid rgba(29, 48, 77, 0.1);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.62);
  box-shadow: var(--shadow);
  overflow: hidden;
  transform: rotate(0.5deg);
}

.hero-visual::before {
  position: absolute;
  z-index: -1;
  width: 70%;
  height: 70%;
  border-radius: 50%;
  background: rgba(52, 120, 246, 0.18);
  content: "";
  filter: blur(56px);
  inset: 15% 10% auto auto;
}

.hero-visual img { width: 100%; height: auto; }

.answer-strip {
  padding: 46px 52px;
  border: 1px solid var(--stroke);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--small-shadow);
}

.answer-strip h2 {
  max-width: 840px;
  margin-bottom: 14px;
  font-size: clamp(29px, 3vw, 44px);
  letter-spacing: -0.045em;
  line-height: 1.1;
}

.answer-strip > p:not(.eyebrow) {
  max-width: 850px;
  margin-bottom: 24px;
  color: var(--text-secondary);
  font-size: 17px;
}

.fact-list {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.fact-list li {
  padding: 8px 12px;
  border: 1px solid rgba(52, 120, 246, 0.14);
  border-radius: 999px;
  color: var(--blue-deep);
  background: var(--blue-soft);
  font-size: 12px;
  font-weight: 700;
}

.section { padding-block: 112px; }
.section-soft { background: rgba(234, 239, 247, 0.55); }

.section-heading {
  max-width: 760px;
  margin-bottom: 42px;
}

.section-heading.centered { margin-inline: auto; text-align: center; }
.section-heading.compact { margin-bottom: 28px; }

.section-heading h2,
.download-panel h2,
.privacy-strip h2,
.contact-panel h2 {
  margin-bottom: 14px;
  font-size: clamp(30px, 3.2vw, 46px);
  letter-spacing: -0.05em;
  line-height: 1.12;
}

.section-heading p:not(.eyebrow),
.download-panel p,
.privacy-strip p,
.contact-panel p {
  margin-bottom: 0;
  color: var(--text-secondary);
}

.split-heading {
  display: flex;
  max-width: none;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
}

.use-case-grid,
.feature-grid,
.guide-grid,
.screenshot-grid,
.note-grid {
  display: grid;
  gap: 18px;
}

.use-case-grid { grid-template-columns: repeat(3, 1fr); }
.feature-grid { grid-template-columns: repeat(3, 1fr); }
.guide-grid { grid-template-columns: repeat(2, 1fr); }
.guide-grid-large { grid-template-columns: repeat(2, 1fr); margin-bottom: 80px; }
.screenshot-grid { grid-template-columns: repeat(3, 1fr); }
.note-grid { grid-template-columns: repeat(2, 1fr); }

.use-case-card,
.feature-card,
.guide-card,
.content-card,
.contact-panel,
.privacy-summary {
  border: 1px solid var(--stroke);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--small-shadow);
}

.use-case-card { min-height: 260px; padding: 29px; }
.use-case-card.coral { background: linear-gradient(145deg, #fff, var(--coral-soft)); }
.use-case-card.blue { background: linear-gradient(145deg, #fff, var(--blue-soft)); }
.use-case-card.green { background: linear-gradient(145deg, #fff, var(--green-soft)); }

.use-case-card > span,
.feature-card > span,
.guide-card-mark {
  display: inline-grid;
  width: 42px;
  height: 42px;
  margin-bottom: 28px;
  place-items: center;
  border-radius: 13px;
  color: var(--blue-deep);
  background: rgba(255, 255, 255, 0.78);
  font-size: 19px;
  font-weight: 800;
}

.use-case-card h3,
.feature-card h3,
.guide-card h3,
.note-grid h3,
.steps-list h3 {
  margin-bottom: 9px;
  font-size: 19px;
  letter-spacing: -0.025em;
  line-height: 1.28;
}

.use-case-card p,
.feature-card p,
.guide-card p,
.note-grid p,
.steps-list p {
  margin-bottom: 0;
  color: var(--text-secondary);
  font-size: 14px;
}

.feature-card { min-height: 230px; padding: 27px; }
.feature-card > span { margin-bottom: 25px; color: var(--coral); background: var(--coral-soft); }

.screenshot-grid figure { margin: 0; }

.screenshot-grid img {
  width: 100%;
  height: auto;
  border: 1px solid var(--stroke);
  border-radius: 18px;
  box-shadow: var(--small-shadow);
}

.screenshot-grid figcaption,
.guide-figure figcaption {
  padding: 12px 5px 0;
  color: var(--text-secondary);
  font-size: 13px;
  text-align: center;
}

.guide-card {
  display: grid;
  grid-template-columns: auto 1fr;
  min-height: 220px;
  align-items: start;
  gap: 20px;
  padding: 27px;
}

.guide-card-mark { margin: 0; color: var(--coral); background: var(--coral-soft); }
.guide-card .eyebrow { margin-bottom: 8px; font-size: 9px; }
.guide-card h3 a { text-decoration: none; }
.guide-card h3 a::after { content: " →"; color: var(--blue); }

.text-link {
  flex: none;
  color: var(--blue-deep);
  font-size: 14px;
  font-weight: 750;
  text-decoration: none;
}

.privacy-strip {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 25px;
  margin-block: 86px;
  padding: 30px 34px;
  border: 1px solid rgba(34, 152, 100, 0.18);
  border-radius: 22px;
  background: rgba(233, 247, 240, 0.88);
}

.privacy-mark {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--green);
  font-size: 20px;
  font-weight: 800;
}

.privacy-strip h2 { margin-bottom: 4px; font-size: 23px; }
.privacy-strip p { font-size: 14px; }

.download-panel {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 26px;
  margin-block: 86px 110px;
  padding: 38px 42px;
  border: 1px solid rgba(52, 120, 246, 0.16);
  border-radius: 26px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(234, 241, 255, 0.92));
  box-shadow: var(--small-shadow);
}

.download-panel > img { border-radius: 18px; box-shadow: 0 10px 25px rgba(31, 73, 145, 0.16); }
.download-panel h2 { margin-bottom: 5px; font-size: 28px; }
.download-actions { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.download-actions small { color: var(--text-tertiary); font-size: 10px; }

.site-footer {
  display: flex;
  min-height: 90px;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  border-top: 1px solid var(--stroke);
  color: var(--text-secondary);
  font-size: 12px;
}

.site-footer nav { display: flex; flex-wrap: wrap; gap: 20px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--text); }

.page-main { padding-bottom: 30px; }

.page-intro {
  max-width: 820px;
  padding-block: 86px 58px;
}

.page-intro.wide-intro { max-width: 920px; }

.page-intro h1,
.guide-hero h1 {
  margin-bottom: 20px;
  font-size: clamp(44px, 6vw, 74px);
  font-weight: 820;
  letter-spacing: -0.06em;
  line-height: 1.02;
}

.page-intro > p:not(.eyebrow, .page-meta),
.guide-lead {
  max-width: 760px;
  margin-bottom: 20px;
  color: var(--text-secondary);
  font-size: 19px;
}

.page-meta {
  margin-bottom: 0;
  color: var(--text-tertiary);
  font-size: 12px;
}

.content-card { margin-bottom: 24px; padding: clamp(28px, 5vw, 58px); }

.policy-content { max-width: 900px; }
.policy-content section + section { margin-top: 42px; padding-top: 37px; border-top: 1px solid var(--stroke); }
.policy-content h2 { margin-bottom: 13px; font-size: 23px; letter-spacing: -0.03em; }
.policy-content p, .policy-content li { color: var(--text-secondary); }
.policy-content ul { padding-left: 22px; }

.contact-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 35px;
  margin-block: 55px 100px;
  padding: 36px 40px;
}

.contact-panel > div { max-width: 720px; }
.contact-panel h2 { margin-bottom: 7px; font-size: 30px; }

.privacy-summary {
  display: flex;
  max-width: 900px;
  align-items: start;
  gap: 18px;
  margin-block: 24px 100px;
  padding: 24px 27px;
  background: var(--green-soft);
}

.privacy-summary > span { color: var(--green); font-size: 22px; font-weight: 800; }
.privacy-summary p { margin: 4px 0 0; color: var(--text-secondary); font-size: 13px; }

.faq-list { display: grid; gap: 12px; }

.faq-list details {
  border: 1px solid var(--stroke);
  border-radius: 15px;
  background: var(--surface-soft);
}

.faq-list summary {
  padding: 17px 48px 17px 19px;
  cursor: pointer;
  font-weight: 700;
  list-style: none;
  position: relative;
}

.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { position: absolute; right: 19px; color: var(--blue); content: "+"; font-size: 19px; inset-block-start: 13px; }
.faq-list details[open] summary::after { content: "–"; }
.faq-list details p { margin: 0; padding: 0 19px 18px; color: var(--text-secondary); }

.steps-list {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: steps;
}

.steps-list li {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 18px;
  padding-block: 23px;
  counter-increment: steps;
}

.steps-list li + li { border-top: 1px solid var(--stroke); }
.steps-list li::before {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 50%;
  color: var(--blue-deep);
  background: var(--blue-soft);
  content: counter(steps);
  font-size: 13px;
  font-weight: 800;
}

.compact-steps { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 30px; }
.compact-steps li:nth-child(2) { border-top: none; }

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  padding-top: 42px;
  color: var(--text-tertiary);
  font-size: 12px;
}

.breadcrumbs a { color: var(--text-secondary); text-decoration: none; }
.breadcrumbs a:hover { color: var(--text); }

.guide-main { max-width: 1080px; }
.guide-article { max-width: 850px; margin-inline: auto; }
.guide-hero { padding-block: 58px 35px; }
.guide-hero h1 { font-size: clamp(42px, 5.7vw, 70px); }

.quick-answer {
  margin-bottom: 36px;
  padding: 26px 29px;
  border-left: 4px solid var(--blue);
  border-radius: 0 17px 17px 0;
  background: var(--blue-soft);
}

.quick-answer .eyebrow { margin-bottom: 7px; }
.quick-answer > p:last-child { margin-bottom: 0; font-size: 17px; }

.guide-figure { margin: 0 0 60px; }
.guide-figure img { width: 100%; height: auto; border: 1px solid var(--stroke); border-radius: 22px; box-shadow: var(--small-shadow); }

.guide-section { margin-block: 64px; }
.guide-section > h2 { margin-bottom: 25px; font-size: 34px; letter-spacing: -0.045em; }
.note-grid article { padding: 24px; border: 1px solid var(--stroke); border-radius: 17px; background: var(--surface); }

.related-section { margin-block: 100px 20px; }

@media (max-width: 1050px) {
  .site-header { grid-template-columns: auto 1fr; }
  .site-nav { display: none; }
  .header-actions { justify-self: end; }
  .hero { grid-template-columns: 1fr; min-height: 0; padding-top: 75px; }
  .hero-copy { max-width: 790px; text-align: center; margin-inline: auto; }
  .hero-lead { margin-inline: auto; }
  .hero-actions { justify-content: center; }
  .hero-visual { max-width: 850px; margin-inline: auto; transform: none; }
}

@media (max-width: 820px) {
  .site-shell { width: min(100% - 32px, 700px); }
  .section { padding-block: 82px; }
  .use-case-grid, .feature-grid, .screenshot-grid { grid-template-columns: 1fr; }
  .guide-grid, .guide-grid-large, .note-grid { grid-template-columns: 1fr; }
  .screenshot-grid { gap: 30px; }
  .privacy-strip, .download-panel { grid-template-columns: auto 1fr; }
  .privacy-strip .text-link, .download-actions { grid-column: 2; justify-self: start; align-items: flex-start; }
  .contact-panel { align-items: flex-start; flex-direction: column; }
  .compact-steps { grid-template-columns: 1fr; }
  .compact-steps li:nth-child(2) { border-top: 1px solid var(--stroke); }
}

@media (max-width: 580px) {
  .site-shell { width: min(100% - 24px, 520px); }
  .site-header { min-height: 72px; gap: 14px; }
  .brand img { width: 36px; height: 36px; border-radius: 9px; }
  .brand span { font-size: 14px; }
  .header-actions { gap: 11px; }
  .header-download { display: none; }
  .hero { gap: 38px; padding-block: 62px 70px; }
  .hero h1 { font-size: clamp(42px, 13vw, 58px); }
  .hero-lead { font-size: 17px; }
  .hero-actions { flex-direction: column; }
  .hero-actions .button { width: 100%; }
  .hero-visual { border-radius: 17px; }
  .answer-strip { padding: 30px 24px; border-radius: 21px; }
  .section-heading h2, .download-panel h2, .contact-panel h2 { font-size: 30px; }
  .split-heading { align-items: flex-start; flex-direction: column; }
  .guide-card { grid-template-columns: 1fr; min-height: 0; }
  .privacy-strip, .download-panel { grid-template-columns: 1fr; padding: 27px 24px; }
  .privacy-strip .text-link, .download-actions { grid-column: 1; }
  .download-panel > img { width: 62px; height: 62px; }
  .site-footer { align-items: flex-start; flex-direction: column; justify-content: center; padding-block: 25px; }
  .page-intro { padding-block: 65px 45px; }
  .page-intro h1, .guide-hero h1 { font-size: 42px; }
  .content-card { padding: 25px 20px; }
  .steps-list li { grid-template-columns: 34px 1fr; gap: 13px; }
  .steps-list li::before { width: 32px; height: 32px; }
  .contact-panel { padding: 28px 24px; }
}

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