:root {
  color-scheme: light;
  --ink: #102033;
  --muted: #526173;
  --soft: #eef5f8;
  --line: #d7e3ea;
  --surface: #ffffff;
  --background: #f7fbfd;
  --primary: #0d5f8f;
  --primary-dark: #0a3d5d;
  --accent: #18a2b8;
  --warn: #d97706;
  --success: #138564;
  --danger: #c2413b;
  --shadow: 0 18px 50px rgba(20, 52, 74, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

a {
  color: var(--primary);
  font-weight: 800;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

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

.site-shell {
  min-height: 100vh;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(247, 251, 253, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(215, 227, 234, 0.9);
}

.nav-wrap,
.section-inner {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.nav-wrap {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
}

.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  box-shadow: 0 10px 24px rgba(13, 95, 143, 0.18);
}

.brand-name {
  display: block;
  font-size: 1rem;
  line-height: 1.1;
  font-weight: 900;
}

.brand-byline {
  display: block;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  margin-top: 2px;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
  flex-wrap: wrap;
}

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

.nav-links a[aria-current="page"] {
  color: var(--primary-dark);
}

.button,
button.button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  border-radius: 8px;
  padding: 12px 18px;
  background: var(--primary);
  color: #fff;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
  text-decoration: none;
  box-shadow: 0 12px 28px rgba(13, 95, 143, 0.2);
}

.button:hover {
  background: var(--primary-dark);
  text-decoration: none;
}

.button.secondary {
  background: var(--surface);
  color: var(--primary-dark);
  border: 1px solid var(--line);
  box-shadow: none;
}

.button.secondary:hover {
  background: var(--soft);
}

.button.danger {
  background: var(--danger);
}

.hero {
  padding: clamp(44px, 7vw, 88px) 0 36px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: clamp(28px, 6vw, 72px);
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 12px;
  background: var(--surface);
  color: var(--primary-dark);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

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

h1 {
  margin: 18px 0 16px;
  max-width: 760px;
  font-size: clamp(2.35rem, 6vw, 4.8rem);
}

h2 {
  margin: 0 0 14px;
  font-size: clamp(1.8rem, 3.5vw, 3rem);
}

h3 {
  margin: 0 0 8px;
  font-size: 1.08rem;
}

p {
  margin: 0 0 16px;
  color: var(--muted);
}

.lead {
  max-width: 680px;
  font-size: clamp(1.02rem, 2vw, 1.25rem);
}

.lede-wide {
  max-width: 880px;
}

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

.note {
  font-size: 0.92rem;
  color: var(--muted);
}

.phone-preview {
  width: min(390px, 100%);
  margin: 0 auto;
  border: 1px solid rgba(13, 95, 143, 0.15);
  border-radius: 28px;
  background: #102033;
  padding: 12px;
  box-shadow: var(--shadow);
}

.phone-screen {
  min-height: 560px;
  border-radius: 22px;
  background: linear-gradient(180deg, #f8fbfd 0%, #eef7fb 100%);
  padding: 22px;
  overflow: hidden;
}

.phone-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 22px;
}

.phone-title {
  font-weight: 900;
  color: var(--primary-dark);
}

.status-pill {
  border-radius: 999px;
  padding: 5px 10px;
  background: #dff5ed;
  color: var(--success);
  font-size: 0.74rem;
  font-weight: 900;
}

.next-card {
  border-radius: 8px;
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 18px;
  box-shadow: 0 14px 30px rgba(20, 52, 74, 0.08);
}

.next-time {
  color: var(--primary);
  font-size: 2rem;
  line-height: 1;
  font-weight: 900;
  margin-bottom: 8px;
}

.stack-list {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.stack-item {
  display: grid;
  grid-template-columns: 36px 1fr auto;
  gap: 10px;
  align-items: center;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid var(--line);
  padding: 12px;
}

.stack-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: #dff3fb;
  color: var(--primary);
  font-weight: 900;
}

.stack-name {
  font-weight: 900;
}

.stack-meta {
  display: block;
  color: var(--muted);
  font-size: 0.82rem;
}

.supply {
  color: var(--warn);
  font-size: 0.78rem;
  font-weight: 900;
}

.band {
  padding: clamp(42px, 7vw, 82px) 0;
}

.band.surface {
  background: var(--surface);
  border-block: 1px solid var(--line);
}

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

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

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

.card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  padding: 24px;
  box-shadow: 0 10px 28px rgba(20, 52, 74, 0.06);
}

.card strong {
  color: var(--ink);
}

.card-meta {
  margin-bottom: 10px;
  color: var(--primary-dark);
  font-size: 0.85rem;
  font-weight: 900;
}

.card.compact {
  padding: 18px;
}

.article-card {
  overflow: hidden;
  display: flex;
  flex-direction: column;
  padding: 0;
}

.article-card-media {
  display: block;
  background: var(--soft);
}

.article-card-media img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.article-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 20px;
}

.article-card h2 {
  font-size: 1.18rem;
  line-height: 1.18;
}

.article-card .read-link {
  width: fit-content;
  margin-top: auto;
}

.card-icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  border-radius: 8px;
  background: #dff3fb;
  color: var(--primary-dark);
  font-weight: 900;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 28px;
  align-items: start;
}

.list {
  padding-left: 20px;
  color: var(--muted);
}

.list li {
  margin-bottom: 10px;
}

.callout {
  border-left: 4px solid var(--accent);
  background: #edf9fb;
  border-radius: 8px;
  padding: 18px;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 800;
}

.breadcrumb a {
  color: var(--primary-dark);
}

.mini-nav,
.pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.mini-nav a,
.pill-list span {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 12px;
  background: var(--surface);
  color: var(--primary-dark);
  font-size: 0.9rem;
  font-weight: 900;
}

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

.feature-list li,
.check-list li {
  position: relative;
  padding-left: 28px;
  color: var(--muted);
}

.feature-list li::before,
.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.52em;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 0 4px #dff3fb;
}

