@font-face {
  font-family: "Archivo";
  src: url("fonts/archivo-var.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

@font-face {
  font-family: "IBM Plex Sans";
  src: url("fonts/ibm-plex-sans-var.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 700;
  font-display: swap;
}

:root {
  --ink: #0d1613;
  --ink-soft: #17251f;
  --paper: #f4f0e7;
  --paper-deep: #e8e1d5;
  --white: #fffdf7;
  --green: #1d5a46;
  --lime: #c9ff4a;
  --orange: #ff7849;
  --muted: #5c6762;
  --line: rgba(13, 22, 19, 0.16);
  --dark-line: rgba(255, 255, 255, 0.14);
  --radius: 22px;
  --shell: 1180px;
  --reading: 720px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--ink);
  scroll-padding-top: 7rem;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "IBM Plex Sans", sans-serif;
  font-size: 18px;
  line-height: 1.68;
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
}

:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 4px;
  border-radius: 4px;
}

.skip-link {
  position: fixed;
  left: 1rem;
  top: 1rem;
  z-index: 1000;
  padding: 0.7rem 1rem;
  background: var(--lime);
  color: var(--ink);
  font-family: "Archivo", sans-serif;
  font-weight: 800;
  text-decoration: none;
  transform: translateY(-180%);
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.shell {
  width: min(calc(100% - 40px), var(--shell));
  margin-inline: auto;
}

.site-header {
  position: relative;
  z-index: 20;
  background: var(--ink);
  color: var(--white);
  border-bottom: 1px solid var(--dark-line);
}

.header-inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: "Archivo", sans-serif;
  font-weight: 760;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.brand-mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  background: var(--lime);
  color: var(--ink);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: -0.05em;
}

.header-link {
  color: var(--lime);
  font-family: "Archivo", sans-serif;
  font-size: 0.77rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
}

.header-link::after {
  content: " ↘";
}

.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(78px, 10vw, 148px) 0 clamp(72px, 9vw, 126px);
  background:
    radial-gradient(circle at 84% 20%, rgba(29, 90, 70, 0.6), transparent 32%),
    linear-gradient(120deg, rgba(201, 255, 74, 0.06), transparent 42%),
    var(--ink);
  color: var(--white);
  isolation: isolate;
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  border: 1px solid rgba(201, 255, 74, 0.13);
  border-radius: 50%;
}

.hero::before {
  width: 560px;
  height: 560px;
  right: -170px;
  top: -280px;
}

.hero::after {
  width: 310px;
  height: 310px;
  right: 110px;
  bottom: -240px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(290px, 0.65fr);
  align-items: end;
  gap: clamp(46px, 8vw, 110px);
}

.eyebrow,
.section-number,
.summary-kicker,
.toc > p {
  margin: 0 0 20px;
  color: var(--green);
  font-family: "Archivo", sans-serif;
  font-size: 0.72rem;
  font-weight: 820;
  letter-spacing: 0.14em;
  line-height: 1.2;
  text-transform: uppercase;
}

.hero .eyebrow,
.summary-kicker {
  color: var(--lime);
}

.eyebrow::before {
  content: "";
  display: inline-block;
  width: 34px;
  height: 2px;
  margin: 0 11px 3px 0;
  background: currentColor;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Archivo", sans-serif;
  text-wrap: balance;
}

h1 {
  max-width: 12ch;
  font-size: clamp(3rem, 6.4vw, 6.5rem);
  font-weight: 790;
  letter-spacing: -0.065em;
  line-height: 0.94;
}

h1 em {
  color: var(--lime);
  font-style: normal;
}

h2 {
  max-width: 18ch;
  font-size: clamp(2rem, 4vw, 3.65rem);
  font-weight: 760;
  letter-spacing: -0.048em;
  line-height: 1.02;
}

