/* textxchange.io, the landing page. Builds on /style.css (the same tokens and band).
   Lime only ever sits on the dark band, as in style.css. */
body.home header.home-band {
  padding: 0;
  border-bottom: 2px solid var(--lime);
}
.home-band .bar, .home-band .hero, body.home main, body.home footer {
  max-width: 68rem; margin: 0 auto; padding-left: 16px; padding-right: 16px;
}
.home-band .bar {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 12px 24px; padding-top: 16px; padding-bottom: 16px;
}
.home-band nav { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 22px; }
.home-band nav a { color: var(--band-fg); text-decoration: none; font-size: 0.95rem; }
.home-band nav a:hover { color: var(--lime); }
.home-band nav a.button { color: #ffffff; }
.button.small { padding: 6px 16px; font-size: 0.9rem; }
.button.lime { background: var(--lime); color: var(--band); border-color: var(--lime); }
.button.lime:hover { background: #e2ff3d; }
.home-band .button.lime:focus-visible, .home-band a:focus-visible { outline-color: var(--lime); }

.hero { padding-top: 40px; padding-bottom: 64px; display: grid; gap: 48px; grid-template-columns: minmax(0, 1fr); align-items: center; }

/* The hero's example exhibit: a white page with a classic exhibit sticker. */
.paper { position: relative; margin: 0; background: #ffffff; color: #1c1e21; border-radius: 6px;
         padding: 30px 22px 14px; font-size: 0.82rem; box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45); }
.sticker { position: absolute; top: -14px; right: 18px; background: #f6e27a; color: #1c1e21; border-radius: 4px;
           padding: 4px 14px 6px; text-align: center; font-weight: 800; font-size: 1.5rem; line-height: 1;
           transform: rotate(4deg); box-shadow: 0 2px 4px rgba(0, 0, 0, 0.25); }
.sticker small { display: block; font-size: 0.6rem; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 700; margin-bottom: 2px; }
.paper-head { border-bottom: 2px solid #1c1e21; padding-bottom: 8px; margin-bottom: 4px; padding-right: 70px; }
.paper-head strong { display: block; font-size: 0.92rem; }
.paper-head span { color: #565c64; font-size: 0.75rem; }
.paper table { width: 100%; border-collapse: collapse; }
.paper th, .paper td { text-align: left; padding: 6px 6px; border-bottom: 1px solid #dcdfd8; vertical-align: top; }
.paper th { font-size: 0.7rem; color: #565c64; font-weight: 600; text-transform: uppercase; letter-spacing: 0.04em; }
.paper td:first-child { white-space: nowrap; color: #565c64; }
.paper-foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 12px; color: #565c64;
              font-size: 0.6rem; line-height: 1.4; border-top: 1px solid #1c1e21; margin-top: 8px; padding-top: 6px; }
.paper-foot .hash { font-size: 0.6rem; }
.photo-cell .photo { display: block; width: 150px; max-width: 100%; height: auto; border-radius: 4px; border: 1px solid #dcdfd8; }
.photo-cell span { display: block; color: #565c64; font-size: 0.7rem; margin-top: 3px; }
.paper figcaption { color: #565c64; font-size: 0.6rem; font-style: italic; margin-top: 4px; }
.eyebrow { color: var(--lime); font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase;
           font-size: 0.85rem; margin: 0 0 12px; }
.hero h1 { color: #ffffff; font-size: clamp(1.9rem, 4.4vw, 3.2rem); line-height: 1.1; letter-spacing: -0.01em;
           margin: 0 0 20px; max-width: 18ch; }
.hero h1 .line { display: block; white-space: nowrap; }
.hero h1 .lime-text { color: var(--lime); }
.hero-lead { color: var(--band-fg); font-size: 1.15rem; max-width: 38rem; margin: 0 0 28px; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; margin: 0 0 14px; }
.actions .button { font-size: 1.05rem; padding: 12px 28px; }
.ghost { color: var(--band-fg); font-weight: 600; }
.fine { color: var(--band-muted); font-size: 0.9rem; margin: 0; }

body.home main { padding-top: 0; }
.section { padding: 56px 0 8px; }
.section + .section { border-top: 1px solid var(--line); margin-top: 48px; }
.kicker { color: var(--muted); font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase;
          font-size: 0.8rem; margin: 0 0 8px; }
.section h2 { font-size: clamp(1.5rem, 3vw, 2rem); line-height: 1.2; margin: 0 0 16px; max-width: 32ch; }
.section-lead { color: var(--muted); font-size: 1.08rem; max-width: 42rem; }
h3 { font-size: 1.1rem; margin: 0 0 6px; }

/* The three steps: one lime line through three icon badges (vertical on a phone). */
.journey { list-style: none; padding: 0; margin: 36px 0 0; position: relative;
           display: grid; gap: 28px 24px; grid-template-columns: 1fr; }
.journey li:not(:last-child)::after { content: ""; position: absolute; background: var(--lime);
                                      left: 33px; top: 68px; bottom: -28px; width: 3px; }
.journey li { position: relative; margin: 0; max-width: none; padding-left: 92px; min-height: 68px; }
.journey .badge { position: absolute; left: 0; top: 0; width: 68px; height: 68px; border-radius: 50%;
                  background: var(--band); border: 3px solid var(--lime); display: grid; place-items: center; }
.journey .icon { width: 32px; height: 32px; fill: none; stroke: var(--lime); stroke-width: 1.75;
                 stroke-linecap: round; stroke-linejoin: round; }
.journey h3 { font-size: 1.2rem; margin: 4px 0 6px; }
.journey p { margin: 0; color: var(--muted); }
.journey-action { margin: 32px 0 0; max-width: none; }
.button.lime-dark { display: inline-flex; align-items: center; gap: 10px; font-size: 1.05rem; padding: 12px 26px; }
.arrow-icon { width: 1.1em; height: 1.1em; fill: none; stroke: currentColor; stroke-width: 2.2;
              stroke-linecap: round; stroke-linejoin: round; }

.checks { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 14px 32px; grid-template-columns: 1fr; }
.checks li { position: relative; padding-left: 32px; margin: 0; max-width: none; }
.checks li::before { content: ""; position: absolute; left: 0; top: 4px; width: 20px; height: 20px; border-radius: 50%;
                     background: var(--band); box-shadow: inset 0 0 0 2px var(--lime); }
.checks li::after { content: ""; position: absolute; left: 7px; top: 8px; width: 5px; height: 9px;
                    border: solid var(--lime); border-width: 0 2px 2px 0; transform: rotate(45deg); }

.features { display: grid; gap: 20px; grid-template-columns: 1fr; margin: 28px 0; }
.feature { background: var(--panel); border: 1px solid var(--line); border-top: 4px solid var(--band);
           border-radius: 12px; padding: 20px; }
.feature p { margin: 0; color: var(--muted); max-width: none; }

.integrity { background: var(--panel); border: 1px solid var(--line); border-left: 4px solid var(--band);
             border-radius: 12px; padding: 20px; }
.integrity p { margin: 0; color: var(--muted); max-width: 52rem; }

.plans { display: grid; gap: 20px; grid-template-columns: 1fr; margin: 24px 0 16px; }
.plan { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 22px; }
.plan > :last-child { margin-bottom: 0; }
.main-plan { border: 2px solid var(--band); }
.price { font-size: 1.05rem; margin: 6px 0; }
.price strong { font-size: 1.9rem; letter-spacing: -0.01em; }
.price.alt strong { font-size: 1.35rem; }

.cta { margin: 64px 0 0; background: var(--band); color: var(--band-fg); border-radius: 16px;
       border: 2px solid var(--lime); padding: 36px 24px; text-align: center; }
.cta h2 { color: #ffffff; font-size: clamp(1.4rem, 3vw, 1.9rem); margin: 0 0 10px; }
.cta p { margin: 0 auto 18px; max-width: 34rem; }
.cta p:last-child { margin-bottom: 0; }

body.home footer.home-foot { padding-top: 32px; padding-bottom: 40px; }

@media (min-width: 760px) {
  .features { grid-template-columns: repeat(3, 1fr); }
  .journey { grid-template-columns: repeat(3, 1fr); text-align: center; }
  .journey::before { content: ""; position: absolute; background: var(--lime);
                     left: 16.6%; right: 16.6%; top: 33px; height: 3px; }
  .journey li:not(:last-child)::after { content: none; }
  .journey li { padding: 92px 8px 0; }
  .journey .badge { left: 50%; transform: translateX(-50%); }
  .journey-action { text-align: center; }
  .checks, .plans { grid-template-columns: 1fr 1fr; }
  .hero { padding-top: 56px; padding-bottom: 80px; }
}
@media (min-width: 960px) {
  .hero { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); }
  .paper { transform: rotate(-2deg); width: 100%; max-width: 400px; justify-self: center;
           }
  .paper .paper-foot { flex-wrap: nowrap; align-items: baseline; }
  .paper-foot .hash { white-space: nowrap; }
  .hero h1 { font-size: clamp(2.2rem, 3.6vw, 3.2rem); }
}
/* Phones and narrow tablets: the exhibit right under the headline. */
@media (max-width: 959px) {
  .hero { display: flex; flex-direction: column; gap: 0; align-items: stretch; }
  .hero-copy { display: contents; }
  .hero .eyebrow { order: 1; }
  .hero h1 { order: 2; }
  .hero-lead { order: 3; }
  .paper { order: 4; margin: 4px 0 30px; }
  .hero .actions, .hero .fine { order: 5; }
}
/* Phones: a short cropped preview of the exhibit (the last messages and the photo), fading out. */
@media (max-width: 640px) {
  .paper { padding: 24px 16px 0; max-height: 360px; overflow: hidden; }
  .sticker { top: 8px; right: 12px; }
  .paper::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 56px;
                  background: linear-gradient(rgba(255, 255, 255, 0), #ffffff 85%); }
  .paper-head { padding-right: 96px; }
  .paper-head strong { font-size: 0.85rem; }
  .paper table, .paper tbody { display: block; }
  .paper thead, .paper tbody tr:nth-child(-n+3) { display: none; }
  .paper tr { display: grid; grid-template-columns: max-content minmax(0, 1fr); column-gap: 12px; align-items: start;
              padding: 7px 0; border-bottom: 1px solid #dcdfd8; }
  .paper td { border: 0; padding: 0; }
  .paper td:nth-child(1) { grid-column: 1; grid-row: 1; font-size: 0.7rem; padding-top: 3px; white-space: nowrap; }
  .paper td:nth-child(2) { display: none; }
  .paper td:nth-child(3) { grid-column: 2; grid-row: 1; font-size: 0.9rem; }
  .photo-cell .photo { width: 100%; max-width: 220px; }
  .home-band nav a:not(.button) { display: none; }
}
