/* Just JunkN website.
   Layout: a clean white page with navy type and orange calls to action; the
   hero shows the product at work (a schedule board and phone alerts) over a
   faint blueprint grid; sections alternate white and soft gray. */
:root {
  --ink: #0B1A2E;
  --navy: #1E3A5F;
  --orange: #F97316;
  --orange-dark: #EA580C;
  --green: #22C55E;
  --slate: #5B6B82;
  --line: #E2E8F0;
  --soft: #F5F7FA;
  --white: #FFFFFF;
  --display: "Outfit", "Segoe UI", system-ui, sans-serif;
  --body: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, Menlo, monospace;
  --radius: 12px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body { margin: 0; background: var(--white); color: var(--ink); font: 17px/1.6 var(--body); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); line-height: 1.12; margin: 0; text-wrap: balance; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.3rem, 5vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); font-weight: 700; }
h3 { font-size: 1.2rem; font-weight: 600; }
p { margin: 0; }
.mono { font-family: var(--mono); }
.wrap { max-width: 1160px; margin: 0 auto; padding-inline: 20px; }
.narrow { max-width: 760px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 12px; border-radius: 6px; z-index: 50; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; }

.eyebrow { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.14em; color: var(--orange-dark); margin-bottom: 12px; }
.sub { color: var(--slate); margin-top: 12px; max-width: 60ch; }
.fine { color: var(--slate); font-size: 0.85rem; margin-top: 18px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 18px; border-radius: 10px; font: 600 0.98rem var(--body); text-decoration: none; border: 1.5px solid transparent; cursor: pointer; transition: background .15s, transform .15s; }
.btn-lg { height: 52px; padding: 0 24px; font-size: 1.02rem; }
.btn-orange { background: var(--orange); color: var(--ink); }
.btn-orange:hover { background: var(--orange-dark); color: #fff; }
.btn-ghost { border-color: var(--line); color: var(--ink); background: var(--white); }
.btn-ghost:hover { border-color: var(--navy); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--ink); }

