/* Celexly redesign: shared design system for a calmer, professional site.
   Sakura palette from the original, cleaner layout, pixel art as images. */
:root {
  --c-ink: #24161f; --c-body: #5d4b57; --c-soft: #8a7782; --c-line: #f0dce4;
  --c-bg: #fffafb; --c-tint: #fdf1f5; --c-rose: #e75a7c; --c-rose-d: #c9466a; --c-plum: #b76e9b;
  --c-night: #1a0f1c; --c-night-2: #2c1530;
  --r-lg: 28px; --r-md: 20px; --r-sm: 14px;
  --shadow: 0 18px 40px rgba(78, 32, 60, .10);
  --shadow-lg: 0 28px 60px rgba(78, 32, 60, .16);
  --wrap: 1180px;
}
.rd { background: var(--c-bg); color: var(--c-ink); }
.rd main { position: relative; z-index: 2; }
.rd-wrap { width: min(var(--wrap), calc(100% - 32px)); margin: 0 auto; }
.rd-pixel { image-rendering: pixelated; image-rendering: crisp-edges; }

/* type */
.rd-eyebrow { display: inline-flex; gap: 10px; align-items: center; color: var(--c-rose); font: 800 12px/1 system-ui, sans-serif; letter-spacing: .16em; text-transform: uppercase; }
.rd-eyebrow .jp { color: var(--c-plum); letter-spacing: .08em; }
.rd h2 { font-size: clamp(30px, 3.8vw, 48px); line-height: 1.06; letter-spacing: -.04em; margin: 14px 0 12px; color: var(--c-ink); }
.rd-lead { color: var(--c-body); font-size: clamp(16px, 1.4vw, 18.5px); line-height: 1.7; max-width: 640px; margin: 0; }
.rd-section { padding: 96px 0; }
.rd-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: 34px; }
.rd-head a { color: var(--c-rose); font-weight: 750; text-decoration: none; }
.rd-head a:hover { text-decoration: underline; text-underline-offset: 4px; }

