@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&display=swap");

:root {
  --bg: #f7f4ee;
  --surface: rgba(255, 255, 255, 0.74);
  --surface-strong: rgba(255, 255, 255, 0.9);
  --line: rgba(17, 17, 17, 0.08);
  --text-main: #111111;
  --text-muted: #6c6a68;
  --accent: #1f7a45;
  --accent-soft: rgba(31, 122, 69, 0.1);
  --radius-xl: 36px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --shadow-soft: 0 20px 60px rgba(17, 17, 17, 0.05);
  --wrap: min(1180px, calc(100% - 32px));
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  font-family: "Manrope", sans-serif;
  background: #ffffff;
  color: var(--text-main);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
}

svg {
  display: block;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -48px;
  z-index: 1000;
  padding: 12px 16px;
  border-radius: 999px;
  background: #111111;
  color: #ffffff;
}

.skip-link:focus {
  top: 16px;
}

.wrap {
  width: var(--wrap);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 16px;
  z-index: 30;
  width: var(--wrap);
  min-height: 58px;
  margin: 16px auto 0;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--line);
  border-radius: 999px;
  backdrop-filter: blur(18px);
  box-shadow: 0 8px 24px rgba(17, 17, 17, 0.03);
}

.logo {
  display: inline-flex;
  align-items: center;
  font-size: 0.98rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  gap: 10px;
}

.logo img {
  width: 34px;
  height: 34px;
  border-radius: 10px;
}

.nav-toggle {
  display: none;
  border: 0;
  background: transparent;
  color: var(--text-main);
}

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

.nav-links a {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-muted);
  transition: color 0.2s ease;
}

.nav-links a:hover,
.nav-links a.is-active {
  color: var(--text-main);
}

.header-download,
.btn-store,
.secondary-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  padding: 0 20px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 0.92rem;
  font-weight: 700;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.header-download,
.btn-store {
  background: #111111;
  color: #ffffff;
}

.secondary-btn {
  background: var(--surface);
  border-color: var(--line);
  color: var(--text-main);
}

.header-download:hover,
.btn-store:hover,
.secondary-btn:hover {
  transform: translateY(-1px);
}

.page-transition {
  padding: 44px 0 80px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.65);
  border: 1px solid var(--line);
  color: var(--text-muted);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

h1 {
  font-size: clamp(3rem, 7vw, 5.6rem);
  line-height: 0.94;
  letter-spacing: -0.07em;
  font-weight: 800;
}

h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  line-height: 1;
  letter-spacing: -0.05em;
}

h3 {
  font-size: 1.18rem;
  line-height: 1.1;
  letter-spacing: -0.04em;
}

p {
  color: var(--text-muted);
}

.sub {
  max-width: 700px;
  margin: 0 auto;
  font-size: 1.05rem;
}

.page-head {
  max-width: 760px;
  margin: 0 auto 48px;
  text-align: center;
}

.page-head h1 {
  margin-bottom: 18px;
  font-size: clamp(2.6rem, 6vw, 4.6rem);
}

.grid-2,
.benefit-cards,
.built-sections {
  display: grid;
  gap: 0;
}

.grid-2,
.benefit-cards {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 44px;
}

.built-sections {
  grid-template-columns: 1fr;
}

.detail-card,
.benefit-card,
.built-block {
  padding: 28px 0;
  border-top: 1px solid var(--line);
}

.detail-card p,
.benefit-card p,
.built-block p {
  margin-top: 12px;
  max-width: 56ch;
}

.detail-card,
.benefit-card {
  position: relative;
}

.detail-card::before,
.benefit-card::before {
  display: block;
  margin-bottom: 16px;
  color: #9a958d;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.grid-2 .detail-card:nth-child(1)::before,
.benefit-cards .benefit-card:nth-child(1)::before {
  content: "01";
}

.grid-2 .detail-card:nth-child(2)::before,
.benefit-cards .benefit-card:nth-child(2)::before {
  content: "02";
}

.grid-2 .detail-card:nth-child(3)::before,
.benefit-cards .benefit-card:nth-child(3)::before {
  content: "03";
}

.grid-2 .detail-card:nth-child(4)::before,
.benefit-cards .benefit-card:nth-child(4)::before {
  content: "04";
}

.grid-2 .detail-card:nth-child(5)::before,
.benefit-cards .benefit-card:nth-child(5)::before {
  content: "05";
}

.grid-2 .detail-card:nth-child(6)::before,
.benefit-cards .benefit-card:nth-child(6)::before {
  content: "06";
}

.built-block {
  display: grid;
  grid-template-columns: 68px 1fr;
  gap: 18px;
  align-items: start;
}

.icon,
.icon-lg {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: var(--accent-soft);
  color: var(--accent);
}

.icon svg,
.icon-lg svg {
  width: 24px;
  height: 24px;
}

.icon {
  margin-bottom: 18px;
}

.quote-block,
.cta-block {
  margin-top: 28px;
  padding: 34px 0 0;
  text-align: center;
  border-top: 1px solid var(--line);
}

.quote-block blockquote {
  max-width: 720px;
  margin: 0 auto 24px;
  font-size: clamp(1.7rem, 4vw, 2.6rem);
  line-height: 1.05;
  letter-spacing: -0.05em;
  font-weight: 700;
}

.site-footer {
  width: var(--wrap);
  margin: 0 auto 42px;
  padding: 28px 0 8px;
}

.footer-inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.footer-title {
  margin-bottom: 12px;
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
}

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

.footer-links a {
  font-size: 0.92rem;
  color: var(--text-muted);
}

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

.page-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.9fr);
  gap: 36px;
  align-items: center;
  padding: 28px 0 46px;
}

