/* Arkan base — reset, typography, layout primitives, button recipes */

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

/* The design's inline styles assume the browser default (normal) line-height;
   components opt into 1.7/1.85 explicitly where the spec says so. */
body {
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 400;
  line-height: normal;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
  font-family: var(--serif);
  font-weight: 500;
  color: var(--ink);
  line-height: 1.1;
}

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

img,
video {
  max-width: 100%;
  display: block;
}

button {
  font: inherit;
  background: none;
  border: none;
  cursor: pointer;
  color: inherit;
}

input,
select,
textarea {
  font: inherit;
}

ul,
ol {
  list-style: none;
}

.screen-reader-text {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
  white-space: nowrap;
}

:focus-visible {
  outline: 2px solid var(--burgundy);
  outline-offset: 2px;
  border-radius: 2px;
}

/* Layout primitives */
.arkan-container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding-left: var(--pad-x);
  padding-right: var(--pad-x);
}

.arkan-section {
  padding: var(--pad-y) var(--pad-x);
}

.arkan-eyebrow {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.3em;
  color: var(--burgundy);
  text-transform: uppercase;
}

/* Buttons — README §4 recipes */
.arkan-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  border-radius: var(--r-pill);
  cursor: pointer;
  border: none;
  transition: background 0.25s, border-color 0.2s, color 0.2s, transform 0.2s;
}

.arkan-btn--primary {
  background: var(--burgundy);
  color: #fff;
  padding: 17px 40px;
}

.arkan-btn--primary:hover {
  background: var(--burgundy-dark);
  transform: translateY(-1px);
  color: #fff;
}

.arkan-btn--secondary {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid rgba(26, 22, 20, 0.25);
  padding: 15px 36px;
}

.arkan-btn--secondary:hover {
  border-color: var(--burgundy);
  color: var(--burgundy);
}

/* Diamond divider — two hairlines + 9px rotated burgundy square */
.arkan-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.arkan-divider__line {
  width: 60px;
  height: 1px;
}

.arkan-divider__line--l {
  background: linear-gradient(to right, transparent, rgba(107, 29, 44, 0.5));
}

.arkan-divider__line--r {
  background: linear-gradient(to left, transparent, rgba(107, 29, 44, 0.5));
}

.arkan-divider__gem {
  width: 9px;
  height: 9px;
  background: var(--burgundy);
  transform: rotate(45deg);
  display: block;
  flex-shrink: 0;
}
