/* Arteros marketing — shared styles for the generated function & task pages.
   Visual language mirrors v5-everyday.html. Single source of truth for the
   generated site; when a homepage direction is chosen we point it here too. */
:root {
  --bg: #0a0a0b;
  --panel: #0e0e10;
  --panel-2: #121214;
  --line: #1d1d21;
  --line-2: #27272c;
  --fg: #f3f1ee;
  --muted: #a39e96;
  --dim: #67635c;
  --accent: #ff4d4d;
  --accent-2: #ff8a8a;
  --glow: rgba(255, 77, 77, 0.16);
  --ok: #3ecf8e;
  --serif: ui-serif, Georgia, "Iowan Old Style", "Times New Roman", serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, Helvetica, Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
}
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
}
body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--sans);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a {
  color: inherit;
  text-decoration: none;
}
.wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 26px;
}
.accent {
  color: var(--accent);
}
.muted {
  color: var(--muted);
}

/* nav */
nav {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(10, 10, 11, 0.72);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
nav .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 62px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  letter-spacing: -.01em;
  font-size: 17px;
}
.navlinks {
  display: flex;
  gap: 26px;
  align-items: center;
  font-size: 14px;
}
.navlinks a {
  color: var(--muted);
}
.navlinks a:hover {
  color: var(--fg);
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14.5px;
  font-weight: 500;
  padding: 11px 18px;
  border-radius: 9px;
  transition: .16s;
  border: 1px solid transparent;
  cursor: pointer;
}
.btn-red {
  background: var(--accent);
  color: #1a0606;
}
.btn-red:hover {
  background: #ff6363;
  transform: translateY(-1px);
}
.btn-ghost {
  border-color: var(--line-2);
  color: var(--fg);
}
.btn-ghost:hover {
  border-color: var(--dim);
  background: var(--panel);
}

/* breadcrumb */
.crumbs {
  font-size: 13px;
  color: var(--dim);
  padding: 22px 0 0;
}
.crumbs a {
  color: var(--muted);
}
.crumbs a:hover {
  color: var(--fg);
}
.crumbs span {
  margin: 0 8px;
  color: var(--line-2);
}

/* page hero (sub-pages) */
.phead {
  position: relative;
  overflow: hidden;
  padding: 36px 0 60px;
  border-bottom: 1px solid var(--line);
}
.phead::before {
  content: "";
  position: absolute;
  top: -320px;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 760px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--glow), transparent 60%);
  pointer-events: none;
}
.phead .inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 52px;
  align-items: center;
}
.phead.solo .inner {
  grid-template-columns: 1fr;
  max-width: 760px;
}
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--accent-2);
  font-weight: 600;
  margin-bottom: 16px;
}
h1 {
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -.02em;
  line-height: 1.05;
  font-size: clamp(32px, 4.6vw, 52px);
}
.phead .lede {
  margin-top: 18px;
  font-size: clamp(16px, 1.6vw, 19px);
  color: var(--muted);
  max-width: 54ch;
}
.phead .lede b {
  color: var(--fg);
  font-weight: 600;
}
.cta-row {
  display: flex;
  gap: 12px;
  margin-top: 28px;
  flex-wrap: wrap;
}
.reassure {
  margin-top: 22px;
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  font-size: 13.5px;
  color: var(--dim);
}
.reassure span {
  display: flex;
  align-items: center;
  gap: 7px;
}
.reassure svg {
  flex: none;
}

/* chat card (single example on a task page) */
.chat {
  background: linear-gradient(180deg, #0e0e11, #0a0a0b);
  border: 1px solid var(--line-2);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 40px 90px -50px rgba(0, 0, 0, 0.95);
}
.chat-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
  color: var(--dim);
}
.chat-bar .av {
  width: 18px;
  height: 18px;
  border-radius: 5px;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
}
.chat-body {
  padding: 20px;
}
.bubble {
  max-width: 90%;
  padding: 13px 16px;
  border-radius: 14px;
  font-size: 14.5px;
  margin-bottom: 14px;
  line-height: 1.5;
}
.bubble.you {
  margin-left: auto;
  background: #1c1416;
  border: 1px solid #3a2024;
  color: var(--fg);
  border-bottom-right-radius: 5px;
}
.bubble.ai {
  background: var(--panel-2);
  border: 1px solid var(--line);
  border-bottom-left-radius: 5px;
}
.bubble.ai .done {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 10px;
}
.bubble.ai ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.bubble.ai li {
  display: flex;
  gap: 9px;
  align-items: flex-start;
  color: var(--muted);
  font-size: 14px;
}
.bubble.ai li svg {
  flex: none;
  margin-top: 3px;
}
.bubble.ai .askfirst {
  margin-top: 12px;
  font-size: 12.5px;
  color: var(--dim);
  border-top: 1px dashed var(--line-2);
  padding-top: 11px;
}