.page-hero-copy h1 {
  max-width: 10.5ch;
  margin-bottom: 18px;
  font-size: clamp(3.4rem, 8vw, 6.4rem);
  line-height: 0.9;
  letter-spacing: -0.08em;
}

.page-hero-copy p {
  max-width: 56ch;
  font-size: 1.06rem;
}

.page-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #ffffff;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.page-kicker img {
  width: 28px;
  height: 28px;
  border-radius: 8px;
}

.page-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 24px;
}

.page-visual {
  position: relative;
  min-height: 520px;
}

.visual-blob {
  position: absolute;
  border-radius: 50%;
}

.visual-blob-a {
  top: 20px;
  right: 20px;
  width: 190px;
  height: 190px;
  background: #09a53e;
}

.visual-blob-b {
  left: 20px;
  bottom: 30px;
  width: 120px;
  height: 120px;
  background: #ffd80c;
}

.visual-frame {
  position: absolute;
  top: 26px;
  right: 44px;
  width: min(360px, 82%);
  padding: 10px;
  border: 4px solid #121212;
  border-radius: 44px;
  background: #ffffff;
  box-shadow: 0 20px 0 rgba(18, 18, 18, 0.08);
  transform: rotate(5deg);
}

.visual-frame img {
  display: block;
  width: 100%;
  border-radius: 32px;
}

.visual-sticker {
  position: absolute;
  left: 18px;
  bottom: 0;
  width: 128px;
  transform: rotate(-8deg);
}

.visual-sticker img {
  display: block;
  width: 100%;
}

.green-band {
  padding: 52px 0;
  margin: 12px 0 0;
  background:
    radial-gradient(circle at 15% 20%, rgba(255, 255, 255, 0.18), transparent 24%),
    radial-gradient(circle at 80% 78%, rgba(255, 255, 255, 0.14), transparent 22%),
    #09a53e;
  color: #ffffff;
}

.green-band-inner {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.green-band h2 {
  color: #ffffff;
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  line-height: 0.95;
}

.green-band p {
  color: rgba(255, 255, 255, 0.92);
}

.green-card {
  padding: 6px 0;
}

.green-card strong {
  display: block;
  margin-bottom: 10px;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.green-card p {
  max-width: 30ch;
  font-size: 1.02rem;
}

.section-block {
  padding: 64px 0 24px;
}

.section-lead {
  max-width: 760px;
  margin-bottom: 30px;
}

.section-lead h2 {
  margin-bottom: 14px;
  font-size: clamp(2.5rem, 5vw, 4rem);
  line-height: 0.92;
  letter-spacing: -0.07em;
}

.section-lead p {
  max-width: 58ch;
  font-size: 1.04rem;
}

.stream-list {
  border-top: 2px solid rgba(17, 17, 17, 0.08);
}

.stream-item {
  display: grid;
  grid-template-columns: 86px 1fr;
  gap: 24px;
  padding: 24px 0;
  border-bottom: 2px solid rgba(17, 17, 17, 0.08);
}

.stream-item .index {
  color: #09a53e;
  font-size: 1rem;
  font-weight: 800;
}

.stream-item h3,
.stream-item h2 {
  margin-bottom: 8px;
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  line-height: 0.96;
  letter-spacing: -0.05em;
}

.stream-item p {
  max-width: 58ch;
}

.cta-closing {
  padding: 52px 0 24px;
}

.cta-closing-inner {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 28px;
  align-items: start;
}

.cta-closing-inner img {
  width: 120px;
  height: 120px;
  border-radius: 32px;
}

.cta-closing-inner h2 {
  max-width: 12ch;
  margin-bottom: 14px;
  font-size: clamp(2.6rem, 5vw, 4.6rem);
  line-height: 0.92;
  letter-spacing: -0.07em;
}

.brand-footer {
  margin-top: 0;
  padding: 52px 0 24px;
  background: #ffffff;
}

.brand-footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) repeat(3, minmax(0, 0.7fr));
  gap: 34px;
  align-items: start;
  padding-top: 18px;
  border-top: 1px solid rgba(17, 17, 17, 0.08);
}

