:root {
  color-scheme: light;
  --ink: #111318;
  --muted: #5b616b;
  --line: #dfe4e8;
  --paper: #ffffff;
  --soft: #f5fbfd;
  --blue: #5eb6dd;
  --blue-dark: #176b91;
  --yellow: #f6d452;
  --coral: #ff7457;
  --green: #b7ef2c;
  --max-width: 1180px;
  --header-height: 68px;
}

* {
  box-sizing: border-box;
  letter-spacing: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 20px);
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", "Hiragino Sans", "Yu Gothic", YuGothic, Meiryo, sans-serif;
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 100;
  padding: 10px 14px;
  color: #fff;
  background: #000;
  transform: translateY(-150%);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-height);
  border-bottom: 1px solid rgba(17, 19, 24, 0.1);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px);
}

.header-inner {
  width: min(calc(100% - 40px), var(--max-width));
  height: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-size: 18px;
  font-weight: 750;
  text-decoration: none;
  white-space: nowrap;
}

.brand img {
  width: 42px;
  height: 42px;
  border-radius: 10px;
}

.main-nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 26px;
}

.main-nav a {
  color: #454b54;
  font-size: 14px;
  font-weight: 650;
  text-decoration: none;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  color: var(--blue-dark);
}

.header-cta {
  min-width: 104px;
  padding: 9px 17px;
  border: 1px solid var(--ink);
  border-radius: 5px;
  font-size: 14px;
  font-weight: 750;
  text-align: center;
  text-decoration: none;
}

.header-cta:hover,
.header-cta:focus-visible {
  color: #fff;
  background: var(--ink);
}

.hero {
  position: relative;
  height: clamp(600px, calc(100svh - 105px), 720px);
  overflow: hidden;
  background-color: #edf5f7;
  background-image: url("/assets/images/hero-desk.jpg");
  background-position: center 54%;
  background-size: cover;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(250, 253, 254, 0.82);
}

.hero-inner {
  position: relative;
  width: min(calc(100% - 40px), var(--max-width));
  height: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
}

.hero-copy {
  position: relative;
  z-index: 2;
  width: min(610px, 58%);
  padding-bottom: 34px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--blue-dark);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.4;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  font-size: clamp(54px, 7vw, 88px);
  font-weight: 800;
  line-height: 0.98;
}

.hero-lead {
  margin: 25px 0 0;
  font-size: clamp(34px, 4.2vw, 56px);
  font-weight: 760;
  line-height: 1.22;
}

.hero-description {
  max-width: 535px;
  margin: 22px 0 0;
  color: #313740;
  font-size: 17px;
  font-weight: 550;
  line-height: 1.9;
}

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

.store-button {
  min-width: 246px;
  min-height: 66px;
  padding: 10px 17px 11px;
  border: 1px solid #000;
  border-radius: 6px;
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  color: #fff;
  background: #08090b;
  text-decoration: none;
  box-shadow: 0 7px 0 rgba(17, 19, 24, 0.13);
  transition: transform 150ms ease, box-shadow 150ms ease;
}

.store-button:hover,
.store-button:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 9px 0 rgba(17, 19, 24, 0.13);
}

.store-button-small {
  font-size: 10px;
  font-weight: 650;
  line-height: 1.2;
}

.store-button strong {
  margin-top: 3px;
  font-size: 15px;
  line-height: 1.25;
}

.text-link {
  color: var(--ink);
  font-size: 14px;
  font-weight: 750;
  text-decoration: underline;
}

.hero-note {
  margin: 17px 0 0;
  color: #4f5660;
  font-size: 12px;
  font-weight: 650;
}

.hero-phone {
  position: absolute;
  right: clamp(0px, 4vw, 58px);
  bottom: -88px;
  width: clamp(255px, 28vw, 330px);
  margin: 0;
  z-index: 1;
  transform: rotate(3deg);
}

.phone-shell {
  position: relative;
  padding: 10px;
  border: 2px solid #343941;
  border-radius: 43px;
  background: #050607;
  box-shadow: 0 32px 70px rgba(24, 50, 62, 0.28), 0 0 0 1px rgba(255, 255, 255, 0.75) inset;
}

