:root {
  color-scheme: light;
  --paper: #f8f3e9;
  --paper-soft: #fffdf8;
  --paper-deep: #eee4d4;
  --ink: #292b27;
  --muted: #6f716b;
  --line: rgba(61, 64, 57, 0.14);
  --leaf: #657b68;
  --leaf-deep: #405746;
  --peach: #cf7f59;
  --peach-soft: #f3dfd2;
  --shadow: 0 22px 70px rgba(56, 53, 43, 0.1);
  --radius-large: 34px;
  --radius-medium: 24px;
  --content: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 8% 3%, rgba(207, 127, 89, 0.16), transparent 30rem),
    radial-gradient(circle at 94% 16%, rgba(101, 123, 104, 0.15), transparent 34rem),
    var(--paper);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

:lang(zh-Hant) body {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang TC", "Noto Sans TC", "Microsoft JhengHei", sans-serif;
}

:lang(ja) body {
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Yu Gothic", "Meiryo", sans-serif;
}

:lang(ko) body {
  font-family: -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", sans-serif;
}

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

a {
  color: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid rgba(207, 127, 89, 0.48);
  outline-offset: 4px;
}

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

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

.site-shell {
  width: min(var(--content), calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(61, 64, 57, 0.08);
  background: rgba(248, 243, 233, 0.9);
  backdrop-filter: blur(18px);
}

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

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

.brand__mark {
  width: 42px;
  height: 42px;
  border-radius: 11px;
  box-shadow: 0 8px 24px rgba(64, 87, 70, 0.2);
}

.brand__name {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 21px;
  font-style: italic;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.primary-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  font-size: 14px;
}

.primary-nav > a {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--muted);
  text-decoration: none;
  cursor: pointer;
}

.primary-nav > a:hover {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.64);
}

.primary-nav .nav-download {
  color: #fff;
  background: #111;
}

.primary-nav .nav-download:hover {
  color: #fff;
  background: #2b2b2b;
}

.site-header__locales {
  display: flex;
  justify-content: flex-end;
  padding-bottom: 10px;
}

.locale-switcher {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 253, 248, 0.68);
}

.locale-switcher a {
  min-height: 31px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 5px 11px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.locale-switcher a:hover {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.74);
}

.locale-switcher a[aria-current="page"] {
  color: #fff;
  background: var(--leaf-deep);
}

.language-suggestion {
  display: none;
  padding: 10px 0;
  color: var(--muted);
  background: rgba(255, 253, 248, 0.92);
  border-bottom: 1px solid var(--line);
  font-size: 14px;
  text-align: center;
}

.language-suggestion[data-visible="true"] {
  display: block;
}

.language-suggestion a {
  color: var(--leaf-deep);
  font-weight: 700;
}

.hero {
  min-height: min(900px, calc(100vh - 76px));
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
  align-items: center;
  gap: clamp(40px, 7vw, 86px);
  padding: clamp(64px, 8vw, 112px) 0 80px;
}

.hero__copy {
  position: relative;
  z-index: 2;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--peach);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 720px;
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "PingFang TC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  font-size: clamp(44px, 4.9vw, 64px);
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 1.03;
}

.hero h1 span {
  display: block;
}

:lang(zh-CN) .hero h1,
:lang(zh-Hant) .hero h1 {
  font-size: clamp(42px, 4vw, 52px);
}

:lang(ja) .hero h1,
:lang(ko) .hero h1 {
  letter-spacing: -0.035em;
}

.hero__lead {
  max-width: 650px;
  margin: 26px 0 0;
  color: var(--muted);
  font-size: clamp(17px, 1.7vw, 21px);
  line-height: 1.75;
}

.hero__actions {
  margin-top: 32px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
}

.app-store-link {
  display: inline-block;
  min-height: 52px;
  text-decoration: none;
}

.app-store-link img {
  width: auto;
  height: 52px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  color: var(--leaf-deep);
  font-weight: 750;
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
}

.trust-line {
  margin-top: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  color: var(--muted);
  font-size: 14px;
}

