:root {
  color: #17203a;
  background: #f6f4ee;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  --ink: #17203a;
  --muted: #596176;
  --paper: #f6f4ee;
  --surface: #ffffff;
  --surface-soft: #ece9e1;
  --blue: #2856d7;
  --blue-dark: #1f43aa;
  --blue-soft: #e7edff;
  --line: rgba(23, 32, 58, 0.16);
  --radius: 24px;
}

* {
  box-sizing: border-box;
}

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

body {
  min-width: 320px;
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-size: 18px;
  line-height: 1.7;
}

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

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

a:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 4px;
}

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

.skip-link:focus {
  transform: none;
}

.site-header {
  display: flex;
  width: min(100%, 1600px);
  margin: 0 auto;
  padding: 28px 5vw;
  align-items: center;
  justify-content: space-between;
}

.wordmark {
  font-size: 1.45rem;
  font-weight: 680;
  letter-spacing: -0.06em;
}

.wordmark span {
  color: var(--blue);
}

.header-support {
  border-bottom: 1px solid currentColor;
  font-size: 0.94rem;
  font-weight: 700;
}

.hero {
  display: grid;
  width: min(100%, 1600px);
  min-height: 800px;
  margin: 0 auto;
  padding: 80px 5vw 100px;
  border-bottom: 1px solid var(--line);
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.72fr);
  gap: clamp(60px, 8vw, 140px);
  align-items: center;
  overflow: hidden;
}

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

.eyebrow,
.section-kicker {
  margin: 0 0 22px;
  color: var(--blue);
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  text-wrap: pretty;
}

h1 {
  margin: 0;
  font-size: clamp(4.5rem, 8vw, 8.5rem);
  font-weight: 480;
  letter-spacing: -0.075em;
  line-height: 0.94;
}

.hero-intro {
  max-width: 670px;
  margin: 44px 0 0;
  color: var(--muted);
  font-size: clamp(1.2rem, 1.7vw, 1.55rem);
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  margin-top: 36px;
  gap: 14px;
  flex-wrap: wrap;
}

.button {
  display: inline-flex;
  min-height: 54px;
  padding: 13px 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 750;
  line-height: 1.2;
  transition: transform 160ms ease, background-color 160ms ease;
}

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

.button-primary {
  color: #fff;
  background: var(--blue);
}

.button-primary:hover {
  background: var(--blue-dark);
}

.button-secondary {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.48);
}

.hero-note {
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 0.94rem;
}

.hero-phone {
  position: relative;
  width: min(100%, 440px);
  margin: 0 auto;
}

.hero-phone::before {
  position: absolute;
  z-index: -1;
  inset: 15% -25% 5%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(40, 86, 215, 0.2), transparent 68%);
  content: "";
}

.hero-phone img {
  width: 100%;
  border-radius: 12% / 5.4%;
  box-shadow: 0 38px 80px rgba(23, 32, 58, 0.2);
}

.mobile-nav {
  display: none;
}

.docs-layout {
  display: grid;
  width: min(100%, 1460px);
  margin: 0 auto;
  padding: 0 5vw;
  grid-template-columns: 230px minmax(0, 940px);
  gap: clamp(60px, 8vw, 130px);
  justify-content: center;
}

.desktop-nav {
  position: sticky;
  top: 28px;
  height: max-content;
  max-height: calc(100svh - 56px);
  padding: 72px 0;
  overflow: auto;
}

.desktop-nav > p {
  margin: 0 0 16px;
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.desktop-nav nav {
  display: grid;
  border-left: 1px solid var(--line);
}

.desktop-nav a {
  padding: 7px 0 7px 18px;
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 620;
  line-height: 1.35;
}

.desktop-nav a:hover {
  color: var(--blue);
}

.docs-content {
  min-width: 0;
}

.doc-section {
  padding: 100px 0;
  border-bottom: 1px solid var(--line);
}

.flick-section {
  padding-top: 120px;
}

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

.flick-card {
  margin: 0;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 30px;
  background: var(--surface-soft);
}

.flick-media {
  aspect-ratio: 1;
  border-radius: 22px;
  overflow: hidden;
  background: #17191d;
}

.flick-media img,
.flick-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.flick-closeup img {
  object-position: left center;
}

.flick-video {
  display: block;
  object-position: center 70%;
  transform: scale(1.4);
  transform-origin: left 65%;
}

h2 {
  max-width: 800px;
  margin: 0;
  font-size: clamp(2.8rem, 5vw, 4.9rem);
  font-weight: 520;
  letter-spacing: -0.06em;
  line-height: 1;
}

h3 {
  margin: 0 0 8px;
  font-size: 1.2rem;
  line-height: 1.35;
}

p {
  margin: 0 0 24px;
}

.lead {
  max-width: 820px;
  margin: 30px 0 48px;
  color: var(--muted);
  font-size: 1.24rem;
  line-height: 1.65;
}

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

.feature-card,
.tool-grid > div,
.permission-card,
.privacy-grid > div {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.5);
}

