:root {
  --page: #f6faf8;
  --paper: #ffffff;
  --ink: #14211f;
  --muted: #5f716d;
  --soft: #edf6f1;
  --line: #dce9e3;
  --green: #2f7558;
  --green-2: #68aa88;
  --logo-green: #5fbd4b;
  --logo-green-soft: #e9f7e5;
  --logo-blue: #1f9bd7;
  --logo-blue-soft: #e6f5fc;
  --logo-white-soft: #f8faf9;
  --cream: #fff8ed;
  --violet: #eeeaf8;
  --shadow: 0 18px 54px rgba(23, 44, 38, 0.11);
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  min-height: 100%;
}

body {
  min-height: 100svh;
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(180deg, var(--logo-white-soft) 0%, #ffffff 34%, var(--logo-blue-soft) 68%, var(--logo-green-soft) 100%),
    var(--page);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  line-height: 1.58;
  overscroll-behavior-y: none;
}

body::after {
  display: block;
  height: max(40px, env(safe-area-inset-bottom));
  content: "";
}

img,
svg {
  display: block;
  max-width: 100%;
  height: auto;
}

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

p,
h1,
h2,
h3 {
  margin-top: 0;
}

h1,
h2,
h3 {
  line-height: 1.08;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

h1 {
  margin-bottom: 20px;
  font-size: clamp(2.35rem, 4.2vw, 4.35rem);
  max-width: 820px;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(1.7rem, 2.55vw, 2.65rem);
  max-width: 760px;
}

h3 {
  margin-bottom: 10px;
  font-size: clamp(1.08rem, 1.6vw, 1.32rem);
}

.site-header,
.section-band,
.site-footer {
  width: min(100% - 32px, var(--max));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 12px;
  padding: 12px 18px;
  border: 2px solid rgba(220, 233, 227, 0.86);
  border-radius: 8px;
  background: linear-gradient(135deg, #17231f, #243832);
  box-shadow: 0 16px 44px rgba(23, 44, 38, 0.14);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  width: clamp(300px, 30vw, 455px);
  min-width: 0;
  margin-left: -4px;
  overflow: hidden;
  color: var(--green);
  font-size: 1.05rem;
  font-weight: 850;
}

.brand img {
  width: clamp(430px, 42vw, 620px);
  height: auto;
  max-height: 88px;
  margin-left: clamp(-118px, -7vw, -78px);
  object-fit: contain;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 6px;
}

.nav-links a {
  min-height: 36px;
  padding: 8px 12px;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.93rem;
  font-weight: 750;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

.section-band {
  padding: clamp(48px, 6vw, 72px) 0;
}

.eyebrow {
  margin-bottom: 12px;
  color: var(--green);
  font-size: 0.77rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.headline-accent {
  color: var(--green);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(320px, 0.98fr);
  gap: 48px;
  align-items: center;
  min-height: auto;
  padding-top: clamp(34px, 5vw, 52px);
  padding-bottom: clamp(34px, 5vw, 52px);
}

.hero-copy {
  padding: 24px 0;
}

.hero-text,
.lead {
  max-width: 690px;
  color: var(--muted);
  font-size: clamp(1.06rem, 1.8vw, 1.28rem);
}

.hero-text {
  margin-bottom: 26px;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 11px 17px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.96rem;
  font-weight: 850;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 28px rgba(47, 117, 88, 0.14);
}

.button.primary {
  border-color: transparent;
  background: var(--green);
  color: #fff;
}

.button.secondary {
  background: rgba(255, 255, 255, 0.78);
  color: var(--green);
}

.hero-art,
.visual-panel,
.feature,
.note-panel,
.tech-summary,
.tech-row,
.truth-card,
.launch-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.88), rgba(248, 250, 249, 0.86));
  box-shadow: var(--shadow);
}

.hero-art {
  padding: 18px;
}

.e2ee-panel {
  padding: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(230, 245, 252, 0.82)),
    var(--paper);
  box-shadow: var(--shadow);
}

.explain-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: 28px;
  align-items: start;
}

.plain-steps {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  counter-reset: steps;
  list-style: none;
}

.plain-steps li {
  position: relative;
  min-height: 56px;
  padding: 15px 16px 15px 58px;
  border: 1px solid rgba(220, 233, 227, 0.95);
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.86), rgba(248, 250, 249, 0.82));
  color: var(--muted);
}

.plain-steps li::before {
  position: absolute;
  left: 15px;
  top: 13px;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: var(--logo-blue-soft);
  color: var(--logo-blue);
  content: counter(steps, decimal-leading-zero);
  counter-increment: steps;
  font-size: 0.72rem;
  font-weight: 900;
}