h3 {
  font-size: 1.05rem;
  font-weight: 760;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

p {
  margin: 0;
}

.hero-lead {
  max-width: 62ch;
  margin-top: 30px;
  color: #d4dcd8;
  font-size: clamp(1.05rem, 1.5vw, 1.28rem);
  line-height: 1.55;
}

.update-card {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  margin-top: 34px;
  padding: 13px 18px;
  border: 1px solid rgba(201, 255, 74, 0.38);
  border-radius: 999px;
  color: #d5ddd9;
  font-size: 0.78rem;
}

.update-card strong {
  color: var(--lime);
  font-family: "Archivo", sans-serif;
  font-size: 0.78rem;
}

.hero-summary {
  padding: 30px;
  border: 1px solid var(--dark-line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.055);
  backdrop-filter: blur(10px);
}

.hero-summary ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.hero-summary li {
  position: relative;
  padding: 16px 0 16px 28px;
  border-top: 1px solid var(--dark-line);
  color: #d7dedb;
  font-size: 0.9rem;
  line-height: 1.48;
}

.hero-summary li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--lime);
  font-weight: 900;
}

.agreement-strip {
  position: relative;
  padding: clamp(62px, 8vw, 104px) 0;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(105deg, rgba(201, 255, 74, 0.13), transparent 38%),
    var(--paper-deep);
}

.agreement-strip::after {
  content: "TERMOS";
  position: absolute;
  right: -0.04em;
  bottom: -0.32em;
  color: rgba(13, 22, 19, 0.035);
  font-family: "Archivo", sans-serif;
  font-size: clamp(7rem, 20vw, 18rem);
  font-weight: 900;
  letter-spacing: -0.09em;
  line-height: 0.8;
  pointer-events: none;
}

.strip-heading {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 0.65fr 1.35fr;
  gap: 40px;
  align-items: end;
}

.strip-heading .eyebrow {
  margin-bottom: 5px;
}

.eyebrow.dark {
  color: var(--green);
}

.strip-heading h2 {
  max-width: 20ch;
  font-size: clamp(2rem, 4.4vw, 4.3rem);
}

.agreement-map {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 50px;
}

.agreement-map article {
  min-height: 240px;
  padding: 26px;
  border: 1px solid rgba(13, 22, 19, 0.13);
  border-radius: 18px;
  background: rgba(255, 253, 247, 0.8);
  box-shadow: 0 22px 60px rgba(13, 22, 19, 0.05);
}

.agreement-map span {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  margin-bottom: 44px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--lime);
  font-family: "Archivo", sans-serif;
  font-size: 0.7rem;
  font-weight: 850;
}

.agreement-map p {
  margin-top: 12px;
  color: var(--muted);
  font-size: 0.87rem;
  line-height: 1.5;
}

.terms-layout {
  display: grid;
  grid-template-columns: 230px minmax(0, var(--reading));
  justify-content: center;
  gap: clamp(54px, 8vw, 110px);
  padding-top: clamp(72px, 9vw, 120px);
  padding-bottom: clamp(90px, 11vw, 150px);
}

.toc-wrap {
  min-width: 0;
}

.toc {
  position: sticky;
  top: 32px;
  padding: 24px 22px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 253, 247, 0.65);
}

.toc > p {
  margin-bottom: 14px;
}

.toc ol {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: toc;
}

.toc li {
  counter-increment: toc;
}

.toc a {
  display: grid;
  grid-template-columns: 25px 1fr;
  gap: 7px;
  padding: 6px 0;
  color: #4e5a55;
  font-size: 0.76rem;
  line-height: 1.32;
  text-decoration: none;
}

.toc a::before {
  content: counter(toc, decimal-leading-zero);
  color: var(--green);
  font-family: "Archivo", sans-serif;
  font-size: 0.66rem;
  font-weight: 760;
}