/* Header */
.top { position: sticky; top: 0; z-index: 20; background: rgba(255, 255, 255, 0.92); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.top-row { display: flex; align-items: center; gap: 24px; min-height: 68px; }
.brand img { height: 38px; width: auto; display: block; }
.nav { display: flex; gap: 22px; margin-left: 12px; }
.nav a { text-decoration: none; color: var(--slate); font-weight: 500; font-size: 0.96rem; }
.nav a:hover { color: var(--ink); }
.top-cta { margin-left: auto; display: flex; align-items: center; gap: 16px; }
.link-signin { text-decoration: none; font-weight: 600; font-size: 0.96rem; }
@media (max-width: 900px) { .nav { display: none; } }
@media (max-width: 480px) { .link-signin { display: none; } .brand img { height: 32px; } .top-cta .btn { height: 40px; padding: 0 14px; } }

/* Hero */
.hero { position: relative; overflow: hidden; padding: 64px 0 72px; }
.grid-bg { position: absolute; inset: 0; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 40px 40px; mask-image: radial-gradient(ellipse 70% 60% at 70% 40%, #000 30%, transparent 75%); opacity: 0.6; }
.hero-row { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 48px; align-items: center; }
.hero-copy { display: grid; gap: 20px; }
.lede { font-size: 1.15rem; color: #334155; max-width: 56ch; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 4px; }
.facts { list-style: none; padding: 0; margin: 4px 0 0; display: flex; flex-wrap: wrap; gap: 8px 20px; color: var(--slate); font-size: 0.92rem; }
.facts li::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 2px; background: var(--green); margin-right: 8px; vertical-align: 1px; }
@media (max-width: 960px) { .hero-row { grid-template-columns: 1fr; } .hero { padding-top: 40px; } }

/* Hero product picture */
.hero-visual { position: relative; padding-bottom: 150px; }
.window { background: var(--white); border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 30px 60px -30px rgba(11, 26, 46, 0.35); overflow: hidden; }
.window-bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: var(--soft); border-bottom: 1px solid var(--line); }
.window-bar span { width: 10px; height: 10px; border-radius: 50%; background: #CBD5E1; }
.window-bar b { margin-left: 10px; font-size: 0.75rem; color: var(--slate); font-weight: 500; }
.board { padding: 14px 14px 18px; display: grid; gap: 10px; }
.hours { display: flex; justify-content: space-between; margin-left: 72px; font-size: 0.68rem; color: #94A3B8; }
.hours i { font-style: normal; }
.lane { display: grid; grid-template-columns: 62px 1fr; gap: 10px; align-items: center; }
.lane b { font-size: 0.78rem; color: var(--navy); }
.track { position: relative; height: 50px; border-radius: 8px; background: repeating-linear-gradient(90deg, var(--soft) 0 calc(20% - 1px), var(--line) calc(20% - 1px) 20%); }
.job { position: absolute; top: 5px; bottom: 5px; border-radius: 6px; border-left: 4px solid; padding: 4px 8px; font-size: 0.72rem; font-weight: 600; line-height: 1.25; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.job em { display: block; font-style: normal; font-weight: 500; opacity: 0.75; font-size: 0.66rem; }
.j-blue { background: #E0EAFF; border-color: #3B6FD8; color: #1E3A8A; }
.j-green { background: #DCFCE7; border-color: var(--green); color: #14532D; }
.j-orange { background: #FFEDD5; border-color: var(--orange); color: #7C2D12; }
.j-teal { background: #CCFBF1; border-color: #14B8A6; color: #134E4A; }
.phone { position: absolute; right: -12px; bottom: 0; width: min(250px, 52%); padding: 16px 12px 14px; border-radius: 28px; background: var(--ink); box-shadow: 0 24px 50px -20px rgba(11, 26, 46, 0.6); display: grid; gap: 8px; }
.phone-notch { width: 70px; height: 6px; border-radius: 99px; background: #26364d; margin: 0 auto 4px; }
.note { display: grid; grid-template-columns: 28px 1fr; gap: 10px; align-items: center; background: rgba(255, 255, 255, 0.96); border-radius: 14px; padding: 10px; font-size: 0.74rem; line-height: 1.3; }
.note img { border-radius: 7px; background: var(--soft); }
.note b { display: block; font-size: 0.78rem; }
.note span { color: var(--slate); }
@media (prefers-reduced-motion: no-preference) {
  .note { animation: rise .6s ease both; }
  .n2 { animation-delay: .25s; } .n3 { animation-delay: .5s; }
  @keyframes rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
}
@media (max-width: 600px) { .phone { position: relative; right: auto; bottom: auto; width: 100%; margin-top: 14px; border-radius: 22px; } .hero-visual { padding-bottom: 0; } .lane { grid-template-columns: 52px 1fr; } .hours { margin-left: 62px; } }

/* Sections */
.section { padding: 88px 0; }
.section-soft { background: var(--soft); }
.section h2 { max-width: 22ch; }

/* The job flow */
.flow { list-style: none; padding: 0; margin: 44px 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.flow li { padding: 28px 26px 30px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); display: grid; gap: 10px; align-content: start; }
.step { font-size: 0.8rem; color: var(--orange-dark); }
.flow p { color: var(--slate); font-size: 0.98rem; }
@media (max-width: 900px) { .flow { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .flow { grid-template-columns: 1fr; } }

/* Junk-specific cards */
.cards { margin-top: 44px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; display: grid; gap: 10px; align-content: start; }
.card svg { width: 30px; height: 30px; fill: none; stroke: var(--navy); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.card p { color: var(--slate); font-size: 0.97rem; }
@media (max-width: 900px) { .cards { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .cards { grid-template-columns: 1fr; } }

/* Everything-in-one bento */
.bento { margin-top: 44px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.tile { border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; display: grid; gap: 8px; align-content: start; }
.tile p { color: var(--slate); font-size: 0.96rem; }
.tile-wide { grid-column: span 2; grid-row: span 2; }
.tile-navy { background: var(--navy); border-color: var(--navy); color: #fff; }
.tile-navy p { color: #CBD5E1; max-width: 52ch; }
.mail-mock { margin-top: 14px; background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.12); border-radius: 10px; overflow: hidden; }
.mail-mock div { display: grid; grid-template-columns: 9.5rem 1fr auto; gap: 12px; padding: 11px 14px; border-top: 1px solid rgba(255, 255, 255, 0.08); font-size: 0.86rem; align-items: center; }
.mail-mock div:first-child { border-top: 0; }
.mail-mock b { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mail-mock span { color: #CBD5E1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mail-mock i { font-style: normal; font-size: 0.72rem; color: #94A3B8; }
.mail-mock .read b { font-weight: 500; color: #CBD5E1; }
@media (max-width: 900px) { .bento { grid-template-columns: 1fr 1fr; } .tile-wide { grid-column: span 2; grid-row: auto; } }
@media (max-width: 560px) { .bento { grid-template-columns: 1fr; } .tile-wide { grid-column: auto; } .mail-mock div { grid-template-columns: 7rem 1fr auto; } }

/* Pricing */
.plans { margin-top: 40px; display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 18px; align-items: stretch; }
.plans-loading { color: var(--slate); }
.plan { background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: 28px; display: grid; gap: 16px; align-content: start; }
.plan.featured { border: 2px solid var(--orange); box-shadow: 0 24px 50px -30px rgba(249, 115, 22, 0.55); }
.plan-badge { justify-self: start; font: 600 0.7rem var(--mono); letter-spacing: 0.08em; text-transform: uppercase; background: #FFEDD5; color: #9A3412; padding: 4px 10px; border-radius: 99px; }
.plan h3 { font-size: 1.35rem; }
.price { display: flex; align-items: baseline; gap: 6px; }
.price b { font: 700 2.6rem/1 var(--display); font-variant-numeric: tabular-nums; }
.price span { color: var(--slate); }
.plan .users { color: var(--slate); font-size: 0.92rem; }
.plan ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; font-size: 0.95rem; }
.plan li { display: grid; grid-template-columns: 18px 1fr; gap: 8px; }
.plan li::before { content: ""; width: 16px; height: 16px; margin-top: 4px; border-radius: 50%; background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/16px no-repeat; }
.plan .btn { margin-top: auto; width: 100%; }

/* FAQ */
details { border-bottom: 1px solid var(--line); padding: 18px 0; }
details:first-of-type { margin-top: 28px; border-top: 1px solid var(--line); }
summary { cursor: pointer; font: 600 1.08rem var(--display); list-style: none; display: flex; justify-content: space-between; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-family: var(--mono); color: var(--orange-dark); }
details[open] summary::after { content: "–"; }
details p { color: var(--slate); margin-top: 10px; max-width: 65ch; }

/* Contact */
.contact-row { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 48px; align-items: start; }
.contact-points { margin: 24px 0 0; padding: 0; list-style: none; display: grid; gap: 10px; color: #334155; }
.contact-points li::before { content: "→"; color: var(--orange-dark); margin-right: 10px; font-family: var(--mono); }
.form { background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: 28px; display: grid; gap: 16px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form label { display: grid; gap: 6px; font-weight: 600; font-size: 0.92rem; }
.opt { color: var(--slate); font-weight: 400; }
.form input, .form select, .form textarea { width: 100%; font: 400 1rem var(--body); color: var(--ink); border: 1px solid #CBD5E1; border-radius: 10px; padding: 11px 12px; background: var(--white); }
.form textarea { resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(30, 58, 95, 0.15); }
.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-status { min-height: 1.4em; font-size: 0.95rem; }
.form-status.ok { color: #15803D; }
.form-status.err { color: #B91C1C; }
@media (max-width: 860px) { .contact-row { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .field-row { grid-template-columns: 1fr; } .form { padding: 20px; } }

/* Closing call to action */
.cta-band { background: var(--navy); color: #fff; padding: 56px 0; }
.cta-row { display: grid; grid-template-columns: auto 1fr auto; gap: 28px; align-items: center; }
.cta-row h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); }
.cta-row p { color: #CBD5E1; margin-top: 6px; }
@media (max-width: 760px) { .cta-row { grid-template-columns: 1fr; text-align: left; } .cta-row img { width: 52px; } }

/* Footer */
.foot { background: var(--ink); color: #CBD5E1; padding: 40px 0; }
.foot-row { display: grid; grid-template-columns: auto 1fr; gap: 16px 32px; align-items: center; }
.foot-logo { height: 34px; width: auto; }
.foot nav { display: flex; flex-wrap: wrap; gap: 20px; justify-content: flex-end; }
.foot nav a { text-decoration: none; font-size: 0.94rem; }
.foot nav a:hover { color: #fff; }
.copy { grid-column: 1 / -1; font-size: 0.85rem; color: #94A3B8; }
@media (max-width: 640px) { .foot-row { grid-template-columns: 1fr; } .foot nav { justify-content: flex-start; } }
.plan .lead-in { display: block; color: var(--slate); font-weight: 600; font-size: 0.88rem; }
.plan .lead-in::before { display: none; }

/* Legal pages */
.legal .narrow { max-width: 760px; }
.legal h1 { font-size: clamp(2rem, 4.5vw, 2.8rem); }
.legal .updated { color: var(--slate); font-size: 0.92rem; margin: 10px 0 28px; }
.legal h2 { font-size: 1.35rem; margin: 36px 0 10px; max-width: none; scroll-margin-top: 90px; }
.legal p, .legal li { color: #334155; max-width: 70ch; }
.legal p + p { margin-top: 12px; }
.legal ul { padding-left: 1.2rem; display: grid; gap: 8px; margin: 10px 0 0; }
.legal a { color: var(--navy); text-decoration: underline; text-underline-offset: 2px; }
.legal p.eyebrow { color: var(--orange-dark); }
