:root {
  --bg: #f4f7f9;
  --surface: #ffffff;
  --surface-soft: #eef4f2;
  --ink: #102033;
  --muted: #5b6878;
  --brand: #116a5b;
  --brand-dark: #0d3a52;
  --blue: #245dd8;
  --gold: #d99721;
  --border: #d9e3ea;
  --shadow: 0 20px 60px rgba(16, 32, 51, 0.13);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
}

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

a {
  color: inherit;
}

.container {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
}

.container.narrow {
  width: min(860px, calc(100% - 36px));
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(244, 247, 249, 0.88);
  border-bottom: 1px solid rgba(217, 227, 234, 0.9);
  backdrop-filter: blur(18px);
}

.nav {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-weight: 800;
  color: var(--brand-dark);
}

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

.brand span {
  white-space: nowrap;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.nav-toggle,
.menu-button {
  display: none;
}

.nav-links,
.footer-links {
  display: flex;
  align-items: center;
  gap: 18px;
}

.nav-links a,
.footer-links a {
  text-decoration: none;
  color: #26384d;
  font-weight: 650;
}

.nav-links a:hover,
.footer-links a:hover {
  color: var(--blue);
}

.language-switcher {
  position: relative;
}

.language-switcher summary {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 12px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
  color: #26384d;
  cursor: pointer;
  font-weight: 750;
  list-style: none;
}

.language-switcher summary::-webkit-details-marker {
  display: none;
}

.language-switcher summary::after {
  width: 7px;
  height: 7px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  content: "";
  transform: rotate(45deg) translateY(-2px);
}

.language-switcher[open] summary::after {
  transform: rotate(225deg) translate(-1px, -1px);
}

.language-menu {
  min-width: 190px;
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 30;
  display: grid;
  gap: 2px;
  padding: 8px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 18px 40px rgba(16, 32, 51, 0.16);
}

.language-menu a {
  min-height: 36px;
  display: flex;
  align-items: center;
  padding: 0 10px;
  border-radius: 6px;
  white-space: nowrap;
}

.language-menu a[aria-current="page"] {
  background: #eef4f2;
  color: var(--brand-dark);
}

.nav-cta {
  color: #fff !important;
  background: var(--blue);
  padding: 10px 14px;
  border-radius: 8px;
  box-shadow: 0 8px 20px rgba(36, 93, 216, 0.22);
}

.hero-band {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(235, 244, 241, 0.92) 55%, rgba(230, 239, 247, 0.9)),
    var(--bg);
  border-bottom: 1px solid var(--border);
}

.hero-layout {
  min-height: calc(100vh - 74px);
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(420px, 1.08fr);
  align-items: center;
  gap: 54px;
  padding: 52px 0 64px;
}

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

.eyebrow {
  margin: 0 0 14px;
  color: var(--brand);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  font-size: clamp(2.3rem, 5.2vw, 4.7rem);
  line-height: 1;
  letter-spacing: 0;
  color: #0e2035;
}

html[lang="ja"] .hero-copy h1,
html[lang="zh-Hans"] .hero-copy h1 {
  font-size: clamp(2.15rem, 4.35vw, 3.85rem);
  line-height: 1.08;
}

h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1.05;
  letter-spacing: 0;
}

h3 {
  margin: 0;
  font-size: 1.12rem;
  line-height: 1.2;
}

.hero-copy > p:not(.eyebrow),
.section-heading > p,
.workflow-layout > div > p {
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 1.08rem;
  max-width: 650px;
}

.button-row {
  margin-top: 30px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 16px;
  border-radius: 8px;
  border: 1px solid transparent;
  text-decoration: none;
  font-weight: 800;
  line-height: 1.15;
}

.btn-primary {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 14px 28px rgba(36, 93, 216, 0.22);
}

.btn-secondary {
  background: #fff;
  color: var(--brand-dark);
  border-color: var(--border);
}

