:root {
  color-scheme: dark;
  --bg: #0a0a0c;
  --fg: #e7e7ea;
  --muted: #9a9aa6;
  --line: #2a2a32;
  --paper: #121214;
  --tomato: #ff5a2b;
  --tomato-deep: #c23314;
  --green: #22c55e;
  --blue: #3b82f6;
  --amber: #f5b300;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  background:
    radial-gradient(880px 520px at 12% -12%, rgba(255, 90, 43, 0.38), transparent 60%),
    radial-gradient(640px 420px at 92% 8%, rgba(255, 90, 43, 0.12), transparent 55%),
    var(--bg);
  color: var(--fg);
  font-family: Inter, system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.page {
  width: 100%;
  margin: 0;
  min-height: calc(100vh - 96px);
  padding: 36px clamp(20px, 4vw, 48px) 48px;
  display: flex;
  flex-direction: column;
  gap: 72px;
}

.bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 8px clamp(20px, 4vw, 48px);
  background: #121214;
  border: 3px solid var(--tomato);
  box-shadow: 0 8px 24px rgba(255, 90, 43, 0.22);
}

.mark {
  display: flex;
  align-items: center;
  gap: 14px;
  font-weight: 800;
  letter-spacing: -0.05em;
  font-size: clamp(1.85rem, 3.8vw, 2.7rem);
  line-height: 1;
}

.mark img {
  display: block;
  width: 64px;
  height: 64px;
  flex-shrink: 0;
  border-radius: 14px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--fg);
  font-size: 1.05rem;
  font-weight: 700;
}

.nav a,
.nav-contact {
  color: inherit;
  background: transparent;
  border: 2px solid var(--tomato);
  padding: 7px 14px;
  font: inherit;
  cursor: pointer;
}

.nav a:hover,
.nav-contact:hover,
.mail:hover {
  background: var(--tomato);
  color: #fff;
}

.intro {
  text-align: center;
  padding-bottom: 12px;
}

.intro h1 {
  margin: 0 auto 18px;
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  line-height: 1.06;
  letter-spacing: -0.04em;
  font-weight: 800;
}

.type {
  margin: 0 auto;
  width: 100%;
  min-height: 3.1em;
  color: var(--fg);
  font-size: clamp(0.78rem, 1.05vw, 1.12rem);
  line-height: 1.55;
}

.type-line {
  display: block;
  white-space: nowrap;
}

.cursor {
  display: inline-block;
  width: 2px;
  height: 1em;
  margin-left: 2px;
  background: var(--tomato);
  vertical-align: text-bottom;
  animation: blink 0.9s step-end infinite;
}

@keyframes blink {
  50% {
    opacity: 0;
  }
}

.cady {
  background: linear-gradient(180deg, rgba(255, 90, 43, 0.07), transparent 28%), var(--paper);
  border: 1px solid var(--line);
  border-top: 2px solid var(--tomato);
  margin-top: 8px;
  padding: 28px clamp(16px, 2vw, 28px) 48px;
  display: flex;
  flex-direction: column;
  gap: 28px;
  overflow: visible;
}

.cady-intro {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.block-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.cady-name {
  margin: 4px 0 6px;
  font-size: clamp(3.2rem, 9vw, 6rem);
  line-height: 0.9;
  letter-spacing: -0.06em;
  font-weight: 800;
  background: linear-gradient(105deg, #ffc72c 0%, #ff8a3d 38%, #ff5a2b 72%, #ff7a52 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 6px 18px rgba(255, 90, 43, 0.45));
}

.cady-row {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) 280px;
  gap: 28px 36px;
  align-items: center;
}

.feats {
  margin: 0;
  padding: 26px 24px;
  list-style: none;
  background: linear-gradient(160deg, #ff7a3a, #ff5a2b 55%, #e8431a);
  color: #fff;
  border-radius: 22px;
  display: flex;
  flex-direction: column;
  gap: 11px;
  transform: rotate(-1.2deg);
  box-shadow: 16px 18px 0 rgba(255, 199, 44, 0.18);
}

.feats li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.98rem;
  line-height: 1.3;
}

.feats strong {
  font-weight: 800;
}

.tick {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  margin-top: 1px;
  border-radius: 50%;
  background: #fff;
  position: relative;
}

.tick::after {
  content: "";
  position: absolute;
  left: 8px;
  top: 4px;
  width: 5px;
  height: 10px;
  border: solid #ff5a2b;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.pair {
  position: relative;
  height: 420px;
  width: 280px;
  justify-self: center;
}

.pair .phone-device {
  position: absolute;
  width: 186px;
}

.pair .night {
  left: 0;
  top: 12px;
  transform: rotate(-14deg);
  z-index: 2;
}

.pair .day {
  right: -6px;
  top: 48px;
  z-index: 3;
  transform: rotate(13deg);
  background: #efe8de;
  border-color: #e4d9cc;
}

.menu-lang {
  margin-left: auto;
  margin-right: 6px;
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--muted);
}

