@font-face {
  font-family: "Pretendard";
  font-style: normal;
  font-weight: 100 900;
  src: url("./fonts/PretendardVariable.ttf") format("truetype");
  font-display: swap;
}

:root {
  --bg: #fffaf8;
  --surface: #ffffff;
  --surface-soft: #f4faf7;
  --ink: #1e2422;
  --muted: #66736e;
  --line: #e4ebe7;
  --accent: #d96f62;
  --accent-strong: #bd564b;
  --green: #0f7f68;
  --green-soft: #dff2ec;
  --gold: #d7a93f;
  --radius: 8px;
  --shadow: 0 18px 48px rgba(31, 48, 43, 0.12);
  --header-height: 72px;
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family:
    "Pretendard",
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  font-size: 16px;
  line-height: 1.65;
  letter-spacing: 0;
  text-rendering: optimizeLegibility;
}

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

a {
  color: inherit;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: 12px;
  z-index: 20;
  padding: 8px 12px;
  background: var(--ink);
  color: #ffffff;
  border-radius: var(--radius);
  transform: translateY(-160%);
  transition: transform 160ms ease;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  min-height: var(--header-height);
  background: rgba(255, 250, 248, 0.9);
  border-bottom: 1px solid rgba(228, 235, 231, 0.82);
  backdrop-filter: blur(16px);
}

.nav-shell {
  width: min(1120px, calc(100% - 32px));
  min-height: var(--header-height);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  color: var(--ink);
  font-weight: 800;
  text-decoration: none;
}

.brand img {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  box-shadow: 0 8px 20px rgba(15, 127, 104, 0.18);
}

.brand span {
  white-space: nowrap;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-links a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 12px;
  border-radius: var(--radius);
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition:
    background-color 160ms ease,
    color 160ms ease;
}

.nav-links a:hover,
.nav-links a:focus-visible,
.nav-links a[aria-current="page"] {
  background: var(--green-soft);
  color: var(--green);
  outline: none;
}

.hero {
  position: relative;
  min-height: calc(78svh - var(--header-height));
  overflow: hidden;
  isolation: isolate;
  display: flex;
  align-items: center;
  padding: clamp(64px, 10vw, 116px) max(24px, calc((100vw - 1120px) / 2));
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image: url("../assets/app-desktop.png");
  background-position: center right;
  background-size: cover;
  opacity: 0.24;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(255, 250, 248, 0.78);
}

.hero-copy {
  width: min(690px, 100%);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--green);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
}

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

h1 {
  margin: 0;
  max-width: 680px;
  color: var(--ink);
  font-size: clamp(42px, 8vw, 76px);
  line-height: 1.04;
  letter-spacing: 0;
}

.hero-lead {
  margin: 22px 0 0;
  max-width: 620px;
  color: #35413d;
  font-size: clamp(18px, 2.3vw, 24px);
  font-weight: 500;
  line-height: 1.5;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 800;
  text-decoration: none;
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    background-color 160ms ease,
    border-color 160ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
  outline: none;
}

.button-primary {
  background: var(--green);
  color: #ffffff;
  box-shadow: 0 12px 28px rgba(15, 127, 104, 0.22);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: #0c6f5a;
  box-shadow: 0 16px 34px rgba(15, 127, 104, 0.28);
}

.button-secondary {
  background: #ffffff;
  border-color: var(--line);
  color: var(--ink);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  border-color: #bed8cf;
  box-shadow: 0 12px 28px rgba(31, 48, 43, 0.1);
}

.section {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: clamp(56px, 8vw, 88px) 0;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 28px;
}

.section-heading h2,
.availability h2,
.policy-article h1 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(30px, 4.8vw, 48px);
  line-height: 1.14;
  letter-spacing: 0;
}

.section-heading p:not(.eyebrow),
.availability p,
.policy-intro {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 17px;
}

.preview-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 300px);
  gap: 22px;
  align-items: end;
}

figure {
  margin: 0;
}

.desktop-shot,
.mobile-shot {
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.desktop-shot img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: top left;
}

.mobile-shot {
  justify-self: end;
}

.mobile-shot img {
  width: 100%;
  aspect-ratio: 390 / 844;
  object-fit: cover;
  object-position: top center;
}

figcaption {
  padding: 12px 14px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
  border-top: 1px solid var(--line);
}