.trust-line span::before {
  content: "✓";
  margin-right: 7px;
  color: var(--leaf);
  font-weight: 800;
}

.hero__visual {
  position: relative;
  min-height: 610px;
}

.hero__visual::before {
  content: "";
  position: absolute;
  inset: 7% 2% 4% 3%;
  border-radius: 46% 54% 44% 56% / 48% 42% 58% 52%;
  background: rgba(224, 233, 218, 0.78);
}

.device-frame,
.checkin-frame {
  margin: 0;
  overflow: hidden;
  border: 8px solid #20211f;
  background: #20211f;
  box-shadow: 0 26px 70px rgba(45, 46, 40, 0.2);
}

.device-frame {
  position: absolute;
  width: min(57%, 278px);
  border-radius: 42px;
}

.device-frame img,
.checkin-frame img {
  width: 100%;
  height: auto;
}

.device-frame img {
  border-radius: 33px;
}

.device-frame--front {
  top: 5px;
  left: 3%;
  z-index: 2;
  transform: rotate(-4deg);
}

.device-frame--back {
  right: 1%;
  bottom: 4px;
  z-index: 1;
  transform: rotate(4deg);
}

.section {
  padding: clamp(76px, 9vw, 120px) 0;
}

.section--soft {
  position: relative;
}

.section--soft::before {
  content: "";
  position: absolute;
  inset: 28px max(20px, calc((100vw - var(--content)) / 2 - 44px));
  z-index: -1;
  border: 1px solid rgba(255, 255, 255, 0.84);
  border-radius: 48px;
  background: rgba(255, 253, 248, 0.66);
  box-shadow: 0 24px 90px rgba(61, 58, 49, 0.06);
}

.section-heading {
  max-width: 780px;
  margin-bottom: 44px;
}

.section-heading--wide {
  max-width: none;
}

.section-heading h2 {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "PingFang TC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  font-size: clamp(34px, 4.2vw, 54px);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.13;
}

.section-heading p {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 18px;
}

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

.step-card,
.feature-card,
.privacy-card,
.support-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-medium);
  background: rgba(255, 253, 248, 0.78);
}

.step-card {
  padding: 28px;
}

.step-card__number {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  margin-bottom: 24px;
  border-radius: 50%;
  color: #fff;
  background: var(--peach);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 19px;
  font-style: italic;
}

.step-card h3,
.feature-card h3,
.privacy-card h3,
.support-card h3 {
  margin: 0;
  font-size: 21px;
  line-height: 1.35;
}

.step-card p,
.feature-card p,
.privacy-card p,
.support-card p {
  margin: 10px 0 0;
  color: var(--muted);
}

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

.feature-card {
  min-height: 190px;
  padding: 30px;
}

.feature-card__icon {
  margin-bottom: 34px;
  color: var(--peach);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 30px;
  line-height: 1;
}

.privacy-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.74fr) minmax(520px, 1.26fr);
  gap: clamp(36px, 7vw, 90px);
  align-items: center;
}

.privacy-copy {
  margin-bottom: 0;
}

.privacy-demo {
  position: relative;
  min-height: 600px;
}

.checkin-annotated {
  position: absolute;
  top: 0;
  left: 50%;
  width: min(42%, 250px);
  transform: translateX(-50%);
}

.checkin-frame {
  width: 100%;
  border-radius: 42px;
}

.checkin-frame img {
  border-radius: 33px;
}

.privacy-field-label {
  position: absolute;
  left: calc(100% + 18px);
  width: 214px;
  padding: 12px 14px 12px 34px;
  border: 1px solid rgba(101, 123, 104, 0.24);
  border-radius: 16px;
  color: var(--leaf-deep);
  background: rgba(255, 253, 248, 0.95);
  box-shadow: 0 14px 40px rgba(56, 53, 43, 0.1);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.45;
  overflow-wrap: anywhere;
  word-break: normal;
}

.privacy-field-label::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 14px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--peach);
  transform: translateY(-50%);
}