.phone-shell::before {
  content: "";
  position: absolute;
  top: 20px;
  left: 50%;
  z-index: 2;
  width: 82px;
  height: 20px;
  border-radius: 20px;
  background: #050607;
  transform: translateX(-50%);
}

.phone-shell img {
  width: 100%;
  border-radius: 34px;
}

.hero-phone figcaption {
  width: max-content;
  margin: 15px 0 0 auto;
  padding: 7px 12px;
  border-radius: 4px;
  color: #fff;
  background: var(--blue-dark);
  font-size: 12px;
  font-weight: 750;
}

.steps {
  position: relative;
  z-index: 2;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.steps-inner {
  width: min(calc(100% - 40px), var(--max-width));
  min-height: 104px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.step {
  padding: 26px 38px;
  border-left: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 17px;
}

.step:last-child {
  border-right: 1px solid var(--line);
}

.step span {
  color: var(--blue-dark);
  font-size: 12px;
  font-weight: 800;
}

.step strong {
  font-size: 16px;
  line-height: 1.45;
}

.feature-section {
  padding: 112px 0 100px;
  overflow: hidden;
  background: #fff;
}

.section-heading {
  width: min(calc(100% - 40px), 760px);
  margin: 0 auto 48px;
  text-align: center;
}

.section-heading h2,
.use-heading h2,
.privacy-copy h2,
.final-cta h2,
.legal-header h1 {
  margin: 0;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.25;
}

.section-heading > p:last-child {
  margin: 18px auto 0;
  color: var(--muted);
  font-size: 17px;
}

.feature-gallery {
  width: min(calc(100% - 40px), var(--max-width));
  margin: 0 auto;
  padding: 4px 2px 26px;
  display: grid;
  grid-auto-columns: minmax(236px, 1fr);
  grid-auto-flow: column;
  gap: 18px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-snap-type: inline mandatory;
  scrollbar-color: #8b949e #eef1f3;
}

.feature-shot {
  margin: 0;
  overflow: hidden;
  border: 1px solid #d9dee2;
  border-radius: 7px;
  background: #fff;
  box-shadow: 0 12px 32px rgba(24, 31, 36, 0.08);
  scroll-snap-align: start;
}

.feature-shot img {
  width: 100%;
  aspect-ratio: 1320 / 2868;
  object-fit: cover;
}

.feature-shot figcaption {
  min-height: 86px;
  padding: 16px 17px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.feature-shot figcaption strong {
  font-size: 15px;
  line-height: 1.4;
}

.feature-shot figcaption span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.use-section {
  padding: 104px 0;
  background: var(--ink);
  color: #fff;
}

.use-inner {
  width: min(calc(100% - 40px), var(--max-width));
  margin: 0 auto;
}

.use-heading {
  max-width: 760px;
}

.use-heading .eyebrow {
  color: var(--yellow);
}

.use-list {
  margin-top: 56px;
  border-top: 1px solid rgba(255, 255, 255, 0.22);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.use-list article {
  min-height: 244px;
  padding: 34px 34px 22px 0;
  border-right: 1px solid rgba(255, 255, 255, 0.22);
}

.use-list article + article {
  padding-left: 34px;
}

.use-list article:last-child {
  border-right: 0;
}

.use-list span {
  color: var(--yellow);
  font-size: 11px;
  font-weight: 800;
}

.use-list h3 {
  margin: 20px 0 12px;
  font-size: 24px;
}

.use-list p {
  margin: 0;
  color: #c9cdd3;
  font-size: 15px;
}

.privacy-section {
  padding: 106px 0;
  background: #effbf2;
}

.privacy-inner {
  width: min(calc(100% - 40px), var(--max-width));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
  align-items: center;
  gap: 90px;
}

.privacy-copy .eyebrow {
  color: #2f7650;
}

.privacy-copy p:not(.eyebrow) {
  max-width: 610px;
  margin: 22px 0;
  color: #3f4c44;
  font-size: 16px;
}

.privacy-facts {
  margin: 0;
  border-top: 1px solid #aac9b4;
}

.privacy-facts div {
  min-height: 86px;
  padding: 22px 4px;
  border-bottom: 1px solid #aac9b4;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.privacy-facts dt {
  color: #425d4b;
  font-size: 14px;
  font-weight: 650;
}

.privacy-facts dd {
  margin: 0;
  font-size: 20px;
  font-weight: 800;
  text-align: right;
}

.faq-section {
  padding: 105px 0;
  background: #fff;
}

.faq-inner {
  width: min(calc(100% - 40px), 940px);
  margin: 0 auto;
}

.section-heading-left {
  width: 100%;
  margin-bottom: 36px;
  text-align: left;
}

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

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

.faq-list summary {
  position: relative;
  padding: 25px 50px 25px 0;
  cursor: pointer;
  font-size: 17px;
  font-weight: 750;
  list-style: none;
}

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

.faq-list summary::after {
  content: "+";
  position: absolute;
  right: 4px;
  top: 50%;
  font-size: 25px;
  font-weight: 400;
  transform: translateY(-50%);
}

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

.faq-list p {
  max-width: 720px;
  margin: -5px 0 25px;
  color: var(--muted);
}

.final-cta {
  padding: 72px 0;
  background: var(--yellow);
}

.final-cta-inner {
  width: min(calc(100% - 40px), var(--max-width));
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 30px;
}

.final-cta img {
  width: 100px;
  height: 100px;
  border-radius: 23px;
  box-shadow: 0 10px 20px rgba(77, 61, 0, 0.18);
}

.final-cta .eyebrow {
  margin-bottom: 8px;
  color: #675000;
}

.final-cta h2 {
  font-size: clamp(28px, 4vw, 46px);
}

.store-button-dark {
  min-width: 254px;
  box-shadow: 0 7px 0 rgba(77, 61, 0, 0.2);
}

.site-footer {
  padding: 44px 0 34px;
  color: #d5d8dd;
  background: #0d0f13;
}

.footer-inner {
  width: min(calc(100% - 40px), var(--max-width));
  margin: 0 auto;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-brand img {
  border-radius: 9px;
}

.footer-brand div {
  display: flex;
  flex-direction: column;
}

.footer-brand span {
  color: #9298a2;
  font-size: 11px;
}

.site-footer nav {
  margin-top: 30px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
}

.site-footer nav a {
  color: #d5d8dd;
  font-size: 13px;
}

.copyright {
  margin: 30px 0 0;
  color: #777e88;
  font-size: 11px;
}

/* Legal and support pages */
.subpage-main {
  min-height: calc(100svh - var(--header-height));
  background: #f7f9fa;
}

.legal-header {
  padding: 80px 0 54px;
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.legal-header-inner,
.legal-content {
  width: min(calc(100% - 40px), 820px);
  margin: 0 auto;
}

.legal-header .eyebrow {
  margin-bottom: 12px;
}

.legal-header p:last-child {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 14px;
}

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

.legal-content section {
  margin-top: 44px;
}

.legal-content section:first-child {
  margin-top: 0;
}

.legal-content h2 {
  margin: 0 0 14px;
  font-size: 22px;
  line-height: 1.45;
}

.legal-content h3 {
  margin: 28px 0 10px;
  font-size: 17px;
}

.legal-content p,
.legal-content li {
  color: #3f454d;
}

.legal-content ul {
  padding-left: 1.4em;
}

.legal-content li + li {
  margin-top: 8px;
}

.contact-box {
  margin-top: 38px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #fff;
}

.contact-box h2 {
  margin-top: 0;
}

.mail-button {
  min-height: 52px;
  margin-top: 10px;
  padding: 13px 18px;
  border: 1px solid var(--ink);
  border-radius: 5px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 750;
  text-decoration: none;
}

.mail-button:hover,
.mail-button:focus-visible {
  color: #fff;
  background: var(--ink);
}

.support-list {
  border-top: 1px solid var(--ink);
}

.support-item {
  padding: 25px 0;
  border-bottom: 1px solid var(--line);
}

.support-item h2 {
  margin: 0 0 8px;
  font-size: 18px;
}

.support-item p {
  margin: 0;
}

.back-link {
  display: inline-block;
  margin-top: 36px;
  font-size: 14px;
  font-weight: 750;
}

@media (max-width: 860px) {
  .main-nav {
    display: none;
  }

  .header-cta {
    margin-left: auto;
  }

  .hero-copy {
    width: 65%;
  }

  .hero-phone {
    right: -10px;
    width: 245px;
  }

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

  .steps-inner {
    grid-template-columns: 1fr;
  }

  .step {
    min-height: 72px;
    padding: 18px 22px;
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
  }

  .step:last-child {
    border-bottom: 0;
  }

  .use-list {
    grid-template-columns: 1fr;
  }

  .use-list article,
  .use-list article + article {
    min-height: 0;
    padding: 28px 0;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.22);
  }

  .use-list article:last-child {
    border-bottom: 0;
  }

  .privacy-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .final-cta-inner {
    grid-template-columns: auto 1fr;
  }

  .final-cta .store-button {
    grid-column: 1 / -1;
    width: 100%;
  }
}

@media (max-width: 600px) {
  :root {
    --header-height: 64px;
  }

  body {
    font-size: 15px;
  }

  .header-inner,
  .hero-inner,
  .steps-inner,
  .feature-gallery,
  .use-inner,
  .privacy-inner,
  .faq-inner,
  .final-cta-inner,
  .footer-inner,
  .legal-header-inner,
  .legal-content {
    width: min(calc(100% - 28px), var(--max-width));
  }

  .brand {
    gap: 8px;
    font-size: 16px;
  }

  .brand img {
    width: 38px;
    height: 38px;
    border-radius: 9px;
  }

  .header-cta {
    min-width: 88px;
    padding: 8px 12px;
    font-size: 12px;
  }

  .hero {
    height: clamp(520px, calc(100svh - 100px), 640px);
    background-position: 50% 66%;
  }

  .hero::before {
    background: rgba(250, 253, 254, 0.88);
  }

  .hero-inner {
    align-items: flex-start;
  }

  .hero-copy {
    width: 100%;
    padding-top: 46px;
    padding-bottom: 0;
  }

  .hero h1 {
    font-size: 48px;
  }

  .hero-lead {
    margin-top: 18px;
    font-size: 32px;
  }

  .hero-description {
    max-width: 315px;
    margin-top: 14px;
    font-size: 14px;
    line-height: 1.75;
  }

  .hero-actions {
    margin-top: 20px;
  }

  .store-button {
    min-width: 226px;
    min-height: 59px;
  }

  .store-button strong {
    font-size: 14px;
  }

  .hero-note {
    margin-top: 13px;
  }

  .hero-phone {
    right: 3px;
    bottom: -128px;
    width: 148px;
    transform: rotate(3deg);
  }

  .phone-shell {
    padding: 5px;
    border-radius: 24px;
  }

  .phone-shell::before {
    top: 10px;
    width: 44px;
    height: 11px;
  }

  .phone-shell img {
    border-radius: 19px;
  }

  .hero-phone figcaption {
    display: none;
  }

  .steps-inner {
    width: 100%;
  }

  .step {
    border-left: 0;
    border-right: 0;
  }

  .feature-section,
  .use-section,
  .privacy-section,
  .faq-section {
    padding-top: 78px;
    padding-bottom: 78px;
  }

  .section-heading {
    width: min(calc(100% - 28px), 760px);
    margin-bottom: 34px;
    text-align: left;
  }

  .section-heading h2,
  .use-heading h2,
  .privacy-copy h2,
  .legal-header h1 {
    font-size: 34px;
  }

  .section-heading > p:last-child {
    font-size: 15px;
  }

  .feature-gallery {
    grid-auto-columns: minmax(224px, 78vw);
    gap: 14px;
  }

  .use-list {
    margin-top: 38px;
  }

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

  .privacy-facts div {
    min-height: 74px;
  }

  .privacy-facts dd {
    font-size: 17px;
  }

  .faq-list summary {
    font-size: 15px;
  }

  .final-cta {
    padding: 55px 0;
  }

  .final-cta-inner {
    grid-template-columns: 70px 1fr;
    gap: 18px;
  }

  .final-cta img {
    width: 70px;
    height: 70px;
    border-radius: 17px;
  }

  .final-cta h2 {
    font-size: 27px;
  }

  .site-footer nav {
    flex-direction: column;
    gap: 10px;
  }

  .legal-header {
    padding: 60px 0 42px;
  }

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

  .legal-content section {
    margin-top: 36px;
  }

  .contact-box {
    padding: 22px;
  }

  .mail-button {
    width: 100%;
  }
}

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

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