.trust-strip {
  margin: 34px 0 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.trust-strip div {
  padding: 14px;
  border: 1px solid rgba(217, 227, 234, 0.9);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
}

.trust-strip dt {
  font-weight: 850;
  color: var(--brand-dark);
}

.trust-strip dd {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.hero-media {
  min-height: 650px;
  position: relative;
}

.device-frame {
  display: block;
  overflow: hidden;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.76);
  border-radius: 26px;
  background: #06101f;
  box-shadow: var(--shadow);
}

.device-frame img {
  width: 100%;
  height: auto;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: #fff;
}

.hero-phone {
  position: absolute;
}

.hero-phone-primary {
  width: min(42vw, 360px);
  right: 24%;
  top: 12px;
  transform: rotate(-3deg);
}

.hero-phone-secondary {
  width: min(32vw, 280px);
  right: 0;
  top: 212px;
  transform: rotate(4deg);
}

.callout-card {
  border: 1px solid rgba(217, 227, 234, 0.92);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 14px 34px rgba(16, 32, 51, 0.16);
  color: var(--ink);
}

.callout-card strong,
.callout-card span {
  display: block;
}

.callout-card strong {
  color: var(--brand-dark);
  font-weight: 900;
}

.callout-card span {
  color: var(--muted);
  font-size: 0.94rem;
}

.hero-callout {
  position: absolute;
  max-width: 240px;
  padding: 14px 16px;
}

.hero-callout-primary {
  left: 0;
  top: 64px;
}

.hero-callout-secondary {
  right: 2%;
  bottom: 64px;
}

.section-band {
  padding: 84px 0;
}

.section-band:nth-of-type(odd) {
  background: #fff;
}

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

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

.feature-card,
.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 22px;
}

.feature-card p,
.faq-item p,
.policy p,
.workflow-list p,
figcaption {
  color: var(--muted);
}

.feature-card p {
  margin: 10px 0 0;
}

.coming-soon-card {
  position: relative;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(238, 244, 242, 0.82)),
    var(--surface);
}

.feature-pill {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  margin-bottom: 12px;
  padding: 5px 9px;
  border-radius: 999px;
  background: #dff7e9;
  color: var(--brand-dark);
  font-size: 0.76rem;
  font-weight: 850;
  line-height: 1;
}

.excuse-band {
  background: #fff;
}

.excuse-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(340px, 0.75fr);
  gap: 48px;
  align-items: center;
}

.excuse-layout .section-heading {
  margin-bottom: 0;
}

.excuse-demo {
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(238, 244, 242, 0.98), rgba(255, 255, 255, 0.95)),
    #fff;
  box-shadow: var(--shadow);
}

.excuse-demo-topline,
.excuse-window,
.excuse-row {
  border-radius: 8px;
}

.excuse-demo-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: var(--brand-dark);
  font-weight: 850;
}

.excuse-demo-topline strong {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 6px 12px;
  border-radius: 999px;
  background: #84e6b0;
  color: #0e2035;
  font-size: 0.86rem;
}

.excuse-window {
  margin-top: 20px;
  padding: 18px;
  background: #0e2035;
  color: #fff;
}

.excuse-window span {
  display: block;
  color: #cbd8e4;
  font-size: 0.94rem;
  font-weight: 750;
}

.excuse-window strong {
  display: block;
  margin-top: 4px;
  font-size: 1.25rem;
}

.excuse-row {
  margin-top: 12px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 6px 14px;
  padding: 16px;
  border: 1px solid rgba(217, 227, 234, 0.9);
  background: rgba(255, 255, 255, 0.88);
}

.excuse-row span {
  font-weight: 850;
}

.excuse-row strong {
  color: var(--brand);
}

.excuse-row small {
  grid-column: 1 / -1;
  color: var(--muted);
  font-size: 0.92rem;
}

.screenshot-band {
  background: var(--surface-soft);
}

.tour-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  align-items: start;
}

.tour-panel {
  display: grid;
  align-content: start;
  gap: 18px;
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #fff;
}

.tour-panel-large {
  grid-column: span 2;
  grid-template-columns: minmax(0, 1.05fr) minmax(220px, 0.95fr);
  align-items: center;
}

.tour-panel-large .device-frame {
  max-height: 420px;
}

.tour-panel-wide {
  grid-column: span 2;
}

.tour-panel .device-frame {
  height: 380px;
  padding: 9px;
  border-radius: 22px;
  box-shadow: 0 16px 42px rgba(16, 32, 51, 0.14);
}

.tour-panel > .device-frame {
  max-height: none;
}

.tour-panel .device-frame img {
  border-radius: 13px;
}

.split-shots .device-frame {
  max-height: none;
}

.tour-panel:nth-last-child(-n + 2) {
  grid-column: span 2;
}

.tour-panel-fullscreen {
  grid-template-columns: minmax(280px, 0.9fr) minmax(220px, 1fr);
  align-items: center;
}

.tour-panel-fullscreen .device-frame {
  width: min(100%, 280px);
  height: auto;
  justify-self: center;
}