.privacy-field-label::before {
  content: "";
  position: absolute;
  top: 50%;
  right: calc(100% + 6px);
  width: 8px;
  border-top: 2px solid var(--peach);
}

.privacy-field-label--photo {
  top: 31%;
}

.privacy-field-label--note {
  top: 55%;
}

.privacy-field-label--location {
  top: 69%;
}

.privacy-callout {
  position: absolute;
  z-index: 2;
  width: clamp(132px, calc((100% - 250px) / 2 - 18px), 190px);
  padding: 14px 16px;
  border: 1px solid rgba(101, 123, 104, 0.24);
  border-radius: 16px;
  color: var(--leaf-deep);
  background: rgba(255, 253, 248, 0.95);
  box-shadow: 0 14px 40px rgba(56, 53, 43, 0.1);
  font-size: 14px;
  line-height: 1.5;
  overflow-wrap: anywhere;
  word-break: normal;
}

.privacy-callout__dot {
  width: 9px;
  height: 9px;
  display: inline-block;
  margin-top: 0.46em;
  border-radius: 50%;
  background: var(--peach);
}

.privacy-callout__content {
  min-width: 0;
}

.privacy-callout__content strong,
.privacy-callout__content small {
  display: block;
}

.privacy-callout__nowrap {
  white-space: nowrap;
}

.privacy-callout__content small {
  margin-top: 5px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 500;
  line-height: 1.45;
}

.privacy-callout::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 12px;
  border-top: 2px solid var(--peach);
}

.privacy-callout--cloud {
  top: 68px;
  left: 0;
  display: grid;
  grid-template-columns: 9px minmax(0, 1fr);
  gap: 8px;
}

.privacy-callout--cloud::after {
  top: 36px;
  left: 100%;
}

.privacy-card,
.support-card {
  padding: clamp(28px, 4vw, 44px);
}

.privacy-list,
.legal-list {
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.privacy-list li {
  position: relative;
  margin-top: 16px;
  padding-left: 26px;
  color: var(--muted);
}

.privacy-list li::before {
  content: "";
  position: absolute;
  top: 0.7em;
  left: 2px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--peach);
}

.legal-page {
  padding: clamp(64px, 8vw, 104px) 0;
}

.legal-header {
  max-width: 800px;
  margin-bottom: 38px;
}

.legal-header h1 {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "PingFang TC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  font-size: clamp(42px, 6vw, 70px);
  line-height: 1.05;
}

.legal-updated,
.legal-intro {
  margin: 16px 0 0;
  color: var(--muted);
}

.legal-card {
  padding: clamp(28px, 5vw, 56px);
  border: 1px solid var(--line);
  border-radius: var(--radius-large);
  background: rgba(255, 253, 248, 0.82);
  box-shadow: var(--shadow);
}

.legal-list {
  counter-reset: legal-item;
}

.legal-list li {
  counter-increment: legal-item;
  position: relative;
  padding: 0 0 24px 52px;
  color: #53564f;
}

.legal-list li + li {
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.legal-list li::before {
  content: counter(legal-item, decimal-leading-zero);
  position: absolute;
  top: 0;
  left: 0;
  color: var(--peach);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 18px;
  font-style: italic;
}

.legal-list li + li::before {
  top: 24px;
}

.legal-list h2 {
  margin: 0;
  color: var(--ink);
  font-size: 19px;
  line-height: 1.4;
}

.legal-list p {
  margin: 8px 0 0;
}

.support-steps {
  display: grid;
  gap: 14px;
  margin-top: 24px;
}

.support-step {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 12px;
  align-items: start;
  color: var(--muted);
}

.support-step strong {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--leaf);
}

.support-note {
  margin-top: 28px;
  padding: 18px 20px;
  border-radius: 18px;
  color: var(--muted);
  background: var(--peach-soft);
}

.support-single {
  max-width: 860px;
}

.support-single .section-heading {
  margin-bottom: 0;
}

.site-footer {
  margin-top: 60px;
  padding: 46px 0 36px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}

