/* Driftfall product page — layered on top of /assets/site.css */
.df-page { --df-indigo: #2b2a7a; --df-violet: #6c5ce7; }
.df-page nav a.nav-contact { color: var(--ink); }

/* Hero */
.df-hero { padding: 54px 0 70px; border-bottom: 1px solid var(--line); }
.df-hero-grid { margin-top: 54px; }
.df-product { display: inline-flex; align-items: center; gap: 14px; margin-bottom: 26px; font-size: 22px; font-weight: 700; letter-spacing: -.03em; }
.df-product img { display: block; width: 56px; height: 56px; border-radius: 14px; box-shadow: 0 10px 30px -12px rgba(58, 47, 158, .55); }
.df-hero h1 { margin: 0; font-size: clamp(46px, 6.6vw, 100px); }
.df-hero-copy { display: grid; grid-template-columns: minmax(0, 520px) auto; justify-content: space-between; align-items: end; gap: 28px 60px; margin-top: 40px; }
.df-lead { font-size: 17px; line-height: 1.7; }
.df-ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 32px; }
.df-ctas .text-link { margin-top: 0; }
.df-meta { grid-column: 1 / -1; list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.df-meta li { display: inline-flex; align-items: center; gap: 9px; }
.df-meta li::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--gold); }

/* Playground */
.df-playground { padding: 64px 0 80px; border-bottom: 1px solid var(--line); }
.df-playground-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 18px 30px; margin-bottom: 30px; }
.df-playground-head h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(26px, 2.6vw, 36px); letter-spacing: -.035em; line-height: 1.2; }
.df-playground-head h2 .section-number { margin-right: 14px; font-family: var(--sans); font-size: 10px; letter-spacing: 0; vertical-align: middle; }
.df-playground-head h2 em { color: #83836f; }
.df-playground-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 30px; align-items: start; }

