:root {
  --paper-start: #f1faf4;
  --paper-end: #dff0e5;
  --ink: #2e3c33;
  --ink-soft: #5e7567;
  --leaf: #3fa878;
  --mint: #7fcfa4;
  --card: #f8fdf9;
  --surface: #fff;
  --line: rgba(46, 60, 51, 0.15);
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--paper-end);
}

body {
  min-height: 100vh;
  margin: 0;
  padding: 56px 20px 80px;
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Apple SD Gothic Neo",
    "Noto Sans KR", "Noto Sans JP", Roboto, sans-serif;
  line-height: 1.7;
  background: linear-gradient(180deg, var(--paper-start), var(--paper-end));
}

a {
  color: var(--ink);
}

.card {
  width: 100%;
  max-width: 680px;
  margin: 0 auto;
  padding: 40px 34px;
  background: var(--card);
  border: 2px solid var(--line);
  border-radius: 24px;
}

.page-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 22px;
}

.crumb {
  margin: 0;
  font-size: 13px;
}

.crumb a,
.language-nav a {
  color: var(--ink-soft);
  text-decoration: none;
}

.crumb a:hover,
.language-nav a:hover {
  color: var(--leaf);
}

.language-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 5px 10px;
  font-size: 13px;
  white-space: nowrap;
}

.language-nav a[aria-current="page"] {
  color: var(--ink);
  font-weight: 800;
  text-decoration: underline;
  text-decoration-color: var(--mint);
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.hero {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 8px;
}

.badge {
  font-size: 34px;
  line-height: 1;
}

.page-app-icon {
  width: 46px;
  height: 46px;
  flex: 0 0 auto;
  border-radius: 13px;
  box-shadow: 0 6px 20px rgba(46, 60, 51, 0.12);
}

h1 {
  margin: 0;
  font-size: 25px;
  font-weight: 800;
  letter-spacing: -0.4px;
  line-height: 1.35;
}

.tag {
  margin: 2px 0 26px;
  color: var(--ink-soft);
  font-size: 15px;
}

.updated {
  margin: 4px 0 24px;
  color: var(--ink-soft);
  font-size: 13px;
}

h2 {
  margin: 28px 0 10px;
  color: var(--leaf);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.4px;
}

h3 {
  margin: 20px 0 6px;
  font-size: 15px;
  font-weight: 800;
}

p {
  margin: 0 0 12px;
}

ul {
  margin: 0 0 12px;
  padding-left: 20px;
}

li {
  margin-bottom: 7px;
}

.lead {
  font-size: 17px;
  font-weight: 700;
}

.question {
  margin: 16px 0 4px;
  font-weight: 800;
}

.answer {
  margin: 0 0 4px;
  color: var(--ink-soft);
}

.contact {
  margin-top: 14px;
  padding: 20px 22px;
  text-align: center;
  background: var(--surface);
  border: 2px solid var(--line);
  border-radius: 18px;
}

.contact a {
  font-size: 19px;
  font-weight: 800;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.contact-note {
  margin-top: 6px;
  color: var(--ink-soft);
  font-size: 13px;
}

.page-footer {
  margin-top: 28px;
  padding-top: 24px;
  color: var(--ink-soft);
  font-size: 13px;
  border-top: 1px solid var(--line);
}

.page-footer a,
.mail {
  font-weight: 700;
}

.language-landing {
  text-align: center;
}

.language-landing .hero {
  justify-content: center;
}

.language-landing .tag {
  margin-bottom: 24px;
}

.language-options {
  display: grid;
  gap: 10px;
  max-width: 320px;
  margin: 0 auto;
}

.language-options a {
  display: block;
  padding: 12px 18px;
  font-weight: 700;
  text-decoration: none;
  background: var(--surface);
  border: 2px solid var(--line);
  border-radius: 14px;
}

.language-options a:hover {
  border-color: var(--mint);
}

.redirect-note {
  margin: 18px 0 0;
  color: var(--ink-soft);
  font-size: 12px;
}

@media (max-width: 560px) {
  body {
    padding: 20px 12px 40px;
  }

  .card {
    padding: 28px 22px;
    border-radius: 20px;
  }

  .page-header {
    display: block;
  }

  .language-nav {
    justify-content: flex-start;
    margin-top: 12px;
  }
}

/* Marketing landing pages */

body.marketing-page {
  padding: 0;
  background:
    radial-gradient(circle at 12% 8%, rgba(127, 207, 164, 0.2), transparent 30%),
    radial-gradient(circle at 88% 4%, rgba(255, 199, 190, 0.24), transparent 28%),
    #f8fcf9;
  overflow-x: hidden;
}

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

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--ink);
  font-size: 17px;
  font-weight: 850;
  letter-spacing: -0.3px;
  text-decoration: none;
}

