:root {
  color-scheme: light;
  --ink: #16161d;
  --muted: #62646d;
  --line: #dedfe5;
  --paper: #f7f7f4;
  --accent: #d8fb36;
  --accent-dark: #506600;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.62;
}

a {
  color: var(--accent-dark);
  font-weight: 800;
}

.page {
  max-width: 880px;
  margin: 0 auto;
  padding: 36px 20px 64px;
}

.hero,
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 10px 24px rgba(22, 22, 29, 0.06);
}

.hero {
  padding: 28px;
  margin-bottom: 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--accent);
  font-size: 13px;
  font-weight: 900;
}

h1 {
  margin: 18px 0 8px;
  font-size: clamp(32px, 7vw, 52px);
  line-height: 1.02;
  letter-spacing: 0;
}

h2 {
  margin: 32px 0 10px;
  font-size: 24px;
  letter-spacing: 0;
}

h3 {
  margin: 20px 0 8px;
  font-size: 18px;
}

p {
  margin: 8px 0;
}

ul {
  padding-left: 20px;
}

li + li {
  margin-top: 6px;
}

.muted {
  color: var(--muted);
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.nav a {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  padding: 0 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  text-decoration: none;
}

.card {
  padding: 24px 28px;
}

.notice {
  padding: 14px 16px;
  border: 1px solid #efe3b4;
  border-radius: 10px;
  background: #fff8d6;
}

.footer {
  margin-top: 24px;
  color: var(--muted);
  font-size: 13px;
}

.instagram-body {
  background: #090d0a;
}

.instagram-landing {
  width: min(100%, 520px);
  min-height: 100vh;
  margin: 0 auto;
  background: #090d0a;
  color: #fff;
  box-shadow: 0 0 60px rgba(0, 0, 0, 0.42);
}

.instagram-hero-visual {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  background: #090d0a;
}

.instagram-hero-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(5, 8, 6, 0.1) 22%, rgba(5, 8, 6, 0.18) 46%, rgba(5, 8, 6, 0.86) 100%),
    linear-gradient(90deg, rgba(5, 8, 6, 0.12), rgba(5, 8, 6, 0));
}

.instagram-hero-visual img {
  display: block;
  width: 100%;
  height: 100svh;
  object-fit: cover;
  object-position: 18% center;
}

.instagram-hero-overlay {
  position: absolute;
  z-index: 1;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 0 22px calc(28px + env(safe-area-inset-bottom));
}

.instagram-brand {
  display: inline-flex;
  padding: 7px 10px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  background: rgba(9, 13, 10, 0.34);
  color: #fff;
  font-size: 13px;
  font-weight: 950;
  letter-spacing: 0.02em;
  backdrop-filter: blur(12px);
}

.instagram-catchphrase {
  margin: 14px 0 0;
  color: #fff;
  font-size: clamp(26px, 7vw, 36px);
  font-weight: 950;
  line-height: 1.14;
  letter-spacing: 0;
}

.app-store-badge {
  display: inline-flex;
  margin-top: 18px;
  line-height: 0;
}

.app-store-badge img {
  display: block;
  width: min(218px, 72vw);
  height: auto;
}

.instagram-note {
  margin: 14px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
}

@media (max-width: 560px) {
  .page {
    padding: 20px 14px 48px;
  }

  .hero,
  .card {
    padding: 20px;
    border-radius: 10px;
  }

  .instagram-landing {
    width: 100%;
    box-shadow: none;
  }

  .instagram-hero-visual img {
    object-position: 18% center;
  }
}

/* Tennish product site */
.site-body {
  --site-ink: #111512;
  --site-muted: #5d655f;
  --site-line: #d9ded9;
  --site-green: #08724c;
  --site-lime: #d8fb36;
  margin: 0;
  overflow-x: hidden;
  background: #f5f7f3;
  color: var(--site-ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans KR", sans-serif;
}

.site-body a {
  color: inherit;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 10px;
  left: 10px;
  padding: 10px 14px;
  transform: translateY(-160%);
  border-radius: 6px;
  background: #fff;
  color: #111;
  text-decoration: none;
}

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

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

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  border-bottom: 1px solid rgba(17, 21, 18, 0.1);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(18px);
}

.header-inner {
  display: flex;
  min-height: 70px;
  align-items: center;
  gap: 34px;
}

.site-logo,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 19px;
  font-weight: 900;
  text-decoration: none;
}

.site-logo img,
.footer-brand img {
  width: 36px;
  height: 36px;
  border-radius: 8px;
}

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

.site-nav a {
  color: #353a36;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--site-green);
}