.toc a:hover {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.terms {
  position: relative;
  min-width: 0;
  padding-left: 54px;
}

.route-line {
  position: absolute;
  top: 14px;
  bottom: 18px;
  left: 8px;
  width: 1px;
  background: linear-gradient(var(--green), rgba(29, 90, 70, 0.12));
}

.terms > section {
  position: relative;
  scroll-margin-top: 40px;
}

.terms > section::before {
  content: "";
  position: absolute;
  left: -52px;
  top: 4px;
  width: 13px;
  height: 13px;
  border: 4px solid var(--paper);
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 1px var(--green);
}

.terms > section + section {
  margin-top: clamp(76px, 9vw, 118px);
  padding-top: clamp(76px, 9vw, 118px);
  border-top: 1px solid var(--line);
}

.terms section > p:not(.section-number):not(.contact-note) {
  max-width: 68ch;
  margin-top: 24px;
  color: #3e4945;
}

.terms section > p + p {
  margin-top: 18px;
}

.terms section a {
  color: var(--green);
  font-weight: 650;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.terms section a:hover {
  color: var(--ink);
}

.health-note {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 18px;
  margin-top: 34px;
  padding: 28px;
  border-radius: 18px;
  background:
    radial-gradient(circle at 100% 0, rgba(255, 120, 73, 0.24), transparent 34%),
    var(--ink);
  color: var(--white);
}

.health-note > span {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 1px solid rgba(201, 255, 74, 0.45);
  border-radius: 50%;
  color: var(--lime);
  font-family: "Archivo", sans-serif;
  font-weight: 850;
}

.health-note p {
  margin-top: 8px;
  color: #c7d0cc;
  font-size: 0.88rem;
  line-height: 1.55;
}

.prohibited-list li::before {
  content: "×";
  color: var(--orange);
}

.data-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 34px;
}

.data-card {
  min-height: 190px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 253, 247, 0.64);
}

.data-card p {
  margin-top: 12px;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.52;
}

.sensitive-note {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 18px;
  margin-top: 14px;
  padding: 26px;
  border-radius: 16px;
  background: var(--ink);
  color: var(--white);
}

.sensitive-note > span {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(201, 255, 74, 0.45);
  border-radius: 50%;
  color: var(--lime);
  font-family: "Archivo", sans-serif;
  font-weight: 800;
}

.sensitive-note p {
  margin-top: 8px;
  color: #c7d0cc;
  font-size: 0.88rem;
  line-height: 1.55;
}

.check-list {
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.check-list li {
  position: relative;
  padding: 16px 0 16px 34px;
  border-bottom: 1px solid var(--line);
  color: #3e4945;
}

.check-list li::before {
  content: "↳";
  position: absolute;
  left: 2px;
  color: var(--green);
  font-family: "Archivo", sans-serif;
  font-weight: 900;
}

.sharing-list {
  margin: 34px 0 0;
  border-top: 1px solid var(--line);
}

.sharing-list > div {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 22px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}

.sharing-list dt {
  color: var(--green);
  font-family: "Archivo", sans-serif;
  font-size: 0.83rem;
  font-weight: 780;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.sharing-list dd {
  margin: 0;
  color: #3e4945;
  font-size: 0.93rem;
}

.rights-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin-top: 34px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--line);
}

.rights-grid > div {
  min-height: 155px;
  padding: 24px;
  background: var(--white);
}

.rights-grid strong {
  display: block;
  margin-bottom: 28px;
  color: var(--green);
  font-family: "Archivo", sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
}

.rights-grid span {
  display: block;
  color: #3e4945;
  font-size: 0.88rem;
  line-height: 1.45;
}

.contact-section {
  margin-left: -54px;
  padding: clamp(36px, 6vw, 64px) !important;
  border: 0 !important;
  border-radius: var(--radius);
  background: var(--green);
  color: var(--white);
}

.contact-section::before {
  display: none;
}

.contact-section .section-number {
  color: var(--lime);
}

.contact-section h2 {
  max-width: 12ch;
}

.contact-section > p:not(.section-number) {
  color: #e5ece8 !important;
}

.contact-button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 32px;
  padding: 18px 22px;
  border: 2px solid var(--lime);
  border-radius: 14px;
  background: var(--lime);
  color: var(--ink);
  font-family: "Archivo", sans-serif;
  text-decoration: none;
  transition: transform 180ms ease, background 180ms ease;
}