.brand img {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(46, 60, 51, 0.12);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav-link {
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.nav-link:hover {
  color: var(--leaf);
}

.marketing-page .language-nav {
  justify-content: flex-start;
}

.marketing-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(380px, 0.98fr);
  align-items: center;
  gap: clamp(34px, 6vw, 86px);
  min-height: 690px;
  padding: 52px 0 82px;
}

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

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 20px;
  padding: 7px 12px;
  color: #317457;
  font-size: 13px;
  font-weight: 800;
  background: rgba(127, 207, 164, 0.15);
  border: 1px solid rgba(63, 168, 120, 0.2);
  border-radius: 999px;
}

.eyebrow::before {
  width: 7px;
  height: 7px;
  content: "";
  background: var(--leaf);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(63, 168, 120, 0.12);
}

.marketing-hero h1 {
  max-width: 650px;
  margin: 0;
  font-size: clamp(48px, 6.4vw, 76px);
  font-weight: 900;
  letter-spacing: -3.6px;
  line-height: 1.08;
  text-wrap: balance;
}

.marketing-hero h1 em {
  color: var(--leaf);
  font-style: normal;
}

.hero-description {
  max-width: 570px;
  margin: 26px 0 30px;
  color: var(--ink-soft);
  font-size: clamp(17px, 2vw, 20px);
  line-height: 1.7;
  text-wrap: balance;
}

.download-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px 18px;
}

.app-store-badge {
  display: block;
  width: auto;
  height: 56px;
}

.availability-note {
  margin: 0;
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.45;
}

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

.hero-visual::before {
  position: absolute;
  inset: 74px 0 34px 48px;
  content: "";
  background: linear-gradient(145deg, rgba(127, 207, 164, 0.32), rgba(255, 210, 199, 0.34));
  border-radius: 46% 54% 58% 42% / 46% 44% 56% 54%;
  filter: blur(2px);
}

.hero-shot {
  position: absolute;
  display: block;
  height: auto;
  border: 1px solid rgba(46, 60, 51, 0.1);
  border-radius: 34px;
  box-shadow: 0 32px 72px rgba(46, 60, 51, 0.17);
}

.hero-shot-primary {
  z-index: 2;
  top: 0;
  left: 34px;
  width: min(310px, 68%);
  transform: rotate(-2.2deg);
}

.hero-shot-secondary {
  right: 0;
  bottom: 0;
  width: min(224px, 50%);
  transform: rotate(4deg);
}

.proof-strip {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.62);
  backdrop-filter: blur(12px);
}

.proof-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: 0;
  padding: 22px 0;
  list-style: none;
}

.proof-list li {
  margin: 0;
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 750;
  text-align: center;
  border-right: 1px solid var(--line);
}

.proof-list li:last-child {
  border-right: 0;
}

.marketing-section {
  padding: 112px 0;
}

.section-heading {
  max-width: 720px;
  margin: 0 auto 54px;
  text-align: center;
}

.section-kicker {
  margin: 0 0 10px;
  color: var(--leaf);
  font-size: 13px;
  font-weight: 850;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}

.section-heading h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(34px, 5vw, 52px);
  font-weight: 900;
  letter-spacing: -2px;
  line-height: 1.2;
  text-wrap: balance;
}

.section-heading p:last-child {
  max-width: 600px;
  margin: 18px auto 0;
  color: var(--ink-soft);
  font-size: 17px;
  text-wrap: balance;
}

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

.feature-card {
  min-height: 290px;
  padding: 32px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: 0 20px 60px rgba(46, 60, 51, 0.055);
}

.feature-icon {
  display: grid;
  width: 48px;
  height: 48px;
  margin-bottom: 28px;
  place-items: center;
  font-size: 22px;
  background: var(--paper-start);
  border: 1px solid rgba(63, 168, 120, 0.14);
  border-radius: 15px;
}

.feature-card h3 {
  margin: 0 0 12px;
  font-size: 22px;
  letter-spacing: -0.7px;
}

.feature-card p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 15px;
}

.screens-section {
  background: #edf7f0;
  border-top: 1px solid rgba(46, 60, 51, 0.06);
  border-bottom: 1px solid rgba(46, 60, 51, 0.06);
}

