/* ti-me.co landing page — Signature identity (brand-kit/). Mobile first; desktop enhances. */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/inter-regular.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/fonts/inter-medium.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/fonts/inter-semibold.woff2') format('woff2');
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/fonts/manrope-medium.woff2') format('woff2');
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/fonts/manrope-semibold.woff2') format('woff2');
}

:root {
  color-scheme: light;
  --aubergine: #241b2c;
  --lavender: #b9a6e8;
  --violet: #6d56a2;
  --violet-deep: #5b4789;
  --ivory: #f8f6f3;
  --mist: #eee9f4;
  --muted: #6d6478;
  --line: #e6e1ea;
  --panel: #ffffff;
  --font-ui: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
  --font-display:
    Manrope, Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
  --gutter: 22px;
  --radius: 18px;
  --radius-sm: 12px;
}

* {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--ivory);
  color: var(--aubergine);
  font-family: var(--font-ui);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img {
  max-width: 100%;
  height: auto;
}
a {
  color: var(--violet);
}
:focus-visible {
  outline: 3px solid var(--lavender);
  outline-offset: 3px;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.wrap {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ---- header ---- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(248, 246, 243, 0.92);
  backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
  gap: 16px;
}
.site-logo {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}
.site-logo img {
  display: block;
  height: 36px;
  width: auto;
}
.menu {
  position: relative;
}
.menu summary {
  list-style: none;
  cursor: pointer;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: var(--radius-sm);
}
.menu summary::-webkit-details-marker {
  display: none;
}
.menu summary span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--aubergine);
  border-radius: 2px;
  box-shadow:
    0 -7px 0 var(--aubergine),
    0 7px 0 var(--aubergine);
}
.menu[open] summary {
  background: var(--mist);
}
.menu nav {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  min-width: 220px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 8px;
  box-shadow: 0 16px 40px rgba(36, 27, 44, 0.12);
}
.menu nav a {
  display: block;
  padding: 12px 14px;
  min-height: 44px;
  border-radius: var(--radius-sm);
  color: var(--aubergine);
  text-decoration: none;
  font-weight: 500;
}
.menu nav a:hover {
  background: var(--mist);
}
.menu nav a.is-primary {
  color: var(--violet);
}

/* ---- hero ---- */
.hero {
  padding: 36px 0 24px;
}
.eyebrow {
  margin: 0 0 14px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
h1 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(40px, 11vw, 48px);
  line-height: 1.04;
  letter-spacing: -0.02em;
  margin: 0 0 18px;
}
.lead {
  margin: 0 0 24px;
  font-size: 18px;
  line-height: 1.5;
  color: var(--aubergine);
  max-width: 34ch;
}
.cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  min-height: 56px;
  padding: 14px 20px;
  border-radius: 14px;
  background: var(--violet);
  color: var(--ivory);
  font-weight: 600;
  font-size: 18px;
  text-decoration: none;
}
.cta:hover {
  background: var(--violet-deep);
}
.cta svg {
  flex: none;
}
.secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  min-height: 48px;
  margin-top: 6px;
  color: var(--violet);
  font-weight: 600;
  text-decoration: none;
}
.secondary svg {
  flex: none;
}
.assurance {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 8px 0 0;
  font-size: 15px;
  color: var(--muted);
}
.assurance svg {
  flex: none;
}