/* sections */
section {
  padding: 80px 0;
  border-bottom: 1px solid var(--line);
}
.center {
  text-align: center;
}
.eyebrow {
  font-size: 13px;
  letter-spacing: .02em;
  color: var(--accent);
  margin-bottom: 13px;
  font-weight: 600;
}
h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(25px, 3.4vw, 36px);
  line-height: 1.14;
  letter-spacing: -.018em;
  max-width: 22ch;
}
.center h2 {
  margin: 0 auto;
}
.sub {
  color: var(--muted);
  margin-top: 14px;
  max-width: 58ch;
  font-size: 16.5px;
}
.center .sub {
  margin-left: auto;
  margin-right: auto;
}

/* 3-up benefit / steps */
.trio {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 46px;
}
.trio .item {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 15px;
  padding: 28px;
}
.trio .item .n {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: rgba(255, 77, 77, 0.12);
  color: var(--accent);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  margin-bottom: 15px;
}
.trio .item h3 {
  font-size: 17px;
  font-weight: 650;
  margin-bottom: 7px;
}
.trio .item p {
  color: var(--muted);
  font-size: 14.5px;
}

/* card grids (functions, tasks, related) */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 46px;
}
.cards.two {
  grid-template-columns: repeat(2, 1fr);
}
.card {
  display: block;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 15px;
  padding: 26px;
  transition: .16s;
  color: inherit;
}
.card:hover {
  border-color: #3a2a2c;
  transform: translateY(-2px);
}
.card .ico {
  font-size: 22px;
  margin-bottom: 14px;
  display: block;
}
.card .say {
  font-size: 13.5px;
  color: var(--accent-2);
  font-style: italic;
  margin-bottom: 9px;
}
.card h3 {
  font-size: 18px;
  font-weight: 600;
  font-family: var(--serif);
  margin-bottom: 7px;
}
.card p {
  color: var(--muted);
  font-size: 14.5px;
}
.card .more {
  margin-top: 14px;
  font-size: 13.5px;
  color: var(--fg);
  font-weight: 500;
}

/* app chips with brand logos */
.apps {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}
.apps .app {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--muted);
  background: var(--panel);
  border: 1px solid var(--line-2);
  border-radius: 8px;
  padding: 7px 12px;
  transition: .15s;
}
.apps .app:hover {
  color: var(--fg);
  border-color: var(--dim);
}
.logo {
  width: 16px;
  height: 16px;
  flex: none;
  color: #d8d2c8;
}
.apps .app:hover .logo {
  color: #fff;
}
.logo-mono {
  width: 16px;
  height: 16px;
  flex: none;
  border-radius: 4px;
  background: var(--line-2);
  color: var(--muted);
  font-size: 9.5px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
/* logo strip (hub / wide rows) */
.logostrip {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 26px;
  align-items: center;
  justify-content: center;
  margin-top: 36px;
  opacity: 0.85;
}
.logostrip .lg {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 13.5px;
}
.logostrip .logo {
  width: 18px;
  height: 18px;
  color: #cfc9bf;
}
.logostrip .more {
  color: var(--dim);
  font-size: 13px;
}

/* final cta */
.final {
  position: relative;
  overflow: hidden;
  text-align: center;
  padding: 96px 0;
}
.final::before {
  content: "";
  position: absolute;
  bottom: -300px;
  left: 50%;
  transform: translateX(-50%);
  width: 840px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--glow), transparent 64%);
}
.final .wrap {
  position: relative;
}
.final .cta-row {
  justify-content: center;
  margin-top: 28px;
}

footer {
  padding: 46px 0;
  color: var(--dim);
  font-size: 13.5px;
}
footer .wrap {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
}
footer a {
  color: var(--muted);
}
footer a:hover {
  color: var(--fg);
}

@media (max-width: 880px) {
  .phead .inner {
    grid-template-columns: 1fr;
    gap: 38px;
  }
  .trio,
  .cards,
  .cards.two {
    grid-template-columns: 1fr;
  }
  .navlinks {
    display: none;
  }
}