.df-stage { --bg: linear-gradient(160deg, #171a45 0%, #3a2f9e 60%, #6c5ce7 100%); --fg: #fff; --sub: rgba(255, 255, 255, .72); --card: rgba(255, 255, 255, .08); --swatch: linear-gradient(135deg, #c0392b, #1e8449); --btn: #fff; --btn-fg: #1b1d4a;
  position: relative; overflow: hidden; border-radius: 14px; background: #1c1d2b; box-shadow: 0 30px 60px -30px rgba(23, 26, 69, .45), 0 0 0 1px rgba(41, 42, 38, .08); }
.df-bar { display: flex; align-items: center; gap: 14px; height: 40px; padding: 0 14px; background: #f1efe8; border-bottom: 1px solid #e2dfd4; font-size: 11px; color: #6e7067; }
.df-dots { display: inline-flex; gap: 6px; }
.df-dots i { width: 9px; height: 9px; border-radius: 50%; background: #d8d5c9; }
.df-dots i:first-child { background: #e8a598; } .df-dots i:nth-child(2) { background: #ecd28f; } .df-dots i:nth-child(3) { background: #a9d3a2; }
.df-url { flex: 1; max-width: 340px; padding: 6px 12px; border-radius: 999px; background: #fff; color: #8a8c82; }
.df-scene-name { margin-left: auto; font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); }
.df-site { position: relative; height: 480px; overflow: hidden; background: var(--bg); color: var(--fg); transition: background 600ms ease, color 400ms ease; }
.df-mock { position: relative; z-index: 1; height: 100%; padding: 22px 30px; display: flex; flex-direction: column; }
.df-mock-nav { display: flex; align-items: center; gap: 24px; font-size: 12px; }
.df-mock-logo { font-family: var(--serif); font-size: 18px; letter-spacing: -.02em; }
.df-mock-links { display: flex; gap: 18px; color: var(--sub); }
.df-mock-links i { font-style: normal; }
.df-mock-cart { margin-left: auto; color: var(--sub); }
.df-mock-hero { margin-top: 52px; max-width: 440px; }
.df-mock-kicker { font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--sub); }
.df-mock-title { margin-top: 10px; font-family: var(--serif); font-size: clamp(28px, 3vw, 40px); line-height: 1.12; letter-spacing: -.035em; }
.df-mock-text { margin-top: 12px; font-size: 13px; line-height: 1.6; color: var(--sub); }
.df-mock-btn { display: inline-block; margin-top: 20px; padding: 11px 18px; border-radius: 999px; background: var(--btn); color: var(--btn-fg); font-size: 12px; }
.df-mock-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: auto; }
.df-mock-cards span { display: grid; grid-template-columns: 1fr auto; gap: 6px 8px; padding: 10px; border-radius: 10px; background: var(--card); font-size: 11px; }
.df-mock-cards b { grid-column: 1 / -1; height: 64px; border-radius: 6px; background: var(--swatch); opacity: .85; }
.df-mock-cards span:nth-child(2) b { filter: hue-rotate(40deg); } .df-mock-cards span:nth-child(3) b { filter: hue-rotate(-40deg); }
.df-mock-cards i { font-style: normal; } .df-mock-cards em { font-style: normal; color: var(--sub); }
.df-site canvas { z-index: 2 !important; }
.df-play { position: absolute; z-index: 3; inset: 50% auto auto 50%; transform: translate(-50%, -50%); padding: 14px 22px; border: 0; border-radius: 999px; background: #fff; color: #1b1d4a; font: inherit; font-size: 13px; cursor: pointer; box-shadow: 0 10px 30px -10px rgba(0, 0, 0, .4); }

/* Scenes: each occasion gets a backdrop that suits its particles */
.df-stage[data-scene="winter"] { --bg: linear-gradient(170deg, #1b2a49, #46628f); --swatch: linear-gradient(135deg, #8fb2e0, #e8eef8); }
.df-stage[data-scene="rain"] { --bg: linear-gradient(170deg, #2b3542, #56667a); --swatch: linear-gradient(135deg, #7d93ab, #c7d3e0); }
.df-stage[data-scene="newyear"] { --bg: linear-gradient(160deg, #0f1226, #2b2f63); --swatch: linear-gradient(135deg, #f4b400, #ff595e); }
.df-stage[data-scene="halloween"] { --bg: linear-gradient(170deg, #2b1640 0%, #5a2a52 60%, #e3742f 130%); --swatch: linear-gradient(135deg, #ff7b00, #3c1a5b); --btn: #ff8a1e; --btn-fg: #2b1640; }
.df-stage[data-scene="autumn"], .df-stage[data-scene="thanksgiving"], .df-stage[data-scene="spring"], .df-stage[data-scene="summer"], .df-stage[data-scene="valentine"], .df-stage[data-scene="birthday"], .df-stage[data-scene="custom"] { --fg: #2b2b28; --sub: rgba(43, 43, 40, .66); --card: rgba(255, 255, 255, .6); --btn: #2b2b28; --btn-fg: #fff; }
.df-stage[data-scene="autumn"] { --bg: linear-gradient(170deg, #f6e9d6, #ecc9a0); --swatch: linear-gradient(135deg, #d35400, #f4b942); }
.df-stage[data-scene="thanksgiving"] { --bg: linear-gradient(170deg, #f3e5cf, #ddb486); --swatch: linear-gradient(135deg, #8e4a1c, #d99b3b); }
.df-stage[data-scene="spring"] { --bg: linear-gradient(170deg, #fdf3f6, #f3dbe5); --swatch: linear-gradient(135deg, #ffb7c5, #c3e6b5); }
.df-stage[data-scene="summer"] { --bg: linear-gradient(170deg, #e8f7fb, #b7e1ef); --swatch: linear-gradient(135deg, #8ecae6, #ffb703); }
.df-stage[data-scene="valentine"] { --bg: linear-gradient(170deg, #fff2f4, #ffd3dc); --swatch: linear-gradient(135deg, #e63946, #ff8fab); }
.df-stage[data-scene="birthday"] { --bg: linear-gradient(170deg, #fff7e8, #ffe0ee); --swatch: linear-gradient(135deg, #1982c4, #ffca3a); }
.df-stage[data-scene="custom"] { --bg: linear-gradient(170deg, #f7f5ef, #e9e5d8); --swatch: linear-gradient(135deg, #2c50b4, #a28b53); }

/* Code readout */
.df-code-wrap { margin-top: 16px; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: #fbfaf6; }
.df-code-head { display: flex; justify-content: space-between; align-items: center; padding: 8px 14px; border-bottom: 1px solid var(--line); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.df-copy { padding: 4px 10px; border: 1px solid var(--line); border-radius: 999px; background: none; font: inherit; font-size: 10px; letter-spacing: .08em; color: var(--ink); cursor: pointer; }
.df-copy:hover { border-color: var(--ink); }
.df-code { margin: 0; padding: 16px 18px; overflow-x: auto; font: 12px/1.7 ui-monospace, "SF Mono", Menlo, Consolas, monospace; color: #3a3b36; white-space: pre; }
.df-code-static { margin-top: 28px; border: 1px solid var(--line); border-radius: 12px; background: #fbfaf6; }
.tk-k { color: #2c50b4; } .tk-s { color: #3c8c58; } .tk-n { color: #c0612b; } .tk-c { color: #9a9b91; }

/* Controls */
.df-panel { padding: 22px; border: 1px solid var(--line); border-radius: 14px; background: #fbfaf6; }
.df-panel fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }
.df-panel fieldset + fieldset { margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--line); }
.df-panel legend { padding: 0; margin-bottom: 12px; font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: #877344; }
.df-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.df-chip { position: relative; cursor: pointer; }
.df-chip input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.df-chip span { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px 5px 6px; border: 1px solid #d9d7cb; border-radius: 999px; font-size: 11.5px; line-height: 1.2; background: #fff; transition: border-color 150ms ease, background 150ms ease, color 150ms ease; }
.df-chip canvas { display: block; flex: 0 0 auto; }
.df-chip:hover span { border-color: var(--ink); }
.df-chip input:checked + span { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.df-chip input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 2px; }
.df-field { display: block; }
.df-field + .df-field { margin-top: 14px; }
.df-field > span { display: flex; justify-content: space-between; margin-bottom: 6px; font-size: 12px; color: var(--ink); }
.df-field output { font-variant-numeric: tabular-nums; color: var(--muted); }
.df-calendar { margin-top: 14px; }
.df-calendar[hidden] { display: none; }
.df-calendar select { width: 100%; padding: 8px 10px; border: 1px solid #d9d7cb; border-radius: 8px; background: #fff; font: inherit; font-size: 12px; color: var(--ink); }
.df-panel input[type="range"] { width: 100%; height: 20px; margin: 0; background: transparent; -webkit-appearance: none; appearance: none; cursor: pointer; }
.df-panel input[type="range"]::-webkit-slider-runnable-track { height: 2px; border-radius: 2px; background: linear-gradient(90deg, var(--ink) var(--fill, 50%), #dcdcd1 var(--fill, 50%)); }
.df-panel input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 16px; height: 16px; margin-top: -7px; border-radius: 50%; background: #fff; border: 2px solid var(--ink); box-shadow: 0 0 0 3px rgba(162, 139, 83, 0); transition: box-shadow 150ms ease; }
.df-panel input[type="range"]:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 4px rgba(162, 139, 83, .4); }
.df-panel input[type="range"]::-moz-range-track { height: 2px; background: #dcdcd1; }
.df-panel input[type="range"]::-moz-range-progress { height: 2px; background: var(--ink); }
.df-panel input[type="range"]::-moz-range-thumb { width: 12px; height: 12px; border-radius: 50%; background: #fff; border: 2px solid var(--ink); }
.df-panel input[type="range"]:focus { outline: none; }
.df-toggle { display: flex; align-items: center; gap: 10px; font-size: 12px; cursor: pointer; }
.df-toggle + .df-toggle { margin-top: 10px; }
.df-toggle input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.df-switch { position: relative; flex: 0 0 auto; width: 30px; height: 18px; border-radius: 999px; background: #d9d7cb; transition: background 180ms ease; }
.df-switch::after { content: ""; position: absolute; top: 2px; left: 2px; width: 14px; height: 14px; border-radius: 50%; background: #fff; box-shadow: 0 1px 2px rgba(0, 0, 0, .2); transition: transform 220ms cubic-bezier(.22, 1, .36, 1); }
.df-toggle input:checked + .df-switch, .df-page-toggle[aria-pressed="true"] .df-switch { background: var(--ink); }
.df-toggle input:checked + .df-switch::after, .df-page-toggle[aria-pressed="true"] .df-switch::after { transform: translateX(12px); }
.df-toggle input:focus-visible + .df-switch { outline: 2px solid var(--gold); outline-offset: 2px; }
.df-reset { margin-top: 18px; }
.df-page-toggle { display: inline-flex; align-items: center; gap: 10px; padding: 9px 16px 9px 10px; border: 1px solid var(--line); border-radius: 999px; background: #fbfaf6; font: inherit; font-size: 12px; color: var(--ink); cursor: pointer; transition: border-color 150ms ease; }
.df-page-toggle:hover { border-color: var(--ink); }
.df-page-toggle:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

/* Content sections */
.df-section { position: relative; }
.df-intro { margin-top: 22px; max-width: 520px; font-size: 14px; line-height: 1.75; color: var(--muted); }
.df-occasions { list-style: none; margin: 40px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.df-occasions li { background: var(--paper); }
.df-occ { display: grid; grid-template-columns: 40px 1fr; grid-template-rows: auto 1fr auto; gap: 4px 14px; width: 100%; height: 100%; padding: 20px 18px 18px; border: 0; background: none; text-align: left; font: inherit; color: inherit; cursor: pointer; transition: background 180ms ease; }
.df-occ:hover { background: #fbfaf6; }
.df-occ:focus-visible { outline: 2px solid var(--gold); outline-offset: -4px; }
.df-icon { grid-row: 1 / 3; display: block; width: 36px; height: 36px; }
.df-icon canvas { display: block; }
.df-occ-name { font-family: var(--serif); font-size: 20px; letter-spacing: -.03em; }
.df-occ-copy { font-size: 11.5px; line-height: 1.6; color: var(--muted); }
.df-occ-try { grid-column: 2; margin-top: 8px; font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: var(--gold); opacity: 0; transform: translateY(3px); transition: opacity 180ms ease, transform 180ms ease; }
.df-occ:hover .df-occ-try, .df-occ:focus-visible .df-occ-try { opacity: 1; transform: none; }
.df-occasions li:last-child { grid-column: 1 / -1; }

.df-feature-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 40px; margin-top: 40px; }
.df-feature { padding-top: 20px; border-top: 1px solid var(--line); }
.df-feature h3 { font-family: var(--serif); font-size: 26px; font-weight: 400; letter-spacing: -.035em; }
.df-feature ul { list-style: none; margin: 14px 0 0; padding: 0; }
.df-feature li { position: relative; padding: 9px 0 9px 16px; border-bottom: 1px dashed var(--line); font-size: 12.5px; line-height: 1.6; color: var(--muted); }
.df-feature li::before { content: ""; position: absolute; left: 0; top: 17px; width: 5px; height: 5px; border-radius: 50%; background: var(--gold); }

.df-stats { list-style: none; margin: 40px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0 30px; }
.df-stats li { padding-top: 18px; border-top: 1px solid var(--ink); }
.df-stats strong { display: block; font-family: var(--serif); font-weight: 400; font-size: clamp(38px, 4vw, 56px); letter-spacing: -.05em; line-height: 1; }
.df-stats span { display: block; margin-top: 10px; font-size: 12px; line-height: 1.5; color: var(--muted); }
.df-checks { list-style: none; margin: 40px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 40px; }
.df-checks li { position: relative; padding: 11px 0 11px 24px; border-bottom: 1px solid var(--line); font-size: 13px; line-height: 1.5; }
.df-checks li::before { content: ""; position: absolute; left: 2px; top: 16px; width: 9px; height: 5px; border-left: 1.5px solid var(--paint-green); border-bottom: 1.5px solid var(--paint-green); transform: rotate(-45deg); }

.df-free { padding: 96px 0; border-bottom: 1px solid var(--line); text-align: center; }
.df-free-title { font-family: var(--serif); font-size: clamp(32px, 4vw, 58px); line-height: 1.15; letter-spacing: -.045em; }
.df-free-title em { color: #83836f; }
.df-free-copy { max-width: 560px; margin: 26px auto 0; font-size: 14px; line-height: 1.8; color: var(--muted); }

.df-steps { list-style: none; margin: 40px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 36px; }
.df-steps li { display: grid; grid-template-columns: 34px 1fr; padding-top: 18px; border-top: 1px solid var(--line); }
.df-steps > li > span { font-size: 9px; color: var(--muted); padding-top: 9px; }
.df-steps h3 { font-family: var(--serif); font-size: 24px; font-weight: 400; letter-spacing: -.035em; }
.df-steps p { margin-top: 10px; font-size: 12.5px; line-height: 1.7; color: var(--muted); }
.df-steps b { font-weight: 600; color: var(--ink); }
.df-install-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 26px 40px; margin-top: 44px; }
.df-reqs { display: grid; grid-template-columns: repeat(4, auto); gap: 0 30px; margin: 0; }
.df-reqs dt { font-size: 9px; letter-spacing: .12em; text-transform: uppercase; color: #877344; }
.df-reqs dd { margin: 5px 0 0; font-size: 12px; color: var(--ink); }

.df-hooks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 30px; margin-top: 38px; }
.df-hook { padding-top: 16px; border-top: 1px solid var(--line); }
.df-hook > code { font: 13px ui-monospace, "SF Mono", Menlo, Consolas, monospace; color: var(--paint-blue); }
.df-hook p { margin-top: 8px; font-size: 12.5px; line-height: 1.6; color: var(--muted); }
.df-hook p code, .df-faq code { padding: 1px 5px; border-radius: 4px; background: #efece3; font: 11.5px ui-monospace, Menlo, monospace; color: var(--ink); }

.df-faq { margin-top: 36px; max-width: 760px; border-top: 1px solid var(--line); }
.df-faq details { border-bottom: 1px solid var(--line); }
.df-faq summary { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 18px 0; list-style: none; font-family: var(--serif); font-size: 20px; letter-spacing: -.025em; cursor: pointer; }
.df-faq summary::-webkit-details-marker { display: none; }
.df-faq summary::after { content: "+"; flex: 0 0 auto; font-family: var(--sans); font-size: 20px; color: var(--gold); transition: transform 220ms ease; }
.df-faq details[open] summary::after { transform: rotate(45deg); }
.df-faq summary:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }
.df-faq details p { padding: 0 0 20px; max-width: 620px; font-size: 13.5px; line-height: 1.8; color: var(--muted); }

.df-cta { position: relative; padding: 100px 0 90px; text-align: center; }
.df-cta-title { font-family: var(--serif); font-size: clamp(44px, 6vw, 88px); line-height: 1.05; letter-spacing: -.055em; }
.df-cta-title em { color: #83836f; }
.df-cta .df-ctas { justify-content: center; margin-top: 36px; }
.df-changelog { margin-top: 34px; font-size: 11px; color: var(--muted); }
.df-changelog b { font-weight: 600; color: var(--ink); }
.df-changelog a { text-decoration: underline; }

/* Brush accents on this page */
.df-brush-a { left: 2%; bottom: 80px; width: min(140px, 12%); --rot: 6deg; }
.df-brush-b { left: 2%; bottom: 90px; width: min(140px, 12%); --rot: -5deg; }
.df-brush-c { left: 50%; top: 40px; width: 150px; margin-left: -75px; --amp: 10px; }

@media (max-width: 1100px) {
  .df-playground-grid { grid-template-columns: minmax(0, 1fr) 290px; gap: 22px; }
  .df-occasions { grid-template-columns: 1fr 1fr; }
  .df-stats { grid-template-columns: 1fr 1fr; gap: 26px 30px; }
  .df-reqs { grid-template-columns: repeat(2, auto); gap: 14px 30px; }
}
@media (max-width: 860px) {
  .df-playground-grid { grid-template-columns: 1fr; }
  .df-stage-wrap { display: contents; }
  .df-stage { order: 1; }
  .df-panel { order: 2; }
  .df-code-wrap { order: 3; margin-top: 0; }
  .df-hero-copy { grid-template-columns: 1fr; }
  .df-feature-cols, .df-steps, .df-hooks { grid-template-columns: 1fr; gap: 26px; }
  .df-checks { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .df-hero { padding: 34px 0 52px; }
  .df-hero-grid { margin-top: 40px; }
  .df-product { font-size: 19px; margin-bottom: 20px; }
  .df-product img { width: 46px; height: 46px; border-radius: 12px; }
  .df-lead { font-size: 15px; }
  .df-playground { padding: 46px 0 56px; }
  .df-site { height: 400px; }
  .df-mock { padding: 16px 18px; }
  .df-mock-links, .df-scene-name { display: none; }
  .df-mock-hero { margin-top: 34px; }
  .df-mock-cards { gap: 8px; }
  .df-mock-cards b { height: 44px; }
  .df-mock-cards span { font-size: 10px; padding: 8px; }
  .df-occasions { grid-template-columns: 1fr; }
  .df-free { padding: 64px 0; }
  .df-cta { padding: 70px 0 60px; }
  .df-brush-c { top: 18px; }
}
@media (max-width: 480px) {
  .df-mock-cards span:nth-child(3) { display: none; }
  .df-mock-cards { grid-template-columns: 1fr 1fr; }
  .df-stats { grid-template-columns: 1fr 1fr; }
  .df-reqs { grid-template-columns: 1fr 1fr; }
}