.contact-button:hover {
  transform: translateY(-2px);
  background: #ddff88;
}

.contact-button span {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-button strong::after {
  content: " ↗";
}

.contact-note {
  margin-top: 22px;
  color: #c9d8d1;
  font-size: 0.77rem;
  line-height: 1.5;
}

.site-footer {
  padding: 56px 0;
  border-top: 1px solid var(--dark-line);
  background: var(--ink);
  color: var(--white);
}

.footer-inner {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
}

.footer-inner strong {
  font-family: "Archivo", sans-serif;
  font-size: 1.2rem;
}

.footer-inner p {
  margin-top: 5px;
  color: #aebbb5;
  font-size: 0.78rem;
}

.footer-meta {
  text-align: right;
}

.footer-meta a {
  color: var(--lime);
  text-underline-offset: 3px;
}

@media (max-width: 920px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-summary {
    max-width: 620px;
  }

  .strip-heading {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .agreement-map {
    grid-template-columns: 1fr;
  }

  .agreement-map article {
    min-height: 0;
  }

  .agreement-map span {
    margin-bottom: 28px;
  }

  .terms-layout {
    grid-template-columns: 1fr;
  }

  .toc {
    position: static;
  }

  .toc ol {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2px 18px;
  }
}

@media (max-width: 760px) {
  body {
    font-size: 17px;
  }

  .shell {
    width: min(calc(100% - 28px), var(--shell));
  }

  .header-inner {
    min-height: 68px;
  }

  .brand span:last-child {
    font-size: 0.9rem;
  }

  .header-link {
    max-width: 110px;
    text-align: right;
    font-size: 0.64rem;
    line-height: 1.25;
  }

  .hero {
    padding: 64px 0 76px;
  }

  h1 {
    font-size: clamp(2.75rem, 15vw, 4.5rem);
  }

  .update-card {
    align-items: flex-start;
    flex-direction: column;
    gap: 2px;
    border-radius: 15px;
  }

  .hero-summary {
    padding: 22px;
  }

  .agreement-strip {
    padding: 56px 0 64px;
  }

  .agreement-map {
    margin-top: 34px;
  }

  .terms-layout {
    gap: 62px;
    padding-top: 58px;
  }

  .toc {
    padding: 20px;
  }

  .toc ol {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2px 12px;
  }

  .terms {
    padding-left: 30px;
  }

  .route-line {
    left: 4px;
  }

  .terms > section::before {
    left: -31px;
  }

  .data-grid,
  .rights-grid {
    grid-template-columns: 1fr;
  }

  .data-card {
    min-height: 0;
  }

  .sensitive-note {
    grid-template-columns: 1fr;
  }

  .health-note {
    grid-template-columns: 1fr;
    padding: 24px;
  }

  .sharing-list > div {
    grid-template-columns: 1fr;
    gap: 5px;
  }

  .contact-section {
    margin-left: -30px;
    padding: 30px 24px !important;
  }

  .contact-button {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-meta {
    text-align: left;
  }
}

@media (max-width: 440px) {
  .toc ol {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

@media print {
  .site-header,
  .toc-wrap,
  .skip-link,
  .contact-button {
    display: none !important;
  }

  body,
  .hero,
  .site-footer {
    background: #fff !important;
    color: #000 !important;
  }

  .hero {
    padding: 36px 0;
  }

  .agreement-strip {
    padding: 24px 0;
    background: #fff !important;
  }

  .agreement-map article,
  .health-note,
  .contact-section {
    background: #fff !important;
    color: #000 !important;
    border: 1px solid #999 !important;
  }

  .agreement-map p,
  .health-note p,
  .contact-section p {
    color: #000 !important;
  }

  .hero-summary {
    border-color: #999;
  }

  .hero * {
    color: #000 !important;
  }

  .terms-layout {
    display: block;
    padding: 30px 0;
  }

  .terms {
    max-width: none;
  }

  .terms > section {
    break-inside: avoid;
  }
}