/* buttons */
.rd-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.rd-btn { display: inline-flex; align-items: center; gap: 8px; min-height: 50px; padding: 0 24px; border-radius: 999px; font-weight: 750; font-size: 15px; text-decoration: none; transition: transform .2s, box-shadow .2s, background .2s; }
.rd-btn-main { background: var(--c-rose); color: #fff; box-shadow: 0 12px 26px rgba(231, 90, 124, .28); }
.rd-btn-main:hover { background: var(--c-rose-d); }
.rd-btn-ghost { background: #fff; color: var(--c-ink); border: 1px solid var(--c-line); }
.rd-btn-light { background: #fff; color: var(--c-night); }
.rd-btn:hover { transform: translateY(-2px); }
.rd-btn:focus-visible, .rd a:focus-visible { outline: 3px solid #f7a8c0; outline-offset: 3px; }

/* hero */
.rd-hero { padding: 146px 0 56px; background: radial-gradient(55% 60% at 85% 10%, rgba(247, 168, 192, .4), transparent 70%), linear-gradient(180deg, #fff3f7, var(--c-bg) 80%); }
.rd-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.02fr); gap: 56px; align-items: center; }
.rd-hero h1 { font-size: clamp(44px, 6vw, 84px); line-height: .98; letter-spacing: -.055em; margin: 18px 0 22px; }
.rd-hero h1 em { font-style: normal; background: linear-gradient(120deg, var(--c-rose), var(--c-plum)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.rd-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-top: 40px; max-width: 560px; }
.rd-stat { padding: 14px 12px; border: 1px solid var(--c-line); border-radius: var(--r-sm); background: rgba(255, 255, 255, .75); }
.rd-stat b { display: block; font-size: 26px; letter-spacing: -.03em; }
.rd-stat span { color: var(--c-soft); font-size: 12px; font-weight: 650; }
.rd-window { border-radius: var(--r-lg); background: #fff; padding: 10px; box-shadow: var(--shadow-lg); border: 1px solid #fff; }
.rd-window-bar { display: flex; align-items: center; gap: 6px; padding: 4px 6px 10px; color: var(--c-soft); font: 700 11px/1 ui-monospace, monospace; letter-spacing: .06em; }
.rd-window-bar i { width: 10px; height: 10px; border-radius: 50%; background: #f7a8c0; }
.rd-window-bar i:nth-child(2) { background: #ffd27a; } .rd-window-bar i:nth-child(3) { background: #9fd38a; }
.rd-window-bar span { margin-left: auto; }
.rd-window img { display: block; width: 100%; aspect-ratio: 256 / 160; border-radius: 18px; background: #ffe8ef; }
.rd-petal { position: absolute; width: 8px; height: 6px; border-radius: 6px 1px 6px 1px; background: #f7a8c0; opacity: .8; animation: rd-fall linear infinite; pointer-events: none; }
@keyframes rd-fall { from { transform: translate(0, -20px) rotate(0); } to { transform: translate(-90px, 640px) rotate(540deg); } }
@media (prefers-reduced-motion: reduce) { .rd-petal { display: none; } }

/* pixel grass divider */
.rd-divider { height: 40px; background-repeat: repeat-x; background-size: auto 40px; background-position: bottom; }

/* tools strip */
.rd-tools { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 26px; padding: 26px 0 0; color: var(--c-soft); font-weight: 700; font-size: 14px; letter-spacing: .02em; }
.rd-tools span:first-child { color: var(--c-ink); }

/* release rail */
.rd-rail { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(232px, 1fr); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 2px 18px; scrollbar-width: thin; }
.rd-rel { scroll-snap-align: start; display: flex; flex-direction: column; gap: 12px; padding: 16px; border: 1px solid var(--c-line); border-radius: var(--r-md); background: #fff; color: inherit; text-decoration: none; transition: transform .25s, box-shadow .25s; }
.rd-rel:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.rd-rel-art { height: 170px; border-radius: var(--r-sm); overflow: hidden; display: grid; place-items: center; background: linear-gradient(145deg, #fdeef2, #f3e6ff); }
.rd-rel-art img { max-width: 100%; max-height: 100%; object-fit: contain; }
.rd-rel-art.icon img { width: 112px; height: 112px; border-radius: 26px; box-shadow: 0 12px 26px rgba(0, 0, 0, .16); }
.rd-rel-art.cover img { height: 100%; width: auto; box-shadow: 0 10px 22px rgba(0, 0, 0, .22); }
.rd-kind { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 8px; color: var(--c-soft); font: 750 11px/1.2 system-ui, sans-serif; letter-spacing: .08em; text-transform: uppercase; }
.rd-kind span { white-space: nowrap; }
.rd-kind .live { color: #1f9e6b; }
.rd-rel h3 { margin: 0; font-size: 18px; letter-spacing: -.02em; }
.rd-rel p { margin: 0; color: var(--c-body); font-size: 14px; line-height: 1.5; }

/* product lines */
.rd-lines { background: linear-gradient(180deg, var(--c-bg), var(--c-tint)); }
.rd-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.rd-line { display: flex; flex-direction: column; min-height: 300px; border-radius: var(--r-lg); overflow: hidden; background: #fff; border: 1px solid var(--c-line); color: inherit; text-decoration: none; transition: transform .25s, box-shadow .25s; }
.rd-line:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.rd-line-art { height: 160px; overflow: hidden; display: grid; place-items: center; }
.rd-line-art > img.cover { width: 100%; height: 100%; object-fit: cover; }
.rd-line-body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.rd-line-body h3 { margin: 0; font-size: 20px; letter-spacing: -.025em; }
.rd-line-body h3 .jp { margin-left: 6px; color: var(--c-plum); font-size: 12px; font-weight: 700; letter-spacing: .06em; }
.rd-line-body p { margin: 0; color: var(--c-body); font-size: 14px; line-height: 1.55; }
.rd-line-body .go { margin-top: auto; padding-top: 10px; color: var(--c-rose); font-weight: 750; font-size: 14px; }
.rd-icons { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; padding: 0 16px; }
.rd-icons img { width: 44px; height: 44px; border-radius: 12px; box-shadow: 0 6px 14px rgba(0, 0, 0, .12); background: #fff; }
.rd-covers { display: flex; gap: 10px; align-items: flex-end; height: 130px; }
.rd-covers img { height: 100%; width: auto; border-radius: 4px; box-shadow: 0 8px 16px rgba(0, 0, 0, .22); }
.rd-covers img:nth-child(2) { height: 115%; }
.art-ext { background: linear-gradient(145deg, #ffe3ec, #f3e3ff); }
.art-android { background: linear-gradient(145deg, #e0f6e9, #d9ecff); }
.art-books { background: linear-gradient(145deg, #f7ead8, #fde6ee); }
.art-models { background: linear-gradient(145deg, #efe3ff, #ffe3ef); }
.art-models img { height: 150px; width: auto; }
.art-web { background: linear-gradient(145deg, #ffe9dc, #ffe3ec); }
.art-ai { background: linear-gradient(145deg, #1f1430, #3a1b35); }
.art-sub { background: linear-gradient(145deg, #e6f7ec, #eef3ff); }
.rd-browser { width: 72%; height: 110px; border-radius: 12px; background: #fff; box-shadow: 0 12px 26px rgba(0, 0, 0, .14); overflow: hidden; }
.rd-browser i { display: block; height: 18px; background: #f4e8ee; }
.rd-browser b { display: block; margin: 12px 14px 8px; height: 12px; width: 55%; border-radius: 6px; background: var(--c-rose); opacity: .8; }
.rd-browser s { display: block; margin: 0 14px 6px; height: 8px; border-radius: 4px; background: #efdde5; }
.rd-chat { display: flex; flex-direction: column; gap: 8px; width: 74%; }
.rd-chat span { align-self: flex-start; max-width: 82%; padding: 9px 12px; border-radius: 14px 14px 14px 4px; background: #fff; color: var(--c-ink); font-size: 12px; box-shadow: 0 6px 14px rgba(0, 0, 0, .08); }
.rd-chat span.me { align-self: flex-end; border-radius: 14px 14px 4px 14px; background: var(--c-rose); color: #fff; }
.rd-sheet { display: grid; grid-template-columns: repeat(5, 1fr); gap: 4px; width: 66%; padding: 10px; border-radius: 12px; background: #fff; box-shadow: 0 12px 26px rgba(0, 0, 0, .12); }
.rd-sheet i { height: 14px; border-radius: 3px; background: #e3f2e8; }
.rd-sheet i:nth-child(-n+5) { background: #2c9c63; opacity: .75; }

/* how we work */
.rd-process { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; counter-reset: step; }
.rd-step { padding: 26px 22px; border-radius: var(--r-md); background: #fff; border: 1px solid var(--c-line); }
.rd-step::before { counter-increment: step; content: "0" counter(step); display: block; margin-bottom: 18px; color: var(--c-rose); font: 800 13px/1 ui-monospace, monospace; letter-spacing: .1em; }
.rd-step b { display: block; font-size: 18px; margin-bottom: 8px; }
.rd-step p { margin: 0; color: var(--c-body); font-size: 14px; line-height: 1.6; }
.rd-promises { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 16px; }
.rd-promise { display: flex; gap: 14px; align-items: flex-start; padding: 20px 22px; border-radius: var(--r-md); background: var(--c-tint); }
.rd-promise img { width: 32px; height: 32px; flex: none; }
.rd-promise b { display: block; font-size: 16px; }
.rd-promise p { margin: 4px 0 0; color: var(--c-body); font-size: 14px; line-height: 1.55; }

/* seasons */
.rd-seasons { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.rd-season { position: relative; border-radius: var(--r-md); overflow: hidden; box-shadow: var(--shadow); background-size: cover; background-position: center; aspect-ratio: 96 / 64; }
.rd-season span { position: absolute; left: 12px; bottom: 12px; padding: 6px 10px; border-radius: 999px; background: rgba(36, 22, 31, .72); color: #fff; font: 800 11px/1 system-ui, sans-serif; letter-spacing: .12em; text-transform: uppercase; }
.rd-season span b { margin-right: 6px; font-size: 13px; }
.rd-seasons-cta { display: flex; justify-content: space-between; align-items: center; gap: 18px; flex-wrap: wrap; margin-top: 24px; }

/* contact band */
.rd-contact { position: relative; overflow: hidden; margin: 0 auto 96px; padding: 64px clamp(24px, 5vw, 64px); border-radius: 32px; background-color: var(--c-night); background-size: cover; background-position: center; color: #fff; display: flex; justify-content: space-between; align-items: center; gap: 28px; flex-wrap: wrap; }
.rd-contact::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(26, 15, 28, .92) 0%, rgba(26, 15, 28, .7) 45%, rgba(26, 15, 28, 0) 75%); }
.rd-contact > * { position: relative; }
.rd-contact h2 { color: #fff; margin: 8px 0 10px; }
.rd-contact p { margin: 0; color: #f0dde8; max-width: 520px; line-height: 1.6; }
.rd-contact .rd-eyebrow { color: #f7a8c0; }

/* footer */
.rd-footer { position: relative; z-index: 2; background: var(--c-night); color: #d9c3d0; }
.rd-footer .rd-divider { background-color: var(--c-bg); }
.rd-foot-grid { display: grid; grid-template-columns: 1.4fr repeat(4, minmax(0, 1fr)); gap: 32px; padding: 56px 0 40px; }
.rd-foot-brand a.logo { display: inline-flex; align-items: center; gap: 10px; color: #fff; font-weight: 800; font-size: 20px; text-decoration: none; }
.rd-foot-brand img { width: 30px; height: 30px; }
.rd-foot-brand p { margin: 14px 0 18px; max-width: 300px; line-height: 1.6; font-size: 14px; color: #c8b0bf; }
.rd-socials { display: flex; flex-wrap: wrap; gap: 8px; }
.rd-socials a { padding: 7px 11px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .14); color: #f0dde8; font-size: 12px; font-weight: 700; text-decoration: none; }
.rd-socials a:hover { background: rgba(255, 255, 255, .08); }
.rd-foot-col h5 { margin: 0 0 14px; color: #fff; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; }
.rd-foot-col a { display: block; padding: 5px 0; color: #c8b0bf; font-size: 14px; text-decoration: none; }
.rd-foot-col a:hover { color: #fff; }
.rd-foot-base { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 20px 0 28px; border-top: 1px solid rgba(255, 255, 255, .1); color: #a08a98; font-size: 13px; }

@media (max-width: 1020px) {
  .rd-hero-grid { grid-template-columns: 1fr; }
  .rd-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rd-process { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rd-foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rd-foot-brand { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .rd-hero { padding: 108px 0 40px; }
  .rd-stats { grid-template-columns: repeat(2, 1fr); }
  .rd-section { padding: 64px 0; }
  .rd-grid, .rd-process, .rd-promises { grid-template-columns: 1fr; }
  .rd-seasons { grid-template-columns: repeat(2, 1fr); }
  .rd-contact { margin-bottom: 64px; }
}
.rd-hero-links { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 18px 0 0; font-size: 14px; font-weight: 700; }
.rd-hero-links a { color: var(--c-plum); text-decoration: none; }
.rd-hero-links a:hover { color: var(--c-rose); text-decoration: underline; text-underline-offset: 4px; }
.rd-foot-base a { color: inherit; text-decoration: none; }
.rd-foot-base a:hover { color: #fff; }