.header-download {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  border-radius: 6px;
  background: var(--site-ink);
  color: #fff !important;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}

.site-hero {
  position: relative;
  height: min(720px, calc(100svh - 108px));
  min-height: 560px;
  overflow: hidden;
  background: #172018;
  color: #fff;
}

.hero-media,
.hero-media img,
.hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-media img {
  display: block;
  object-fit: cover;
  object-position: center center;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(4, 12, 8, 0.04) 28%, rgba(4, 12, 8, 0.28) 50%, rgba(4, 12, 8, 0.88) 100%),
    linear-gradient(180deg, rgba(4, 12, 8, 0.04), rgba(4, 12, 8, 0.18));
}

.hero-content {
  position: relative;
  z-index: 1;
  display: flex;
  height: 100%;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding-left: min(58%, 680px);
}

.eyebrow,
.section-kicker {
  margin: 0 0 16px;
  color: var(--site-green);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.eyebrow {
  color: var(--site-lime);
}

.site-hero h1 {
  margin: 0;
  color: #fff;
  font-size: 72px;
  line-height: 0.95;
  letter-spacing: 0;
}

.hero-headline {
  margin: 24px 0 0;
  color: #fff;
  font-size: 42px;
  font-weight: 850;
  line-height: 1.16;
}

.hero-copy {
  margin: 20px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 17px;
  line-height: 1.72;
}

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

.site-store-badge {
  margin: 0;
}

.site-store-badge img,
.download-badge img {
  width: 174px;
}

.text-action {
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.65);
  color: #fff !important;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
}

.product-section,
.steps-section,
.support-section {
  padding: 124px 0;
}

.product-section {
  padding-top: 78px;
}

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

.section-heading h2,
.watch-copy h2,
.download-inner h2,
.support-layout h2 {
  margin: 0;
  color: var(--site-ink);
  font-size: 52px;
  font-weight: 850;
  line-height: 1.14;
  letter-spacing: 0;
}

.section-heading > p:last-child,
.watch-copy > p:last-child,
.support-layout > div > p:last-child {
  max-width: 620px;
  margin: 22px 0 0;
  color: var(--site-muted);
  font-size: 18px;
  line-height: 1.75;
}

.screen-gallery {
  display: grid;
  max-width: 930px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 64px;
  margin: 0 auto;
}

.product-screen {
  margin: 0;
}

.product-screen-offset {
  margin-top: 130px;
}

.product-screen img {
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 30px 34px rgba(25, 34, 27, 0.15));
}

.product-screen figcaption {
  display: grid;
  gap: 7px;
  padding: 24px 4px 0;
}

.product-screen figcaption strong {
  font-size: 20px;
}

.product-screen figcaption span {
  color: var(--site-muted);
  font-size: 15px;
}

.shot-types {
  display: grid;
  max-width: 930px;
  grid-template-columns: repeat(3, 1fr);
  margin: 92px auto 0;
  border-top: 1px solid var(--site-line);
  border-bottom: 1px solid var(--site-line);
}

.shot-types span {
  padding: 22px 12px;
  text-align: center;
  font-size: 17px;
  font-weight: 850;
}

.shot-types span + span {
  border-left: 1px solid var(--site-line);
}

.watch-section {
  padding: 112px 0;
  overflow: hidden;
  background: #101713;
  color: #fff;
}

.watch-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.78fr) minmax(560px, 1.22fr);
  align-items: center;
  gap: 72px;
}

.watch-copy .section-kicker {
  color: var(--site-lime);
}

.watch-copy h2 {
  color: #fff;
}

.watch-copy > p:last-child {
  color: rgba(255, 255, 255, 0.7);
}

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

.watch-gallery img {
  display: block;
  width: 100%;
  aspect-ratio: 396 / 484;
  object-fit: contain;
}

.steps-section {
  background: #fff;
}

.section-heading-compact {
  margin-bottom: 54px;
}

.steps-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--site-line);
  border-bottom: 1px solid var(--site-line);
  list-style: none;
}

.steps-list li {
  min-height: 250px;
  padding: 30px 34px 36px;
}

.steps-list li + li {
  margin: 0;
  border-left: 1px solid var(--site-line);
}

.step-number {
  color: var(--site-green);
  font-size: 13px;
  font-weight: 900;
}

.steps-list h3 {
  margin: 44px 0 12px;
  font-size: 21px;
  letter-spacing: 0;
}

.steps-list p {
  margin: 0;
  color: var(--site-muted);
  font-size: 15px;
  line-height: 1.7;
}

.download-section {
  padding: 92px 0;
  background: var(--site-lime);
}

.download-inner {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 48px;
}

.download-inner .section-kicker {
  color: #344600;
}