.content-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(280px, 0.28fr);
  gap: 28px;
  align-items: start;
}

.article {
  max-width: 780px;
}

.article-hero {
  padding: clamp(32px, 5vw, 56px) 0 28px;
}

.article-hero h1 {
  max-width: 940px;
  font-size: clamp(2.25rem, 5.2vw, 4rem);
}

.article-hero .lead {
  font-size: clamp(1rem, 1.7vw, 1.18rem);
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 800;
}

.article-meta span {
  display: inline-flex;
  align-items: center;
}

.article-meta a {
  margin-left: 4px;
}

.article-meta span + span::before {
  content: "";
  width: 5px;
  height: 5px;
  margin-right: 10px;
  border-radius: 999px;
  background: var(--accent);
}

.article h2 {
  margin-top: 34px;
}

.article h3 {
  margin-top: 24px;
}

.article p,
.article li {
  font-size: 1.02rem;
}

.article .list {
  padding-left: 22px;
}

.article-body > p:first-of-type {
  color: var(--ink);
  font-size: 1.12rem;
}

.article-visual {
  margin: 0 0 30px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(135deg, #f8fbfd 0%, #edf9fb 100%);
  box-shadow: 0 16px 42px rgba(20, 52, 74, 0.08);
}

.article-visual-grid {
  min-height: 320px;
  display: grid;
  grid-template-columns: 0.85fr 1.1fr 0.55fr;
  gap: 18px;
  align-items: end;
  padding: clamp(24px, 5vw, 44px);
}

.visual-bottle,
.visual-phone,
.visual-water {
  border: 1px solid rgba(13, 95, 143, 0.18);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 14px 32px rgba(20, 52, 74, 0.08);
}

.visual-bottle {
  min-height: 210px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 12px;
  border-radius: 16px 16px 8px 8px;
  color: var(--primary-dark);
  text-align: center;
}

.visual-bottle span {
  width: 58px;
  height: 28px;
  border-radius: 7px 7px 3px 3px;
  background: var(--primary-dark);
}

.visual-phone {
  min-height: 250px;
  display: grid;
  align-content: center;
  gap: 14px;
  border-radius: 26px;
  padding: 24px;
}

.visual-phone span {
  color: var(--primary);
  font-size: 2rem;
  line-height: 1;
  font-weight: 900;
}

.visual-phone strong {
  font-size: 1.1rem;
}

.visual-phone small {
  width: fit-content;
  border-radius: 999px;
  padding: 7px 10px;
  background: #dff5ed;
  color: var(--success);
  font-weight: 900;
}

.visual-water {
  min-height: 170px;
  border-radius: 10px 10px 24px 24px;
  background:
    linear-gradient(180deg, transparent 0 30%, rgba(24, 162, 184, 0.24) 31%),
    rgba(255, 255, 255, 0.86);
}

.article-visual figcaption {
  border-top: 1px solid var(--line);
  padding: 14px 18px;
  color: var(--muted);
  font-size: 0.92rem;
}

.article-visual.article-photo {
  background: var(--surface);
}

.article-visual.article-photo img,
.article-image img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.article-image {
  margin: 32px 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 14px 36px rgba(20, 52, 74, 0.08);
}

.article-image figcaption {
  border-top: 1px solid var(--line);
  padding: 14px 16px;
  color: var(--muted);
  font-size: 0.92rem;
}

.image-idea,
.author-card,
.comments-box,
.topic-tags {
  margin-top: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fbfd;
  padding: 20px;
}

.image-idea {
  border-left: 4px solid var(--warn);
}

.step-stack {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 18px 0;
}

.step-stack div {
  min-height: 132px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  padding: 16px;
}

.step-stack strong,
.step-stack span {
  display: block;
}

.step-stack strong {
  margin-bottom: 8px;
  color: var(--primary-dark);
}

.step-stack span {
  color: var(--muted);
  font-size: 0.94rem;
}

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

.routine-example > div {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  padding: 18px;
}

.faq-block {
  margin-top: 38px;
}

.faq-block details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  padding: 16px 18px;
}