.site-footer__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px 20px;
}

.site-footer__links a,
.filing a {
  text-underline-offset: 3px;
}

.filing {
  margin-top: 22px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 24px;
  font-size: 14px;
}

:lang(zh-Hant) .hero h1,
:lang(zh-Hant) .section-heading h2,
:lang(zh-Hant) .legal-header h1 {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang TC", "Noto Sans TC", "Microsoft JhengHei", sans-serif;
}

:lang(ja) .hero h1,
:lang(ja) .section-heading h2,
:lang(ja) .legal-header h1 {
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Yu Gothic", "Meiryo", sans-serif;
}

:lang(ko) .hero h1,
:lang(ko) .section-heading h2,
:lang(ko) .legal-header h1 {
  font-family: -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", sans-serif;
}

@media (min-width: 800px) {
  .privacy-callout--cloud {
    left: -50px;
    width: 240px;
  }
}

@media (max-width: 1100px) {
  .privacy-layout {
    grid-template-columns: 1fr;
  }

  .privacy-copy {
    max-width: 720px;
  }

  .privacy-demo {
    width: min(100%, 680px);
    margin: 0 auto;
  }
}

@media (min-width: 941px) {
  .section-heading--wide h2 {
    white-space: nowrap;
    font-size: clamp(38px, 3.7vw, 50px);
  }
}

@media (max-width: 940px) {
  .primary-nav > a:not(.nav-download) {
    display: none;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero__copy {
    max-width: 760px;
  }

  .hero__visual {
    width: min(100%, 520px);
    margin: 0 auto;
  }

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

  .privacy-copy {
    max-width: 720px;
  }

  .privacy-demo {
    width: min(100%, 680px);
    margin: 0 auto;
  }
}

@media (max-width: 720px) {
  .site-shell {
    width: min(100% - 28px, var(--content));
  }

  .site-header__inner {
    min-height: 66px;
  }

  .brand__name {
    font-size: 19px;
  }

  .site-header__locales {
    justify-content: center;
  }

  .locale-switcher {
    max-width: 100%;
    overflow-x: auto;
  }

  .hero {
    padding-top: 58px;
  }

  .hero h1 {
    font-size: clamp(40px, 11vw, 56px);
  }

  .hero__visual {
    min-height: 520px;
  }

  .device-frame {
    width: min(58%, 242px);
  }

  .step-grid,
  .feature-grid {
    grid-template-columns: 1fr;
  }

  .feature-card {
    min-height: 0;
  }

  .privacy-demo {
    min-height: 0;
    display: grid;
    justify-items: center;
    gap: 18px;
  }

  .privacy-callout {
    position: static;
    transform: none;
  }

  .checkin-annotated {
    position: relative;
    top: auto;
    left: auto;
    width: min(68vw, 250px);
    transform: none;
  }

  .privacy-field-label {
    left: auto;
    right: 9px;
    width: auto;
    padding: 5px 8px 5px 24px;
    border-radius: 999px;
    color: #727983;
    background: rgba(255, 253, 248, 0.9);
    box-shadow: 0 5px 18px rgba(45, 46, 40, 0.1);
    font-size: 11px;
  }

  .privacy-field-label::after {
    left: 8px;
    width: 7px;
    height: 7px;
  }

  .privacy-field-label::before {
    display: none;
  }

  .privacy-callout {
    width: min(100%, 360px);
    text-align: center;
  }

  .privacy-callout::after {
    display: none;
  }

  .site-footer__links {
    justify-content: flex-start;
  }

  .filing {
    align-items: center;
    flex-direction: column;
  }
}

@media (max-width: 460px) {
  .primary-nav .nav-download {
    padding-inline: 10px;
    font-size: 13px;
  }

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

  .locale-switcher {
    justify-content: flex-start;
  }

  .locale-switcher a {
    padding-inline: 9px;
  }

  .hero__visual {
    min-height: 440px;
  }

  .legal-list li {
    padding-left: 42px;
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
  }
}