.menu-status {
  margin: 0;
  font-size: 0.62rem;
  font-weight: 700;
  color: var(--tomato);
  background: rgba(255, 90, 43, 0.12);
  border-radius: 8px;
  padding: 5px 7px;
}

.day .menu-ui {
  background: #fffaf4;
  color: #16140e;
}

.day .phone-notch {
  background: #d7cfc4;
}

.day .menu-lang {
  color: #6b6b76;
}

.day .menu-dish {
  background: #f3ece3;
}

.day .menu-dish small {
  color: #6b6b76;
}

.day .menu-chips span {
  color: #4d4d56;
  border-color: #ddd4c8;
}

.day .menu-status {
  background: #ffe8df;
}

.pill {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #fff;
  background: var(--tomato);
  border: 1px solid var(--tomato);
  padding: 4px 8px;
  white-space: nowrap;
}

.stage {
  position: relative;
  min-height: 480px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 150px;
  align-items: end;
  justify-items: center;
  gap: 0;
  perspective: 1400px;
  padding: 36px 8px 12px;
}

.stage::before {
  content: "";
  position: absolute;
  inset: 18% 12% 8%;
  background: radial-gradient(ellipse at center, rgba(255, 90, 43, 0.22), transparent 70%);
  pointer-events: none;
}

.phone-device {
  position: relative;
  z-index: 3;
  width: 214px;
  background: #070708;
  border: 9px solid #1c1c20;
  border-radius: 32px;
  padding: 14px 8px 10px;
  transform: rotate(-16deg) translate(-8px, 18px);
  box-shadow:
    18px 28px 50px rgba(0, 0, 0, 0.45),
    0 0 0 1px rgba(255, 90, 43, 0.35);
}

.phone-notch {
  width: 38%;
  height: 6px;
  margin: 0 auto 10px;
  background: #2d2d33;
  border-radius: 99px;
}

.menu-ui {
  background: #121214;
  border-radius: 18px;
  min-height: 330px;
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.menu-top,
.menu-chips {
  display: flex;
  gap: 6px;
  align-items: center;
  justify-content: space-between;
}

.menu-top {
  font-weight: 800;
  font-size: 0.86rem;
}

.menu-open {
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--green);
}

.menu-chips {
  justify-content: flex-start;
}

.menu-chips span {
  font-size: 0.62rem;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 99px;
  padding: 3px 7px;
}

.menu-chips .on {
  background: var(--tomato);
  border-color: var(--tomato);
  color: #fff;
  font-weight: 700;
}

.menu-dish {
  display: grid;
  grid-template-columns: 32px 1fr 20px;
  gap: 8px;
  align-items: center;
  background: #1c1c20;
  border-radius: 10px;
  padding: 7px;
}

.menu-dish b {
  display: block;
  font-size: 0.74rem;
}

.menu-dish small {
  display: block;
  color: var(--muted);
  font-size: 0.6rem;
}

.thumb {
  width: 32px;
  height: 32px;
  border-radius: 8px;
}