.idea-grid,
.split {
  display: grid;
  grid-template-columns: minmax(260px, 0.82fr) minmax(0, 1.18fr);
  gap: 48px;
  align-items: center;
}

.idea-grid {
  border-top: 1px solid var(--line);
}

.prose {
  color: var(--muted);
  font-size: 1.07rem;
}

.prose h2 {
  color: var(--ink);
}

.prose p {
  margin-bottom: 16px;
}

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

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

.feature {
  padding: 22px;
}

.feature:nth-child(1),
.feature:nth-child(4) {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(248, 250, 249, 0.86));
}

.feature:nth-child(2) {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(230, 245, 252, 0.86));
}

.feature:nth-child(3) {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(233, 247, 229, 0.88));
}

.feature img {
  width: 44px;
  height: 44px;
  margin-bottom: 20px;
}

.feature p,
.try-grid p,
.note-panel p {
  margin-bottom: 0;
  color: var(--muted);
}

.visual-panel {
  overflow: hidden;
  padding: 18px;
  background: linear-gradient(135deg, var(--logo-white-soft), var(--logo-blue-soft) 48%, var(--logo-green-soft));
}

.check-list {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 24px 0 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 30px;
}

.check-list li::before {
  position: absolute;
  left: 0;
  top: 1px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--logo-green-soft);
  color: var(--green);
  content: "✓";
  font-size: 0.78rem;
  font-weight: 900;
  line-height: 20px;
  text-align: center;
}

.try-band {
  padding: 58px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(248, 250, 249, 0.92), rgba(233, 247, 229, 0.86)),
    var(--paper);
  box-shadow: var(--shadow);
}

.try-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 24px;
}

.try-grid p {
  padding: 19px;
  border: 1px solid rgba(220, 233, 227, 0.9);
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.82), rgba(248, 250, 249, 0.76));
}

.quick-view {
  padding: 50px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(233, 247, 229, 0.78));
  box-shadow: var(--shadow);
}

.try-band + .quick-view {
  margin-top: clamp(28px, 4vw, 48px);
}

.comparison-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
}

.comparison-table {
  width: 100%;
  min-width: 660px;
  border-collapse: collapse;
}

.comparison-table th,
.comparison-table td {
  padding: 16px 18px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.comparison-table tr:last-child th,
.comparison-table tr:last-child td {
  border-bottom: 0;
}

.comparison-table th {
  width: 32%;
  color: var(--ink);
  font-size: 0.96rem;
}

.comparison-table td {
  color: var(--muted);
}

.contact-panel {
  display: grid;
  gap: 18px;
  margin-top: clamp(28px, 4vw, 48px);
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(233, 247, 229, 0.78), rgba(255, 255, 255, 0.92));
}

.contact-panel h3 {
  margin-bottom: 0;
}

.contact-panel .section-heading {
  margin-bottom: 0;
}

.contact-note {
  margin: 0;
  padding: 14px 16px;
  border: 1px solid rgba(220, 233, 227, 0.95);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--muted);
  font-size: 0.96rem;
}

.contact-form {
  display: grid;
  grid-template-columns: minmax(150px, 0.85fr) minmax(190px, 1fr) minmax(180px, 1.15fr) auto;
  gap: 12px;
  align-items: end;
}

.contact-form label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 750;
}

.contact-form input {
  width: 100%;
  min-height: 46px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.88);
  color: var(--ink);
  font: inherit;
}

.contact-form input:focus {
  border-color: rgba(31, 155, 215, 0.55);
  outline: 3px solid rgba(31, 155, 215, 0.16);
}

.contact-extra {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.contact-result {
  min-height: 60svh;
}

.tech-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.98fr) minmax(300px, 0.72fr);
  gap: 42px;
  align-items: end;
  padding-top: 58px;
  padding-bottom: 42px;
}

.tech-hero h1 {
  max-width: 760px;
  font-size: clamp(2.2rem, 3.4vw, 3.55rem);
}

.tech-hero .lead {
  margin-bottom: 0;
}

.tech-summary {
  padding: 24px;
  background: linear-gradient(135deg, #ffffff, var(--logo-blue-soft));
}

.tech-summary strong {
  display: block;
  margin-bottom: 10px;
  color: var(--green);
  font-size: 0.84rem;
  text-transform: uppercase;
}

.tech-summary p {
  margin: 0;
  color: var(--muted);
}

.flow-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(0, 1.2fr);
  gap: 28px;
  align-items: stretch;
}

.flow-copy {
  padding: 32px;
  border-radius: 8px;
  background: #17231f;
  color: #fff;
}

.flow-copy p {
  color: #cad9d4;
}

.flow-diagram {
  display: grid;
  gap: 12px;
}

.flow-step {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.86);
}