.feature-card > span,
.tool-grid > div > span {
  display: inline-flex;
  min-width: 48px;
  min-height: 48px;
  margin-bottom: 22px;
  border-radius: 14px;
  align-items: center;
  justify-content: center;
  color: var(--blue);
  background: var(--blue-soft);
  font-size: 1.1rem;
  font-weight: 800;
}

.feature-card p,
.tool-grid p,
.permission-card p,
.privacy-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.6;
}

.steps {
  margin: 0 0 56px;
  padding: 0;
  list-style: none;
}

.steps li {
  display: grid;
  padding: 28px 0;
  border-top: 1px solid var(--line);
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 20px;
}

.steps li:last-child {
  border-bottom: 1px solid var(--line);
}

.step-number {
  display: inline-flex;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: var(--blue);
  font-weight: 800;
}

.steps p {
  margin: 4px 0 0;
  color: var(--muted);
}

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

.screenshot-card,
.wide-figure {
  margin: 0;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 30px;
  background: var(--surface-soft);
}

.screenshot-card img,
.wide-figure img {
  width: 100%;
  border-radius: 22px;
}

figcaption {
  margin-top: 18px;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.5;
}

.wide-figure {
  width: min(100%, 630px);
  margin: 48px auto;
}

.compact-phone {
  width: min(100%, 470px);
}

.landscape-figure {
  width: 100%;
}

.callout,
.privacy-note {
  margin-top: 44px;
  padding: 28px 30px;
  border-left: 5px solid var(--blue);
  border-radius: 0 18px 18px 0;
  background: var(--blue-soft);
}

.callout p,
.privacy-note p {
  margin: 0;
}