.feature-band {
  border-top: 1px solid var(--line);
}

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

.feature-card {
  min-height: 220px;
  padding: 22px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    box-shadow 160ms ease;
}

.feature-card:hover,
.feature-card:focus-within {
  transform: translateY(-2px);
  border-color: #cfe2db;
  box-shadow: 0 14px 34px rgba(31, 48, 43, 0.09);
}

.feature-number {
  display: block;
  margin-bottom: 42px;
  color: var(--accent);
  font-weight: 900;
}

.feature-card h3 {
  margin: 0;
  font-size: 21px;
  line-height: 1.28;
  letter-spacing: 0;
}

.feature-card p {
  margin: 12px 0 0;
  color: var(--muted);
  line-height: 1.55;
}

.privacy-summary {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 32px;
  align-items: start;
  border-top: 1px solid var(--line);
}

.privacy-summary .section-heading {
  margin-bottom: 0;
}

.privacy-points {
  display: grid;
  gap: 12px;
}

.privacy-points div {
  padding: 18px;
  background: var(--surface-soft);
  border: 1px solid #dbece5;
  border-radius: var(--radius);
}

.privacy-points strong {
  display: block;
  color: var(--green);
  font-size: 17px;
}

.privacy-points p {
  margin: 8px 0 0;
  color: var(--muted);
}

.text-link {
  align-self: end;
  width: fit-content;
  color: var(--green);
  font-weight: 800;
  text-decoration-color: rgba(15, 127, 104, 0.35);
  text-underline-offset: 4px;
}

.text-link:hover,
.text-link:focus-visible {
  color: #0b654f;
  text-decoration-color: currentColor;
  outline: none;
}

.availability {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 42px;
  padding: clamp(28px, 5vw, 44px);
  background: var(--ink);
  color: #ffffff;
  border-radius: var(--radius);
}

.availability .eyebrow,
.availability h2,
.availability p {
  color: #ffffff;
}

.availability p {
  opacity: 0.78;
}

.status-pill {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  background: #ffffff;
  color: var(--green);
  border-radius: var(--radius);
  font-weight: 900;
}

.site-footer {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 28px 0 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.site-footer p {
  margin: 0;
  font-weight: 800;
}

.site-footer a {
  color: var(--green);
  font-weight: 800;
  text-decoration-color: rgba(15, 127, 104, 0.35);
  text-underline-offset: 4px;
}

.policy-page {
  width: min(940px, calc(100% - 32px));
  margin: 0 auto;
  padding: clamp(52px, 8vw, 86px) 0;
}

.policy-article {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(24px, 5vw, 52px);
  box-shadow: 0 16px 46px rgba(31, 48, 43, 0.08);
}

.policy-intro {
  max-width: 760px;
}

.policy-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 30px 0 12px;
}

.policy-meta div {
  padding: 16px;
  background: var(--surface-soft);
  border: 1px solid #dbece5;
  border-radius: var(--radius);
}

.policy-meta dt {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.policy-meta dd {
  margin: 4px 0 0;
  color: var(--ink);
  font-weight: 800;
}

.policy-article section {
  padding-top: 30px;
  margin-top: 30px;
  border-top: 1px solid var(--line);
}

.policy-article h2 {
  margin: 0 0 12px;
  font-size: clamp(22px, 3vw, 28px);
  line-height: 1.25;
  letter-spacing: 0;
}

.policy-article p {
  margin: 10px 0 0;
  color: #3f4b47;
}

@media (max-width: 860px) {
  .nav-shell {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
    padding: 14px 0;
  }

  .site-header {
    position: static;
  }

  .nav-links {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .nav-links a {
    flex: 0 0 auto;
  }

  .hero {
    min-height: 72svh;
    padding-top: 54px;
    padding-bottom: 54px;
  }

  .hero::before {
    background-image: url("../assets/app-mobile.png");
    background-position: center right;
    opacity: 0.16;
  }

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

  .mobile-shot {
    justify-self: start;
    width: min(260px, 76vw);
  }

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

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

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

  .policy-meta {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  body {
    font-size: 15px;
  }

  .brand span {
    white-space: normal;
  }

  .hero {
    min-height: 68svh;
  }

  .hero-actions,
  .button {
    width: 100%;
  }

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

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

  .feature-number {
    margin-bottom: 24px;
  }

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