.flow-step span {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 8px;
  background: var(--logo-blue-soft);
  color: var(--logo-blue);
  font-weight: 900;
}

.flow-step h3 {
  margin-bottom: 5px;
}

.flow-step p {
  margin: 0;
  color: var(--muted);
}

.truth-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.truth-card {
  padding: 24px;
}

.truth-card:nth-child(2),
.truth-card:nth-child(5) {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(233, 247, 229, 0.86));
}

.truth-card:nth-child(1),
.truth-card:nth-child(6) {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(230, 245, 252, 0.86));
}

.truth-card h3 {
  font-size: clamp(1.2rem, 1.8vw, 1.55rem);
}

.truth-card p {
  margin: 0;
  color: var(--muted);
}

.launch-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(260px, 0.75fr);
  gap: 28px;
  align-items: center;
  padding: 34px;
  background:
    linear-gradient(135deg, rgba(230, 245, 252, 0.82), rgba(233, 247, 229, 0.86)),
    #fff;
}

.launch-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.launch-list li {
  padding: 12px 14px;
  border: 1px solid rgba(220, 233, 227, 0.95);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
  color: var(--muted);
}

.note-panel {
  padding: 32px;
  background: #17231f;
  color: #fff;
}

.note-panel p {
  color: #c9d7d2;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 18px;
  color: rgba(255, 255, 255, 0.72);
  border: 2px solid rgba(220, 233, 227, 0.86);
  border-radius: 8px;
  background: linear-gradient(135deg, #17231f, #243832);
  box-shadow: 0 16px 44px rgba(23, 44, 38, 0.12);
}

.site-footer div {
  display: grid;
  gap: 2px;
}

.site-footer strong,
.site-footer a {
  color: #ffffff;
}

@media (max-width: 980px) {
  .hero,
  .idea-grid,
  .split,
  .tech-hero,
  .explain-grid,
  .flow-section,
  .launch-panel {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-art {
    max-width: 620px;
  }

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

@media (max-width: 720px) {
  h1 {
    font-size: clamp(2rem, 8vw, 2.75rem);
  }

  h2 {
    font-size: clamp(1.5rem, 6vw, 2.05rem);
  }

  .tech-hero h1 {
    font-size: clamp(1.95rem, 7.5vw, 2.55rem);
  }

  .site-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
    padding: 12px 14px;
  }

  .nav-links {
    justify-content: flex-start;
    gap: 4px;
  }

  .section-band {
    width: min(100% - 24px, var(--max));
    padding: 42px 0;
  }

  .hero {
    padding-top: 28px;
    padding-bottom: 34px;
  }

  .feature-grid,
  .try-grid,
  .contact-form,
  .truth-grid {
    grid-template-columns: 1fr;
  }

  .try-band,
  .launch-panel,
  .quick-view,
  .e2ee-panel {
    width: min(100% - 24px, var(--max));
    padding: 28px 16px;
  }

  .comparison-wrap {
    overflow-x: visible;
  }

  .comparison-table {
    min-width: 0;
  }

  .comparison-table,
  .comparison-table tbody,
  .comparison-table tr,
  .comparison-table th,
  .comparison-table td {
    display: block;
    width: 100%;
  }

  .comparison-table tr {
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
  }

  .comparison-table tr:last-child {
    border-bottom: 0;
  }

  .comparison-table th,
  .comparison-table td {
    padding: 0 14px;
    border-bottom: 0;
  }

  .comparison-table th {
    margin-bottom: 5px;
  }

  .contact-panel {
    padding: 18px;
  }

  .flow-copy,
  .truth-card,
  .note-panel,
  .tech-summary {
    padding: 22px;
  }

  .flow-step {
    grid-template-columns: 42px minmax(0, 1fr);
    padding: 16px;
  }

  .flow-step span {
    width: 42px;
    height: 42px;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
    width: min(100% - 24px, var(--max));
    padding-top: 22px;
    padding-bottom: 20px;
  }
}

@media (max-width: 430px) {
  h1 {
    font-size: clamp(1.86rem, 8.5vw, 2.35rem);
  }

  h2 {
    font-size: clamp(1.42rem, 6.5vw, 1.86rem);
  }

  .brand {
    width: 100%;
    margin-left: 0;
    overflow: visible;
  }

  .brand img {
    width: min(310px, 82vw);
    max-height: 82px;
    margin-left: 0;
  }

  .nav-links a {
    min-height: 34px;
    padding: 7px 10px;
    font-size: 0.88rem;
  }

  .hero-text,
  .lead,
  .prose {
    font-size: 1rem;
  }

  .hero-art,
  .visual-panel {
    padding: 10px;
  }

  .feature,
  .plain-steps li,
  .try-grid p {
    padding: 16px;
  }
}
