/* Bagged. White page, deep green and Greek blue, bold Poppins headings.
   Everything painted (sky, sea, the plane, the How it works scenes) is drawn in code by paint.js. */
@font-face { font-family: "Poppins"; font-weight: 500; font-style: normal; font-display: swap; src: url("/assets/fonts/poppins-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-weight: 600; font-style: normal; font-display: swap; src: url("/assets/fonts/poppins-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-weight: 700; font-style: normal; font-display: swap; src: url("/assets/fonts/poppins-latin-700-normal.woff2") format("woff2"); }

:root {
  --bg: #ffffff;
  --tint: #f2f7fc;
  --ink: #13261f;
  --muted: #4b5f57;
  --green: #0b4a33;
  --green-dark: #06331f;
  --foot: #0a3a29;
  --blue: #0d5eaf;
  --blue-dark: #094a8c;
  --line: #e0e8f0;
  --red: #a3361a;
  --head: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --body: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --wrap: 1120px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 17px/1.6 var(--body); }
a { color: var(--blue); text-underline-offset: 3px; }
a:hover { color: var(--blue-dark); }
figure { margin: 0; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }

/* Painted sky and sea (paint.js). The gradients show until the painting is ready. */
.paint { position: relative; isolation: isolate; background: linear-gradient(180deg, #c3d7ee, #bcd2ec); }
.paint[data-paint="top"] { background: linear-gradient(180deg, #f6f9fc 0, #e6eef8 50px, #c9dbef 130px, #c9dbef calc(100% - 80px), #ffffff 100%); }
.paint[data-paint="hero"] { background: linear-gradient(180deg, #f6f9fc 0, #edf3f9 110px, #d8e5f3 260px, #c6d9ee calc(100% - 260px), #5d93cc calc(100% - 230px), #3f7bbf calc(100% - 190px), #ffffff calc(100% - 60px)); }
.paint::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: var(--paint, none); background-size: 100% 100%; background-position: center; opacity: 0; transition: opacity .7s ease; border-radius: inherit; }
.paint.painted::before { opacity: 1; }

/* Header */
.site-head { position: relative; z-index: 2; background: var(--bg); border-bottom: 1px solid var(--line); }
.site-head.clear { background: transparent; border-bottom: 0; }
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 18px; padding-bottom: 18px; }
.mark { font-family: var(--head); font-weight: 700; font-size: 23px; color: var(--green); text-decoration: none; letter-spacing: -0.5px; }
.mark:hover { color: var(--green); }
.nav { display: flex; gap: 24px; font-size: 15px; font-family: var(--head); font-weight: 500; }
.nav a { color: var(--green); text-decoration: none; opacity: .85; }
.nav a:hover, .nav a[aria-current="page"] { opacity: 1; color: var(--green); }

/* Type */
h1, h2, h3, h4 { font-family: var(--head); line-height: 1.12; margin: 0 0 14px; color: var(--green); }
h1 { font-weight: 700; font-size: clamp(40px, 7vw, 80px); letter-spacing: -1.8px; }
h2 { font-weight: 700; font-size: clamp(26px, 3.4vw, 36px); letter-spacing: -0.6px; }
h3 { font-weight: 600; font-size: 19px; letter-spacing: -0.2px; }
p { margin: 0 0 16px; }
.sub { font-size: clamp(18px, 2.1vw, 21px); color: var(--muted); max-width: 680px; margin-bottom: 28px; }
.small { font-size: 14px; color: var(--muted); }
.label { font-family: var(--head); font-weight: 600; font-size: 12px; letter-spacing: 1.6px; text-transform: uppercase; color: var(--blue); margin: 0 0 8px; }
.more { font-family: var(--head); font-weight: 600; font-size: 15px; text-decoration: none; color: var(--blue); }
.more-link { margin: 20px 0 0; }

/* Buttons and inputs */
.btn { display: inline-block; background: var(--green); color: #fff; padding: 14px 24px; border-radius: 999px; text-decoration: none; font-family: var(--head); font-weight: 600; font-size: 16px; border: 0; cursor: pointer; white-space: nowrap; }
.btn:hover { background: var(--green-dark); color: #fff; }
input[type="email"] { width: 100%; padding: 14px 18px; font: inherit; font-size: 16px; color: var(--ink); background: #fff; border: 1px solid #cfdae5; border-radius: 999px; }
input[type="email"]:focus { outline: 2px solid var(--blue); outline-offset: 1px; }

/* Sign-up form (email only) */
.signup { max-width: 540px; }
.signup-row { display: flex; gap: 10px; }
.fine { font-size: 14px; color: var(--muted); margin: 12px 0 0; }
.fine a { color: inherit; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-msg { margin: 6px 0 0; font-size: 15px; min-height: 1em; }
.form-msg.err { color: var(--red); }

/* Sections */
section { padding: 72px 0; }
.tinted { background: var(--tint); }
.narrow > * { max-width: 780px; }

/* Home: the painted hero (white top, pale sky, sea that ends in strokes) */
.hero-paint { overflow: hidden; }
.plane { position: absolute; left: 0; top: 0; z-index: 1; pointer-events: none; opacity: 0; transform-origin: 50% 50%; will-change: transform; }
.hero { position: relative; z-index: 2; padding: 104px 0 300px; text-align: center; }
.hero h1 { margin-bottom: 18px; }
.hero .sub { margin: 0 auto 32px; color: var(--ink); }
.btn-wa { display: inline-flex; align-items: center; gap: 10px; padding: 16px 28px; font-size: 17px; box-shadow: 0 10px 26px rgba(6, 51, 31, .18); }
.wa-ic { width: 22px; height: 22px; fill: currentColor; flex: 0 0 22px; }
.hero-alt { margin: 14px 0 0; font-size: 15px; color: #1f3d33; }
.hero-alt a { color: var(--green); font-weight: 600; }
#email { scroll-margin-top: 24px; }

/* How it works: painted scenes in a zig-zag, linked by a dotted flight path */
.zigzag { position: relative; padding: 72px 0 40px; }
.zigzag .wrap { position: relative; z-index: 1; }
.zz-title { text-align: center; margin-bottom: 40px; }
.zz-step { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 48px; max-width: 920px; margin: 0 auto 64px; }
.zz-step.flip .zz-art { order: 2; }
.zz-art { justify-self: center; width: 340px; max-width: 100%; aspect-ratio: 340 / 240; }
.zz-art canvas { display: block; width: 100%; height: 100%; }
.zz-text h3 { font-size: clamp(22px, 2.4vw, 27px); letter-spacing: -0.4px; margin: 12px 0 8px; }
.zz-text p { color: #2b4a3f; max-width: 380px; margin: 0; }
.row-n { font-family: var(--head); font-weight: 700; font-size: 15px; color: #fff; background: var(--blue); width: 32px; height: 32px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; }

/* What's in a bag */
.inbag-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 56px; align-items: center; }
.inbag-text .sub { margin-bottom: 18px; }
.bagcard { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 24px 28px 20px; box-shadow: 0 12px 34px rgba(16, 40, 70, .07); }
.bagcard ul { list-style: none; padding: 0; margin: 0; }
.bagcard li { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 10px 0; border-top: 1px solid var(--line); font-size: 16px; line-height: 1.4; }
.bagcard li:first-child { border-top: 0; }
.bagcard .kg { font-family: var(--head); font-weight: 600; white-space: nowrap; font-variant-numeric: tabular-nums; color: var(--green); }
.bagcard .total { border-top: 2px solid var(--green); margin-top: 4px; padding-top: 14px; font-family: var(--head); font-weight: 700; font-size: 18px; color: var(--green); }
.bagcard .total .kg { font-weight: 700; }
.bagcard .kg { transition: opacity .35s ease; }
.bagcard li.wait .kg, .bagcard li.now .kg { opacity: 0; }
.bagcard li.now .t::after { content: ""; display: inline-block; width: 2px; height: 1.05em; margin-left: 2px; vertical-align: -3px; background: var(--blue); animation: caret .8s steps(1) infinite; }
@keyframes caret { 50% { opacity: 0; } }

/* Questions (home, questions page, articles) */
.faq details { border-top: 1px solid var(--line); padding: 16px 0; }
.faq details:last-of-type { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; font-family: var(--head); font-weight: 600; font-size: 17px; color: var(--green); list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--blue); font-weight: 600; font-size: 20px; line-height: 1; }
.faq details[open] summary::after { content: "−"; }
.faq details p { margin: 10px 0 0; color: var(--muted); }
.faq-page { padding: 44px 0 72px; }
.faq-grid { display: grid; grid-template-columns: 190px minmax(0, 1fr); gap: 48px; align-items: start; }
.faq-toc { position: sticky; top: 20px; display: flex; flex-direction: column; gap: 4px; }
.faq-toc a { font-family: var(--head); font-weight: 500; color: var(--green); text-decoration: none; padding: 8px 12px; border-radius: 10px; }
.faq-toc a:hover { background: var(--tint); }
.faq-groups { max-width: 780px; }
.faq-groups section { padding: 0 0 36px; scroll-margin-top: 20px; }
.faq-groups h2 { font-size: 24px; margin-bottom: 6px; }

/* Journal list on the home page */
.teaser { list-style: none; padding: 0; margin: 20px 0 0; }
.teaser li { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 14px 0; border-top: 1px solid var(--line); }
.teaser a { font-family: var(--head); font-weight: 600; font-size: 18px; text-decoration: none; color: var(--green); }
.teaser a:hover { color: var(--blue); }
.teaser span { font-size: 14px; color: var(--muted); white-space: nowrap; }

/* Journal: painted page header, then a WordPress-style blog layout */
.page-band { padding: 44px 0 46px; }
.page-band .sub { color: #24443a; margin-bottom: 0; }
.page-band .sub a { color: var(--green); }
.page-band .crumbs, .page-band .crumbs a { color: #2b4a3f; }
.blog { padding: 40px 0 72px; }
.blog-grid { display: grid; grid-template-columns: minmax(0, 2.1fr) minmax(0, 1fr); gap: 44px; align-items: start; }
.crumbs { font-size: 14px; color: var(--muted); margin-bottom: 16px; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--ink); }
.page-title { font-size: clamp(34px, 4.6vw, 48px); letter-spacing: -1px; }
.posts { list-style: none; padding: 0; margin: 0; }
.post { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 24px 28px; margin-bottom: 18px; box-shadow: 0 1px 2px rgba(16, 40, 70, .04); }
.post h2 { font-size: 23px; letter-spacing: -0.3px; margin: 6px 0 8px; }
.post h2 a { color: var(--green); text-decoration: none; }
.post h2 a:hover { color: var(--blue); }
.post p { color: var(--muted); margin-bottom: 10px; }
.meta { font-size: 14px; color: var(--muted); }

.sidebar .box { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 20px 22px; margin-bottom: 18px; }
.sidebar h3 { font-size: 17px; margin-bottom: 10px; }
.sidebar p { font-size: 15px; color: var(--muted); }
.sidebar ul { list-style: none; padding: 0; margin: 0; }
.sidebar li { padding: 8px 0; border-top: 1px solid var(--line); font-size: 15px; }
.sidebar li:first-child { border-top: 0; }
.sidebar li a { color: var(--green); text-decoration: none; }
.sidebar li a:hover, .sidebar li a[aria-current="page"] { color: var(--blue); }
.sidebar .signup-row { flex-direction: column; }
.sidebar .btn { width: 100%; }

/* Article */
.entry { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 36px 40px; }
.entry h1 { font-size: clamp(30px, 4.2vw, 44px); letter-spacing: -1px; margin-top: 4px; }
.entry h2 { font-size: 25px; margin-top: 36px; }
.entry p, .entry li { font-size: 18px; line-height: 1.72; }
.entry ul, .entry ol { padding-left: 22px; margin: 0 0 18px; }
.entry li { margin-bottom: 8px; }
.entry .intro { font-size: 20px; color: var(--muted); }
.entry .small { font-size: 14px; }
.answer { background: var(--tint); border-left: 4px solid var(--blue); padding: 16px 20px; border-radius: 0 12px 12px 0; margin: 24px 0; }
.answer p, .easy p { margin: 0; }
.easy { background: #eaf6ef; border: 1px solid #cde8d8; border-radius: 12px; padding: 16px 20px; margin: 24px 0; }
.easy strong { color: var(--green); }

/* Tables in articles */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--line); border-radius: 12px; margin: 18px 0 26px; }
.entry table { width: 100%; border-collapse: collapse; font-size: 15.5px; line-height: 1.45; }
.entry table.t4 { min-width: 560px; }
.entry th, .entry td { text-align: left; padding: 11px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.entry tbody tr:last-child td { border-bottom: 0; }
.entry thead th { font-family: var(--head); font-weight: 600; font-size: 13px; color: var(--green); background: var(--tint); }
.entry td.yes { color: var(--green); font-weight: 600; }
.entry td.no { color: var(--red); }

/* Bag sizes drawn to scale */
.bags { margin: 22px 0 20px; }
.bags-row { display: flex; align-items: flex-end; gap: 4%; }
.bv { flex: var(--w) 1 0; min-width: 0; text-align: center; }
.bv-box { aspect-ratio: var(--w) / var(--h); border-radius: 12px; display: flex; align-items: center; justify-content: center; padding: 4px; background: #fff; border: 2px solid #c9d6e2; font-family: var(--head); font-weight: 600; font-size: 13px; line-height: 1.25; color: var(--muted); }
.bv-box.l { border: 2px dashed var(--green); background: #eaf6ef; color: var(--green); }
.entry .bv-name { font-family: var(--head); font-weight: 600; font-size: 14px; line-height: 1.3; color: var(--green); margin: 10px 0 2px; }
.entry .bv-rule { font-size: 13px; line-height: 1.35; margin: 0; }
.entry .bv-rule.no { color: var(--red); }
.entry .bv-rule.yes { color: var(--green); font-weight: 600; }
.bags figcaption, .packing figcaption { font-size: 13px; line-height: 1.5; color: var(--muted); margin-top: 14px; text-align: center; }

/* Packing diagram */
.packing { margin: 26px 0; }
.pk-bag { position: relative; max-width: 520px; margin: 0 auto; padding: 34px 16px 16px; border: 2px dashed #b9c9d8; border-radius: 22px; background: #f7fafc; }
.pk-pad { position: absolute; top: 9px; left: 0; right: 0; text-align: center; font-size: 12px; color: var(--muted); }
.pk-grid { display: grid; grid-template-columns: 1fr 1.2fr 1.2fr 1fr; gap: 8px; }
.pk-cell { display: flex; align-items: center; justify-content: center; text-align: center; min-height: 54px; padding: 10px; border-radius: 10px; font-family: var(--head); font-weight: 600; font-size: 13px; line-height: 1.3; }
.pk-cell.light { background: #e3eefa; color: var(--blue-dark); }
.pk-cell.jar { background: #f6e3b8; color: #7a4f0b; }
.pk-cell.tin { background: var(--green); color: #fff; }
.pk-cell.tall { min-height: 100px; }
.pk-cell.wide { grid-column: 1 / -1; }

/* Sign-up box inside articles */
.cta-box { border-radius: 16px; padding: 30px 30px 26px; margin: 36px 0 28px; overflow: hidden; }
.cta-box h2 { font-size: 26px; margin: 0 0 8px; }
.cta-box p { margin: 0 0 18px; color: #24443a; }
.cta-box .fine, .cta-box .fine a { color: #2b4a3f; font-size: 14px; margin-bottom: 0; }
.cta-box .form-msg { margin-bottom: 0; font-size: 15px; }
.sources li { font-size: 14px; line-height: 1.55; color: var(--muted); }

/* After the article: previous/next, then related posts */
.post-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 18px; }
.post-nav a { display: block; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 16px 20px; text-decoration: none; color: var(--green); font-family: var(--head); font-weight: 600; font-size: 16px; line-height: 1.35; }
.post-nav a:hover { color: var(--blue); }
.post-nav .next { text-align: right; grid-column: 2; }
.post-nav small { display: block; font-family: var(--body); font-weight: 400; font-size: 13px; color: var(--muted); margin-bottom: 4px; }
.related { padding: 0; margin-top: 34px; }
.related h2 { font-size: 22px; margin-bottom: 14px; }
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.rel { display: flex; flex-direction: column; gap: 6px; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; text-decoration: none; color: var(--green); }
.rel .label { margin: 0; font-size: 11px; }
.rel strong { font-family: var(--head); font-weight: 600; font-size: 15.5px; line-height: 1.35; }
.rel small { margin-top: auto; color: var(--muted); font-size: 13px; }
.rel:hover strong { color: var(--blue); }

/* Simple pages (privacy, thanks) */
.page { padding: 56px 0 72px; }
.page .inner { max-width: 700px; }
.page h2 { font-size: 22px; margin-top: 32px; }
.page ul { padding-left: 22px; margin: 0 0 16px; }
.page li { margin-bottom: 6px; }
.thanks { padding: 110px 0 120px; text-align: center; }
.thanks .sub { margin: 0 auto 18px; color: #24443a; }

/* Footer */
.site-foot { background: var(--foot); color: #cfe0d7; padding: 58px 0 28px; font-size: 15px; }
.foot-grid { display: grid; grid-template-columns: 1.5fr .8fr 1.3fr; gap: 40px; }
.site-foot .mark { color: #fff; font-size: 26px; }
.foot-brand p { margin: 12px 0 0; max-width: 340px; }
.site-foot h4 { font-size: 12px; font-weight: 600; letter-spacing: 1.4px; text-transform: uppercase; color: #9fcbb5; margin: 6px 0 14px; }
.site-foot ul { list-style: none; padding: 0; margin: 0; }
.site-foot li { margin-bottom: 9px; line-height: 1.4; }
.site-foot a { color: #fff; text-decoration: none; }
.site-foot a:hover { text-decoration: underline; color: #fff; }
.foot-signup .signup-row { flex-direction: column; }
.site-foot input[type="email"] { border-color: transparent; }
.site-foot .btn { background: #fff; color: var(--green); }
.site-foot .btn:hover { background: #e3f3ea; color: var(--green-dark); }
.site-foot .fine { color: #b5ccc0; }
.site-foot .fine a { color: #fff; text-decoration: underline; }
.site-foot .form-msg.err { color: #ffd2c2; }
.foot-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; margin-top: 44px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .14); font-size: 14px; color: #b5ccc0; }

/* Tablets */
@media (max-width: 960px) {
  .related-grid { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-brand { grid-column: 1 / -1; }
  .inbag-grid { grid-template-columns: 1fr; gap: 28px; }
}

/* Phones */
@media (max-width: 820px) {
  .blog-grid { grid-template-columns: 1fr; gap: 28px; }
  .post-nav { grid-template-columns: 1fr; }
  .post-nav .next { grid-column: auto; }
  .entry { padding: 26px 22px; }
  section { padding: 54px 0; }
  .hero { padding: 80px 0 290px; }
  .faq-grid { grid-template-columns: 1fr; gap: 20px; }
  .faq-toc { position: static; flex-direction: row; flex-wrap: wrap; gap: 8px; }
  .faq-toc a { background: var(--tint); padding: 7px 12px; font-size: 14px; }
}
@media (max-width: 760px) {
  .zigzag { padding: 56px 0 30px; }
  .zz-step { grid-template-columns: 1fr; gap: 6px; margin-bottom: 44px; text-align: center; }
  .zz-step.flip .zz-art { order: 0; }
  .zz-text p { margin: 0 auto; }
}
@media (max-width: 560px) {
  .wrap { padding: 0 16px; }
  .mark { font-size: 21px; }
  .nav { gap: 14px; font-size: 14px; white-space: nowrap; }
  .signup-row { flex-direction: column; }
  .hero { padding: 72px 0 280px; }
  .post-nav .next { text-align: left; }
  .entry p, .entry li { font-size: 17px; line-height: 1.65; }
  .answer, .easy { padding: 14px 16px; }
  .cta-box { padding: 24px 20px 20px; }
  .teaser li { flex-direction: column; gap: 2px; }
  .bagcard { padding: 18px 18px 14px; }
  .bagcard li { font-size: 15px; }
  .bv-box { font-size: 11px; border-radius: 8px; }
  .pk-cell { font-size: 12px; padding: 8px 6px; }
  .foot-grid { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 420px) {
  .nav a:first-child { display: none; }
}