.download-inner h2 {
  font-size: 48px;
}

.download-badge {
  flex: 0 0 auto;
  margin: 0 0 4px;
}

.download-badge img {
  width: 190px;
}

.support-section {
  background: #f5f7f3;
}

.support-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: end;
  gap: 80px;
}

.support-layout h2 {
  font-size: 42px;
}

.support-contact {
  padding: 28px 0 6px;
  border-top: 1px solid var(--site-line);
}

.support-contact a {
  color: var(--site-green);
  font-size: 22px;
  font-weight: 850;
  text-decoration: none;
}

.support-contact p {
  margin: 12px 0 0;
  color: var(--site-muted);
  font-size: 14px;
}

.site-footer {
  padding: 54px 0;
  background: #101713;
  color: #fff;
}

.footer-inner {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 28px 56px;
}

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

.footer-inner nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 14px 24px;
}

.footer-inner nav a {
  color: rgba(255, 255, 255, 0.76);
  font-size: 13px;
  font-weight: 650;
  text-decoration: none;
}

.footer-inner > p {
  grid-column: 1 / -1;
  margin: 0;
  color: rgba(255, 255, 255, 0.45);
  font-size: 12px;
}

@media (max-width: 900px) {
  .site-nav {
    gap: 18px;
  }

  .site-hero h1 {
    font-size: 58px;
  }

  .hero-headline {
    font-size: 34px;
  }

  .watch-layout {
    grid-template-columns: 1fr;
    gap: 54px;
  }

  .watch-copy {
    max-width: 650px;
  }

  .support-layout {
    grid-template-columns: 1fr;
    gap: 50px;
  }
}

@media (max-width: 700px) {
  .site-container {
    width: min(100% - 32px, 1180px);
  }

  .header-inner {
    min-height: 64px;
    gap: 18px;
  }

  .site-logo span,
  .site-nav a:nth-child(-n + 3) {
    display: none;
  }

  .site-logo img {
    width: 34px;
    height: 34px;
  }

  .site-nav {
    margin-left: auto;
  }

  .header-download {
    min-height: 36px;
    padding: 0 12px;
  }

  .site-hero {
    height: calc(100svh - 168px);
    min-height: 500px;
    max-height: 650px;
  }

  .hero-media img {
    object-position: 58% center;
  }

  .hero-shade {
    background:
      linear-gradient(180deg, rgba(3, 8, 5, 0.08) 18%, rgba(3, 8, 5, 0.2) 46%, rgba(3, 8, 5, 0.92) 100%),
      linear-gradient(90deg, rgba(3, 8, 5, 0.1), rgba(3, 8, 5, 0.04));
  }

  .hero-content {
    justify-content: flex-end;
    padding: 0 0 38px;
  }

  .site-hero h1 {
    font-size: 52px;
  }

  .hero-headline {
    margin-top: 18px;
    font-size: 31px;
  }

  .hero-copy {
    margin-top: 14px;
    font-size: 15px;
    line-height: 1.65;
  }

  .desktop-break {
    display: none;
  }

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

  .site-store-badge img {
    width: 152px;
  }

  .text-action {
    font-size: 13px;
  }

  .product-section,
  .steps-section,
  .support-section {
    padding: 84px 0;
  }

  .product-section {
    padding-top: 58px;
  }

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

  .section-heading h2,
  .watch-copy h2,
  .download-inner h2,
  .support-layout h2 {
    font-size: 36px;
  }

  .section-heading > p:last-child,
  .watch-copy > p:last-child,
  .support-layout > div > p:last-child {
    margin-top: 16px;
    font-size: 16px;
  }

  .screen-gallery {
    grid-template-columns: 1fr;
    gap: 64px;
  }

  .product-screen-offset {
    margin-top: 0;
  }

  .shot-types {
    margin-top: 64px;
  }

  .shot-types span {
    padding: 18px 4px;
    font-size: 15px;
  }

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

  .watch-gallery {
    width: 140%;
    margin-left: -20%;
    gap: 4px;
  }

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

  .steps-list li {
    min-height: 0;
    padding: 26px 0 30px;
  }

  .steps-list li + li {
    border-top: 1px solid var(--site-line);
    border-left: 0;
  }

  .steps-list h3 {
    margin-top: 28px;
  }

  .download-section {
    padding: 72px 0;
  }

  .download-inner {
    align-items: flex-start;
    flex-direction: column;
    gap: 34px;
  }

  .download-badge img {
    width: 174px;
  }

  .support-contact a {
    font-size: 18px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .footer-inner nav {
    display: grid;
    justify-content: start;
    gap: 12px;
  }

  .footer-inner > p {
    grid-column: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
  }
}