.t-tomato {
  background: linear-gradient(135deg, #ff5a2b, #c23314);
}

.t-gold {
  background: linear-gradient(135deg, #ffc72c, #b67d00);
}

.t-cream {
  background: linear-gradient(135deg, #d8d2c6, #8a857c);
}

.plus {
  width: 20px;
  height: 20px;
  border-radius: 6px;
  background: var(--tomato);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 0.85rem;
}

.menu-bag {
  margin-top: auto;
  background: var(--tomato);
  color: #fff;
  text-align: center;
  font-weight: 800;
  font-size: 0.78rem;
  border-radius: 10px;
  padding: 9px;
}

.laptop {
  position: relative;
  z-index: 2;
  width: min(100%, 760px);
  transform: rotate(7deg) translateY(-6px);
  filter: drop-shadow(0 28px 40px rgba(0, 0, 0, 0.5));
}

.laptop-lid {
  background: #16161a;
  border: 1px solid #3a3a42;
  border-radius: 14px 14px 6px 6px;
  padding: 8px;
}

.laptop-bar {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 0 4px 8px;
}

.laptop-bar span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #3a3a42;
}

.laptop-bar span:first-child {
  background: #ff5a2b;
}

.laptop-bar em {
  margin-left: 8px;
  font-style: normal;
  font-size: 0.68rem;
  color: var(--muted);
}

.laptop-base {
  height: 14px;
  margin: 0 auto;
  width: 112%;
  margin-left: -6%;
  background: linear-gradient(#3a3a42, #1c1c20);
  border-radius: 0 0 18px 18px;
  box-shadow: 0 10px 0 #121214;
}

.tent {
  position: relative;
  z-index: 4;
  width: 132px;
  background: #fff6ee;
  color: #16140e;
  text-align: center;
  padding: 12px 10px 14px;
  border-radius: 4px 4px 10px 10px;
  transform: rotate(14deg) translate(6px, -22px);
  box-shadow:
    12px 18px 28px rgba(0, 0, 0, 0.35),
    inset 0 6px 0 var(--tomato);
}

.tent-mesa {
  margin: 8px 0 8px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.82rem;
}

.tent-qr {
  display: block;
  width: 86px;
  height: 86px;
  margin: 0 auto 8px;
  border: 3px solid #16140e;
}

.tent-hint {
  margin: 0;
  font-size: 0.62rem;
  line-height: 1.25;
  font-weight: 600;
}

.kanban {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  align-items: start;
  min-height: 0;
}

.k-col {
  background: #0a0a0c;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 6px;
  min-height: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.k-head {
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 6px 7px;
  border-radius: 6px;
}

.k-head.amber {
  color: #1a1400;
  background: var(--amber);
}

.k-head.blue {
  color: #fff;
  background: var(--blue);
}

.k-head.green {
  color: #fff;
  background: var(--green);
}

.k-card {
  background: #1c1c20;
  border: 1px solid #2d2d33;
  border-radius: 8px;
  overflow: hidden;
}

.k-top {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 5px 7px;
  border-bottom: 1px solid #2d2d33;
}

.k-num {
  font-family: ui-monospace, Consolas, monospace;
  font-weight: 800;
  font-size: 0.72rem;
}

.k-ch {
  font-size: 0.55rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--muted);
  border: 1px solid var(--line);
  padding: 1px 5px;
}

.k-time {
  margin-left: auto;
  font-family: ui-monospace, Consolas, monospace;
  font-size: 0.62rem;
  color: var(--muted);
}

.k-name {
  margin: 5px 7px 0;
  font-weight: 700;
  font-size: 0.74rem;
}

.k-items {
  margin: 2px 7px 6px;
  color: var(--muted);
  font-size: 0.68rem;
}

.k-items span {
  color: var(--tomato);
  font-weight: 700;
}

.k-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  padding: 5px 7px;
  border-top: 1px solid #2d2d33;
}

.k-foot b {
  font-size: 0.74rem;
}

.k-act {
  font-size: 0.52rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: #fff;
  padding: 4px 6px;
  border-radius: 5px;
}

.k-act.green {
  background: var(--green);
}

.k-act.blue {
  background: var(--blue);
}

.k-act.dark {
  background: #3a3a42;
}

.mail {
  font: inherit;
  font-weight: 600;
  color: var(--tomato);
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}

.foot {
  margin-top: auto;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 0.82rem;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.foot p {
  margin: 0;
}

.sheet {
  width: min(520px, calc(100vw - 32px));
  padding: 0;
  border: 3px solid var(--tomato);
  background: #121214;
  color: var(--fg);
}

.sheet::backdrop {
  background: rgba(0, 0, 0, 0.72);
}

.sheet-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 22px;
}

.sheet-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.sheet-head h2 {
  margin: 0;
  font-size: 1.5rem;
}

.sheet-close {
  background: transparent;
  color: var(--muted);
  border: 1px solid var(--line);
  padding: 6px 10px;
  font: inherit;
  cursor: pointer;
}

.sheet-hint {
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-weight: 600;
}

.field input,
.field textarea {
  font: inherit;
  font-weight: 500;
  color: var(--fg);
  background: #0a0a0c;
  border: 2px solid var(--tomato);
  padding: 10px 12px;
  resize: vertical;
}

.send {
  font: inherit;
  font-weight: 800;
  color: #fff;
  background: var(--tomato);
  border: 0;
  padding: 12px 14px;
  cursor: pointer;
}

@media (hover: hover) {
  .phone-device,
  .laptop,
  .tent {
    transition: transform 0.35s ease;
  }

  .phone-device:hover {
    transform: rotate(-12deg) translate(-8px, 4px) scale(1.04);
  }

  .pair .night:hover {
    transform: rotate(-10deg) translateY(-8px) scale(1.04);
  }

  .pair .day:hover {
    transform: rotate(10deg) translateY(-10px) scale(1.04);
  }

  .laptop:hover {
    transform: rotate(5deg) translateY(-16px);
  }

  .tent:hover {
    transform: rotate(10deg) translate(6px, -34px);
  }
}

@media (max-width: 980px) {
  .cady-row {
    grid-template-columns: 1fr;
  }

  .feats {
    transform: none;
  }

  .stage {
    grid-template-columns: 1fr;
    min-height: 0;
    gap: 36px;
    padding-bottom: 8px;
  }

  .laptop,
  .tent {
    transform: none;
  }

  .laptop {
    width: 100%;
  }
}

@media (max-width: 760px) {
  .page {
    gap: 36px;
  }

  .bar {
    flex-wrap: wrap;
  }

  .mark img {
    width: 52px;
    height: 52px;
  }

  .type {
    min-height: 3.2em;
  }

  .type-line {
    white-space: normal;
  }

  .kanban {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cursor {
    animation: none;
  }

  .phone-device,
  .laptop,
  .tent {
    transition: none;
  }
}