.privacy-note a {
  color: var(--blue);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.permission-grid,
.privacy-grid,
.info-columns {
  display: grid;
  margin: 46px 0;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.permission-card-accent {
  border-color: rgba(40, 86, 215, 0.34);
  background: var(--blue-soft);
}

.check-list,
.plain-list,
.setting-groups ul,
.privacy-grid ul {
  margin: 14px 0 0;
  padding-left: 1.35em;
}

.check-list li,
.plain-list li,
.setting-groups li,
.privacy-grid li {
  margin: 8px 0;
}

.check-list li::marker {
  color: var(--blue);
}

.compact-steps {
  margin: 16px 0 0;
  padding-left: 1.4em;
}

.compact-steps li {
  margin: 12px 0;
  padding-left: 8px;
}

.screenshot-and-copy {
  display: grid;
  grid-template-columns: minmax(300px, 0.72fr) minmax(0, 1fr);
  gap: 52px;
  align-items: start;
}

.screenshot-and-copy.reverse {
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.72fr);
}

.screenshot-and-copy.reverse figure {
  grid-column: 2;
  grid-row: 1;
}

.single-shot {
  max-width: 430px;
}

.definition-list {
  margin: 0;
}

.definition-list div {
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.definition-list dt {
  font-weight: 760;
}

.definition-list dd {
  margin: 3px 0 0;
  color: var(--muted);
}

.setting-list {
  display: grid;
  margin-top: 44px;
  border-top: 1px solid var(--line);
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.setting-list > div {
  padding: 26px 28px 26px 0;
  border-bottom: 1px solid var(--line);
}

.setting-list > div:nth-child(even) {
  padding-right: 0;
  padding-left: 28px;
  border-left: 1px solid var(--line);
}

.setting-list p,
.info-columns p {
  margin: 0;
  color: var(--muted);
}

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

.tool-grid > div:last-child {
  grid-column: 1 / -1;
}

.setting-groups > div {
  margin-bottom: 38px;
}

.setting-groups li {
  color: var(--muted);
}

.info-columns > div {
  padding: 28px 30px;
  border-top: 3px solid var(--blue);
  background: rgba(255, 255, 255, 0.44);
}

.privacy-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.privacy-grid > div:last-child {
  border-color: rgba(40, 86, 215, 0.3);
  background: var(--blue-soft);
}

.privacy-grid ul {
  color: var(--muted);
  font-size: 0.97rem;
}

.faq-list {
  margin-top: 46px;
  border-top: 1px solid var(--line);
}

.faq-list details {
  border-bottom: 1px solid var(--line);
}

.faq-list summary {
  position: relative;
  padding: 24px 48px 24px 0;
  cursor: pointer;
  font-size: 1.1rem;
  font-weight: 740;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  position: absolute;
  top: 22px;
  right: 8px;
  color: var(--blue);
  content: "+";
  font-size: 1.5rem;
  font-weight: 500;
}

.faq-list details[open] summary::after {
  content: "−";
}

.faq-list details p {
  max-width: 780px;
  margin: 0;
  padding: 0 48px 28px 0;
  color: var(--muted);
}

.contact-section {
  margin: 100px 0;
  padding: clamp(42px, 7vw, 72px);
  border-radius: 34px;
  color: #fff;
  background: var(--ink);
}

.contact-section .section-kicker {
  color: #9eb3ff;
}

.contact-section h2 {
  margin-bottom: 28px;
}

.contact-section > p {
  max-width: 720px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 1.12rem;
}

.contact-button {
  margin-top: 10px;
}

.contact-email {
  margin: 18px 0 0 !important;
  font-size: 0.95rem !important;
}

footer {
  display: grid;
  width: min(100%, 1600px);
  margin: 0 auto;
  padding: 38px 5vw 46px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  grid-template-columns: 1fr auto 1fr;
  gap: 30px;
  align-items: center;
  font-size: 0.9rem;
}

footer p {
  margin: 0;
}

footer > a:last-child {
  justify-self: end;
  color: var(--ink);
  font-weight: 700;
}

.footer-wordmark {
  color: var(--ink);
}

@media (max-width: 1080px) {
  .hero {
    min-height: 720px;
    grid-template-columns: minmax(0, 1fr) 350px;
    gap: 52px;
  }

  .docs-layout {
    grid-template-columns: 210px minmax(0, 820px);
    gap: 54px;
  }

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

@media (max-width: 820px) {
  body {
    font-size: 17px;
  }

  .site-header {
    padding: 22px 5vw;
  }

  .hero {
    min-height: auto;
    padding-top: 72px;
    grid-template-columns: 1fr;
    gap: 70px;
  }

  h1 {
    font-size: clamp(4rem, 17vw, 7rem);
  }

  .hero-phone {
    width: min(86%, 430px);
  }

  .mobile-nav {
    position: sticky;
    z-index: 20;
    top: 0;
    display: block;
    width: 100%;
    border-bottom: 1px solid var(--line);
    background: rgba(246, 244, 238, 0.96);
    backdrop-filter: blur(14px);
  }

  .mobile-nav summary {
    position: relative;
    padding: 17px 6vw;
    cursor: pointer;
    font-weight: 760;
    list-style: none;
  }

  .mobile-nav summary::-webkit-details-marker {
    display: none;
  }

  .mobile-nav summary::after {
    position: absolute;
    right: 6vw;
    content: "⌄";
    color: var(--blue);
  }

  .mobile-nav[open] summary::after {
    transform: rotate(180deg);
  }

  .mobile-nav nav {
    display: grid;
    max-height: 65svh;
    padding: 4px 6vw 20px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    overflow: auto;
  }

  .mobile-nav a {
    padding: 8px 12px 8px 0;
    color: var(--muted);
    font-size: 0.92rem;
    font-weight: 650;
    line-height: 1.3;
  }

  .docs-layout {
    display: block;
    padding: 0 6vw;
  }

  .desktop-nav {
    display: none;
  }

  .doc-section {
    padding: 78px 0;
  }

  .flick-section {
    padding-top: 88px;
  }

  .feature-grid,
  .flick-showcase,
  .permission-grid,
  .info-columns {
    grid-template-columns: 1fr;
  }

  .feature-card {
    display: grid;
    grid-template-columns: 58px 1fr;
    gap: 0 16px;
  }

  .feature-card > span {
    margin: 0;
    grid-row: 1 / 3;
  }

  .feature-card h3 {
    align-self: end;
  }

  .screenshot-and-copy,
  .screenshot-and-copy.reverse {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .screenshot-and-copy.reverse figure {
    grid-column: auto;
    grid-row: auto;
  }

  .single-shot {
    width: min(100%, 470px);
    margin: 0 auto;
  }

  footer {
    grid-template-columns: 1fr auto;
  }

  footer p {
    display: none;
  }
}

@media (max-width: 600px) {
  .header-support {
    font-size: 0.88rem;
  }

  .hero {
    padding-bottom: 76px;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

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

  .lead {
    margin-bottom: 38px;
    font-size: 1.12rem;
  }

  .screenshot-pair,
  .tool-grid,
  .setting-list {
    grid-template-columns: 1fr;
  }

  .screenshot-card,
  .wide-figure {
    padding: 14px;
    border-radius: 23px;
  }

  .screenshot-card img,
  .wide-figure img {
    border-radius: 17px;
  }

  .tool-grid > div:last-child {
    grid-column: auto;
  }

  .setting-list > div,
  .setting-list > div:nth-child(even) {
    padding: 24px 0;
    border-left: 0;
  }

  .callout,
  .privacy-note {
    padding: 24px;
  }

  .contact-section {
    margin: 72px 0;
    padding: 38px 26px;
    border-radius: 26px;
  }

  footer {
    padding-top: 30px;
    padding-bottom: 34px;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