/* ---- product preview ---- */
.preview {
  margin: 28px 0 0;
}
.preview__panel {
  background: var(--aubergine);
  color: var(--ivory);
  border-radius: 24px;
  padding: 18px;
}
.preview__title {
  margin: 0 0 14px 4px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 22px;
}
.entry {
  background: var(--mist);
  color: var(--aubergine);
  border-radius: 18px;
  padding: 16px;
}
.entry__status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}
.badge {
  display: inline-block;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(109, 86, 162, 0.14);
  color: var(--violet);
  font-size: 13px;
  font-weight: 600;
}
.entry__more {
  color: var(--muted);
  letter-spacing: 2px;
  font-weight: 600;
}
.entry__body {
  display: flex;
  align-items: center;
  gap: 14px;
}
.entry__icon {
  flex: none;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(109, 86, 162, 0.14);
  color: var(--violet);
  display: grid;
  place-items: center;
}
.entry__name {
  margin: 0;
  font-weight: 600;
  font-size: 18px;
}
.entry__detail {
  margin: 2px 0 0;
  color: var(--muted);
}
.entry__detail b {
  color: var(--aubergine);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.entry__actions {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 10px;
  margin-top: 14px;
}
.entry__actions span {
  display: grid;
  place-items: center;
  min-height: 46px;
  border-radius: 12px;
  font-weight: 600;
}
.entry__confirm {
  background: var(--violet);
  color: var(--ivory);
}
.entry__edit {
  background: var(--panel);
  color: var(--aubergine);
}
.preview__caption {
  margin: 14px 0 0;
  text-align: center;
  color: var(--muted);
  font-size: 15px;
}

/* ---- sections ---- */
.section {
  padding: 44px 0 8px;
}
.section h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(28px, 7vw, 34px);
  line-height: 1.12;
  letter-spacing: -0.015em;
  margin: 0 0 12px;
  max-width: 20ch;
}
.section > .wrap > p {
  margin: 0 0 22px;
  color: var(--muted);
  max-width: 50ch;
}
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
}
.steps li {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
}
.steps .num {
  display: inline-grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: var(--mist);
  color: var(--violet);
  font-weight: 600;
  margin-bottom: 10px;
}
.steps h3 {
  margin: 0 0 6px;
  font-size: 18px;
  font-weight: 600;
}
.steps p {
  margin: 0;
  color: var(--muted);
}
.facts {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.facts li {
  border-top: 1px solid var(--line);
  padding: 16px 0 4px;
}
.facts b {
  display: block;
  font-weight: 600;
  margin-bottom: 4px;
}
.facts span {
  color: var(--muted);
}
.band {
  margin: 44px 0 0;
  background: var(--aubergine);
  color: var(--ivory);
  padding: 40px 0 44px;
  position: relative;
  overflow: hidden;
}
.band h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(28px, 7vw, 34px);
  line-height: 1.12;
  margin: 0 0 12px;
  max-width: 20ch;
}
.band p {
  margin: 0 0 24px;
  color: var(--lavender);
  max-width: 50ch;
}
.band .cta {
  background: var(--lavender);
  color: var(--aubergine);
}
.band .cta:hover {
  background: #cabcf0;
}
.band .site-logo img {
  height: 40px;
  margin-bottom: 20px;
}

/* ---- footer ---- */
.site-footer {
  padding: 28px 0 40px;
  color: var(--muted);
  font-size: 14px;
}
.site-footer .wrap {
  display: grid;
  gap: 10px;
}
.site-footer a {
  color: var(--violet);
  text-decoration: none;
}
.site-footer a:hover {
  text-decoration: underline;
}

/* ---- desktop ---- */
@media (min-width: 860px) {
  :root {
    --gutter: 32px;
  }
  .hero .wrap {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 56px;
    align-items: center;
  }
  .hero {
    padding: 64px 0 40px;
  }
  h1 {
    font-size: 60px;
  }
  .lead {
    font-size: 19px;
  }
  .cta,
  .secondary {
    width: auto;
    min-width: 220px;
  }
  .hero__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px 22px;
  }
  .assurance {
    justify-content: flex-start;
    margin-top: 18px;
  }
  .preview {
    margin: 0;
  }
  .preview__panel {
    padding: 24px;
  }
  .steps {
    grid-template-columns: repeat(3, 1fr);
  }
  .facts {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }
  .facts--four {
    grid-template-columns: repeat(4, 1fr);
  }
  .band .wrap {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
    align-items: center;
  }
  .site-footer .wrap {
    grid-auto-flow: column;
    justify-content: space-between;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