.brand-footer-brand {
  display: grid;
  grid-template-columns: 76px 1fr;
  gap: 16px;
  align-items: start;
}

.brand-footer-brand img {
  width: 76px;
  height: 76px;
  border-radius: 22px;
}

.brand-footer-brand h3,
.brand-footer-col .footer-title {
  color: #111111;
}

.brand-footer-brand h3 {
  margin-bottom: 0;
  font-size: clamp(1.35rem, 2.2vw, 2rem);
  line-height: 0.95;
  letter-spacing: -0.05em;
}

.brand-footer-brand p {
  margin-top: 6px;
  color: #6c6a68;
  font-size: 0.84rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.brand-footer-col .footer-title {
  margin-bottom: 14px;
  font-size: clamp(1.1rem, 1.8vw, 1.4rem);
  line-height: 1;
  letter-spacing: -0.04em;
  text-transform: none;
}

.brand-footer-links {
  display: grid;
  gap: 12px;
}

.brand-footer-links a {
  font-size: clamp(0.96rem, 1.35vw, 1.12rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: #111111;
  font-weight: 600;
  overflow-wrap: anywhere;
}

.brand-footer-links a:hover {
  color: #09a53e;
}

.form-card {
  max-width: 760px;
  margin: 40px auto 0;
  padding: 28px;
  background: var(--surface-strong);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}

.form-card label {
  display: block;
  margin-top: 18px;
  margin-bottom: 8px;
  font-size: 0.9rem;
  font-weight: 700;
}

.form-card input {
  width: 100%;
  min-height: 54px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.88);
}

.form-card button {
  margin-top: 22px;
  min-width: 180px;
  min-height: 50px;
  border: 0;
  border-radius: 999px;
  background: #111111;
  color: #ffffff;
  font-weight: 700;
  cursor: pointer;
}

.form-success {
  display: none;
  padding: 18px 20px;
  border-radius: 16px;
  background: rgba(31, 122, 69, 0.1);
  color: var(--accent);
  font-weight: 700;
}

.form-success.is-visible {
  display: block;
}

.dash-loading,
.dash-not-found,
.dash-panel {
  max-width: 640px;
  margin: 0 auto;
  padding: 32px;
  text-align: center;
  background: var(--surface-strong);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}

.dash-panel h2 {
  margin-bottom: 24px;
}

.dash-stat {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 0;
  border-top: 1px solid var(--line);
  color: var(--text-main);
  font-weight: 700;
}

.spinner {
  width: 40px;
  height: 40px;
  margin: 0 auto 16px;
  border-radius: 50%;
  border: 3px solid rgba(17, 17, 17, 0.08);
  border-top-color: #111111;
  animation: spin 0.9s linear infinite;
}

body[data-page="privacy"] .built-sections,
body[data-page="tos"] .built-sections {
  max-width: 820px;
  margin: 0 auto;
}

body[data-page="privacy"] .built-block,
body[data-page="tos"] .built-block {
  grid-template-columns: 1fr;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@media (max-width: 900px) {
  .grid-2,
  .benefit-cards {
    grid-template-columns: 1fr;
    column-gap: 0;
  }

  .green-band-inner {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .site-header {
    top: 12px;
    width: min(100% - 24px, 100%);
    padding: 10px 14px;
    flex-wrap: wrap;
  }

  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
  }

  .nav-links {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding-top: 8px;
  }

  .nav-links.is-open {
    display: flex;
  }

  .header-download {
    display: none;
  }

  .page-transition {
    padding-top: 28px;
  }

  .page-hero,
  .cta-closing-inner {
    grid-template-columns: 1fr;
  }

  .page-hero-copy h1,
  .cta-closing-inner h2 {
    max-width: none;
  }

  .page-visual {
    min-height: 430px;
  }

  .visual-frame {
    right: 10px;
    width: min(280px, 80%);
  }

  .visual-sticker {
    left: 4px;
    width: 104px;
  }

  .stream-item {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .brand-footer-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .brand-footer-brand {
    grid-template-columns: 64px 1fr;
    gap: 14px;
  }

  .brand-footer-brand img {
    width: 64px;
    height: 64px;
    border-radius: 18px;
  }

  .built-block {
    grid-template-columns: 1fr;
  }

  h1 {
    letter-spacing: -0.06em;
  }
}