.faq-block details + details {
  margin-top: 10px;
}

.faq-block summary {
  color: var(--ink);
  font-weight: 900;
  cursor: pointer;
}

.faq-block details p {
  margin: 12px 0 0;
}

.article-toc {
  max-width: 320px;
}

.toc {
  position: sticky;
  top: 96px;
}

.toc a {
  display: block;
  margin: 10px 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.article-footer {
  margin-top: 34px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.store-badges {
  display: grid;
  gap: 12px;
  margin-top: 22px;
}

.store-badge {
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px 16px;
  background: var(--surface);
  color: var(--ink);
  font-weight: 900;
}

.store-badge.disabled {
  color: var(--muted);
  background: #f2f7fa;
}

.simple-table {
  width: 100%;
  border-collapse: collapse;
  margin: 18px 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
}

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

.simple-table th {
  background: #edf9fb;
  color: var(--primary-dark);
  font-size: 0.9rem;
}

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

.form {
  display: grid;
  gap: 16px;
}

.field {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-weight: 800;
}

input,
textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px 14px;
  color: var(--ink);
  background: #fff;
  font: inherit;
}

textarea {
  min-height: 130px;
  resize: vertical;
}

.status {
  display: none;
  border-radius: 8px;
  padding: 12px 14px;
  background: #edf9fb;
  color: var(--primary-dark);
  font-weight: 800;
}

.status.error {
  background: #fff1f2;
  color: var(--danger);
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 36px 0;
  background: #f0f7fa;
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

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

.footer-links a {
  color: var(--muted);
}

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

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

  .hero-grid,
  .split,
  .content-grid,
  .grid,
  .grid.two {
    grid-template-columns: 1fr;
  }

  .toc {
    position: static;
  }

  .article-toc {
    max-width: none;
  }

  .article-meta {
    flex-direction: column;
    gap: 4px;
  }

  .article-meta span + span::before {
    display: none;
  }

  .article-visual-grid,
  .step-stack,
  .routine-example {
    grid-template-columns: 1fr;
  }

  .visual-bottle,
  .visual-phone,
  .visual-water {
    min-height: 150px;
  }

  .phone-screen {
    min-height: 480px;
  }
}