.tour-copy h3 {
  font-size: clamp(1.25rem, 2vw, 2rem);
  line-height: 1.05;
}

.tour-copy p:not(.eyebrow) {
  margin: 12px 0 0;
  color: var(--muted);
}

.split-shots {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

figure {
  margin: 0;
}

.workflow-band {
  background: #0e2035;
  color: #fff;
}

.section-band.workflow-band {
  background: #0e2035;
}

.workflow-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 48px;
  align-items: start;
}

.workflow-layout .eyebrow {
  color: #84e6b0;
}

.workflow-layout p {
  color: #cbd8e4;
}

.workflow-list {
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
  list-style: none;
}

.workflow-list li {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 14px;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
}

.workflow-list span {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: #84e6b0;
  color: #0e2035;
  font-weight: 900;
}

.workflow-list strong {
  display: block;
  font-size: 1.08rem;
}

.workflow-list p {
  grid-column: 2;
  margin: -8px 0 0;
}

.page-hero {
  padding: 72px 0;
  background: linear-gradient(135deg, #eff6f2, #ffffff);
  border-bottom: 1px solid var(--border);
}

.page-hero h1 {
  font-size: clamp(2.2rem, 5vw, 4rem);
}

.page-hero p:not(.eyebrow) {
  color: var(--muted);
  font-size: 1.08rem;
  max-width: 700px;
}

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

.support-contact {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(320px, 1fr);
  gap: 34px;
  margin-bottom: 34px;
  padding: 30px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 18px 46px rgba(16, 32, 51, 0.08);
}

.support-contact h2 {
  font-size: clamp(1.75rem, 3vw, 2.45rem);
}

.support-contact-copy p {
  margin: 14px 0 0;
  color: var(--muted);
}

.support-email-direct a {
  color: var(--blue);
  font-weight: 850;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.support-privacy-note {
  padding-left: 12px;
  border-left: 4px solid var(--brand);
}

.support-form {
  display: grid;
  gap: 16px;
}

.support-form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.support-form label {
  display: grid;
  gap: 8px;
  color: var(--brand-dark);
  font-weight: 850;
}

.support-form label span {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
}

.support-form em,
.support-form small {
  color: var(--muted);
  font-size: 0.86rem;
  font-style: normal;
  font-weight: 700;
}

.support-form input,
.support-form select,
.support-form textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 12px 13px;
  color: var(--ink);
  background: #f9fbfc;
  font: inherit;
  outline: none;
}

.support-form textarea {
  min-height: 170px;
  resize: vertical;
}

.support-form input:focus,
.support-form select:focus,
.support-form textarea:focus {
  border-color: var(--blue);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(36, 93, 216, 0.16);
}

.support-form input::placeholder,
.support-form textarea::placeholder {
  color: #7b8795;
}

.support-form input[type="file"] {
  padding: 10px;
}

.support-form input[type="file"]::file-selector-button {
  margin-right: 12px;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 9px 12px;
  color: var(--brand-dark);
  background: #fff;
  font: inherit;
  font-weight: 850;
}

.support-form button {
  width: fit-content;
  border: 0;
  cursor: pointer;
  font: inherit;
}

.support-form button:disabled {
  cursor: wait;
  opacity: 0.66;
}

.support-form-status {
  min-height: 1.4em;
  margin: 0;
  font-weight: 800;
}

.support-form-status[data-state="success"] {
  color: var(--brand);
}

.support-form-status[data-state="error"] {
  color: #b42318;
}

.support-form-status[data-state="pending"] {
  color: var(--gold);
}

.support-website-field {
  position: absolute;
  left: -9999px;
}

.support-contact + .faq-list {
  padding-top: 34px;
  border-top: 1px solid var(--border);
}

.faq-item h2,
.policy h2 {
  margin: 0;
  font-size: 1.2rem;
}

.faq-item p,
.policy p {
  margin: 10px 0 0;
}

.policy {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 28px;
}

.policy h2 + p {
  margin-bottom: 24px;
}

.policy p:last-child {
  margin-bottom: 0;
}

.site-footer {
  border-top: 1px solid var(--border);
  background: #fff;
  padding: 26px 0;
}

.footer-layout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.footer-brand img {
  width: 32px;
  height: 32px;
}

@media (max-width: 980px) {
  .hero-layout,
  .workflow-layout,
  .excuse-layout {
    grid-template-columns: 1fr;
  }

  .hero-layout {
    min-height: auto;
  }

  .hero-media {
    min-height: 560px;
  }

  .hero-phone-primary {
    width: min(70vw, 430px);
    left: 3%;
    right: auto;
  }

  .hero-phone-secondary {
    width: min(58vw, 340px);
    right: 3%;
  }

  .hero-callout-primary {
    left: 48%;
    top: 26px;
  }

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

  .tour-panel-large,
  .tour-panel-wide {
    grid-column: span 2;
  }

  .tour-panel-large {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .nav {
    min-height: 64px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 10px 14px;
    padding: 10px 0;
  }

  .brand {
    min-width: 0;
  }

  .brand span {
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .nav-toggle {
    position: absolute;
    display: block;
    opacity: 0;
    pointer-events: none;
  }

  .menu-button {
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    justify-self: end;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.92);
    color: var(--brand-dark);
    box-shadow: 0 8px 18px rgba(16, 32, 51, 0.08);
  }

  .menu-icon,
  .menu-icon::before,
  .menu-icon::after {
    width: 20px;
    height: 2px;
    border-radius: 999px;
    background: currentColor;
  }

  .menu-icon {
    position: relative;
    display: block;
  }

  .menu-icon::before,
  .menu-icon::after {
    content: "";
    position: absolute;
    left: 0;
    transition: transform 160ms ease, top 160ms ease, opacity 160ms ease;
  }

  .menu-icon::before {
    top: -7px;
  }

  .menu-icon::after {
    top: 7px;
  }

  .nav-toggle:focus-visible + .menu-button {
    outline: 3px solid rgba(36, 93, 216, 0.32);
    outline-offset: 2px;
  }

  .nav-toggle:checked + .menu-button .menu-icon {
    background: transparent;
  }

  .nav-toggle:checked + .menu-button .menu-icon::before {
    top: 0;
    transform: rotate(45deg);
  }

  .nav-toggle:checked + .menu-button .menu-icon::after {
    top: 0;
    transform: rotate(-45deg);
  }

  .nav-links {
    grid-column: 1 / -1;
    width: 100%;
    display: none;
    gap: 6px;
    padding: 10px;
    border: 1px solid rgba(217, 227, 234, 0.92);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 14px 34px rgba(16, 32, 51, 0.12);
  }

  .nav-toggle:checked ~ .nav-links {
    display: grid;
  }

  .nav-links a {
    min-height: 42px;
    display: flex;
    align-items: center;
    padding: 0 10px;
    border-radius: 6px;
    white-space: normal;
  }

  .nav-links a:hover {
    background: #eef4f2;
  }

  .language-switcher {
    width: 100%;
  }

  .language-switcher summary {
    min-height: 42px;
    width: 100%;
    justify-content: space-between;
    padding: 0 10px;
    background: transparent;
  }

  .language-menu {
    position: static;
    min-width: 0;
    margin-top: 6px;
    box-shadow: none;
  }

  .nav-cta {
    justify-content: center;
    margin-top: 4px;
  }

  .hero-layout {
    padding-top: 36px;
    gap: 30px;
  }

  .trust-strip,
  .feature-grid,
  .screenshot-grid {
    grid-template-columns: 1fr;
  }

  .hero-media {
    min-height: 470px;
  }

  .hero-phone-primary {
    width: min(76vw, 340px);
  }

  .hero-phone-secondary {
    width: min(64vw, 280px);
    top: 145px;
  }

  .hero-callout {
    position: relative;
    max-width: none;
    inset: auto;
  }

  .hero-media {
    display: grid;
    min-height: auto;
    gap: 14px;
  }

  .hero-phone {
    position: relative;
    width: min(82vw, 340px);
    inset: auto;
    transform: none;
  }

  .section-band {
    padding: 58px 0;
  }

  .excuse-demo {
    padding: 18px;
  }

  .excuse-row {
    grid-template-columns: 1fr;
  }

  .button-row {
    align-items: stretch;
    flex-direction: column;
  }

  .footer-layout {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-links {
    flex-wrap: wrap;
  }

  .tour-grid,
  .split-shots,
  .support-contact,
  .support-form-row {
    grid-template-columns: 1fr;
  }

  .support-contact {
    padding: 22px;
  }

  .support-form button {
    width: 100%;
  }

  .tour-panel-large,
  .tour-panel-wide {
    grid-column: auto;
  }

  .tour-panel:nth-last-child(-n + 2) {
    grid-column: auto;
  }

  .tour-panel-fullscreen {
    grid-template-columns: 1fr;
  }

  .tour-panel-fullscreen .device-frame {
    width: min(100%, 300px);
  }
}