.screen-gallery {
  display: grid;
  grid-auto-columns: minmax(230px, 280px);
  grid-auto-flow: column;
  gap: 20px;
  width: min(1400px, calc(100% - 40px));
  margin: 0 auto;
  padding: 12px 0 34px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-padding-inline: max(20px, calc((100vw - 1160px) / 2));
  scroll-snap-type: inline mandatory;
  scrollbar-width: thin;
  scrollbar-color: rgba(63, 168, 120, 0.35) transparent;
}

.screen-gallery::before,
.screen-gallery::after {
  width: max(0px, calc((100vw - 1160px) / 2 - 20px));
  content: "";
}

.screen-gallery img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid rgba(46, 60, 51, 0.1);
  border-radius: 30px;
  box-shadow: 0 22px 50px rgba(46, 60, 51, 0.12);
  scroll-snap-align: start;
}

.trust-panel {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 40px;
  padding: clamp(38px, 6vw, 70px);
  background:
    radial-gradient(circle at 100% 0, rgba(127, 207, 164, 0.22), transparent 34%),
    #26372e;
  border-radius: 36px;
  box-shadow: 0 24px 70px rgba(38, 55, 46, 0.18);
  overflow: hidden;
}

.trust-panel h2 {
  max-width: 700px;
  margin: 0 0 16px;
  color: #f6fbf7;
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 900;
  letter-spacing: -1.8px;
  line-height: 1.2;
  text-wrap: balance;
}

.trust-panel p {
  max-width: 650px;
  margin: 0;
  color: #bdd0c4;
  font-size: 16px;
}

.text-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 174px;
  padding: 14px 20px;
  color: #26372e;
  font-size: 15px;
  font-weight: 850;
  text-decoration: none;
  background: #f7fcf8;
  border-radius: 999px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.16);
}

.text-cta:hover {
  background: #e8f7ed;
}

.marketing-footer {
  padding: 42px 0 58px;
  color: var(--ink-soft);
  font-size: 13px;
}

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

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
}

.footer-links a {
  color: var(--ink-soft);
  font-weight: 700;
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--leaf);
}

.apple-legal {
  max-width: 760px;
  margin: 22px 0 0;
  color: #8a9b90;
  font-size: 11px;
  line-height: 1.55;
}

@media (max-width: 900px) {
  .marketing-hero {
    grid-template-columns: 1fr;
    padding-top: 64px;
    text-align: center;
  }

  .hero-description {
    margin-inline: auto;
  }

  .download-row {
    justify-content: center;
  }

  .hero-visual {
    width: min(530px, 100%);
    margin: 0 auto;
  }

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

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

@media (max-width: 680px) {
  .marketing-shell {
    width: min(100% - 28px, 1160px);
  }

  .site-nav {
    align-items: flex-start;
    padding: 16px 0;
  }

  .brand span {
    display: none;
  }

  .nav-actions {
    align-items: flex-end;
    flex-direction: column-reverse;
    gap: 8px;
  }

  .marketing-page .language-nav {
    margin-top: 0;
  }

  .marketing-hero {
    min-height: 0;
    gap: 24px;
    padding: 60px 0 68px;
  }

  .marketing-hero h1 {
    font-size: clamp(42px, 13vw, 58px);
    letter-spacing: -2.7px;
  }

  .hero-description {
    margin-top: 22px;
    font-size: 17px;
  }

  .download-row {
    flex-direction: column;
  }

  .hero-visual {
    min-height: 500px;
  }

  .hero-shot-primary {
    left: 4%;
    width: min(255px, 68%);
  }

  .hero-shot-secondary {
    right: 2%;
    width: min(180px, 48%);
  }

  .proof-list {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px 0;
  }

  .proof-list li:nth-child(2) {
    border-right: 0;
  }

  .marketing-section {
    padding: 82px 0;
  }

  .section-heading {
    margin-bottom: 38px;
  }

  .section-heading h2 {
    font-size: 35px;
    letter-spacing: -1.4px;
  }

  .feature-card {
    padding: 26px;
    border-radius: 24px;
  }

  .screen-gallery {
    grid-auto-columns: 230px;
    width: 100%;
    padding-inline: 14px;
    scroll-padding-inline: 14px;
  }

  .screen-gallery::before,
  .screen-gallery::after {
    display: none;
  }

  .trust-panel {
    grid-template-columns: 1fr;
    gap: 28px;
    border-radius: 28px;
  }

  .text-cta {
    width: 100%;
  }

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