/*
Source: https://templates.inuno.app
Copyright: 2026 templates.inuno.app
Free template attribution/backlink required.
*/

:root {
  --ink: #172033;
  --muted: #64748b;
  --line: #dbe4ef;
  --soft: #edf5fb;
  --panel: #ffffff;
  --cyan: #06b6d4;
  --orange: #f97316;
  --dark: #083344;
  --shadow: 0 20px 60px rgba(15, 23, 42, .13);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    linear-gradient(90deg, rgba(8, 51, 68, .08) 1px, transparent 1px),
    linear-gradient(180deg, rgba(8, 51, 68, .08) 1px, transparent 1px),
    radial-gradient(circle at 74% 7%, rgba(6, 182, 212, .23), transparent 28%),
    linear-gradient(135deg, #f8fbff, #eef5f7);
  background-size: 42px 42px, 42px 42px, auto, auto;
}

a, button, input, textarea {
  transition: transform .18s ease, color .18s ease, background .18s ease, border-color .18s ease, box-shadow .18s ease;
}

a { color: inherit; text-decoration: none; }
a:hover, a:focus-visible { color: var(--orange); }
button { font: inherit; cursor: pointer; }

.app-header {
  width: min(1340px, calc(100% - 48px));
  margin: 24px auto;
  padding: 14px;
  border: 1px solid rgba(219, 228, 239, .9);
  border-radius: 18px;
  background: rgba(255, 255, 255, .86);
  box-shadow: 0 10px 30px rgba(15, 23, 42, .08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
}

.brand,
.app-header nav,
.site-footer nav,
.social-links {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.brand {
  gap: 12px;
  font-size: 18px;
  font-weight: 900;
}

.brand span {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--dark);
  color: #67e8f9;
}

.brand:hover span,
.brand:focus-visible span {
  background: var(--orange);
  color: #fff;
}

.app-header nav a {
  padding: 12px 15px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  color: #334155;
  font-weight: 850;
}

.app-header nav a:hover,
.app-header nav a:focus-visible {
  transform: translateY(-2px);
  border-color: var(--orange);
  box-shadow: 0 12px 24px rgba(249, 115, 22, .18);
}

.send-grid {
  width: min(1340px, calc(100% - 48px));
  margin: 0 auto 28px;
  display: grid;
  grid-template-columns: 360px minmax(0, 1fr) 290px;
  gap: 18px;
  align-items: start;
}

.composer-panel,
.preview-panel,
.queue-panel,
.copy-card {
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255, 255, 255, .9);
  box-shadow: var(--shadow);
}

.composer-panel,
.queue-panel {
  padding: 24px;
}

.panel-head,
.inbox-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--cyan);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.panel-head button {
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid var(--orange);
  border-radius: 11px;
  background: var(--orange);
  color: #fff;
  font-weight: 900;
}

.panel-head button:hover,
.panel-head button:focus-visible {
  transform: translateY(-2px);
  background: var(--dark);
  border-color: var(--dark);
}

label {
  display: grid;
  gap: 8px;
  margin-top: 16px;
  color: #475569;
  font-weight: 850;
}

input,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 13px;
  padding: 13px 14px;
  color: var(--ink);
  background: #f8fafc;
  font: inherit;
}

input:focus,
textarea:focus {
  outline: 3px solid rgba(6, 182, 212, .2);
  border-color: var(--cyan);
  background: #fff;
}

.recipient-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 18px 0;
}

.recipient-row div {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--soft);
}

.recipient-row strong,
.recipient-row span {
  display: block;
}

.recipient-row strong {
  font-size: 28px;
}

.recipient-row span {
  color: var(--muted);
  font-size: 13px;
}

.send-actions {
  display: grid;
  gap: 10px;
}

.primary-action,
.secondary-action,
.mail-body a,
.contact-form button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  padding: 0 17px;
  font-weight: 950;
}

.primary-action,
.mail-body a,
.contact-form button {
  border: 1px solid var(--orange);
  background: var(--orange);
  color: #fff;
}

.secondary-action {
  border: 1px solid var(--line);
  background: #fff;
  color: #334155;
}

.primary-action:hover,
.primary-action:focus-visible,
.mail-body a:hover,
.mail-body a:focus-visible,
.contact-form button:hover,
.contact-form button:focus-visible {
  transform: translateY(-2px);
  background: var(--dark);
  border-color: var(--dark);
  color: #fff;
  box-shadow: 0 16px 28px rgba(8, 51, 68, .18);
}

.secondary-action:hover,
.secondary-action:focus-visible {
  transform: translateY(-2px);
  border-color: var(--cyan);
  color: #0284c7;
}

.preview-panel {
  overflow: hidden;
  padding: 20px;
  background: linear-gradient(145deg, #083344, #0f172a);
}

.inbox-line {
  min-height: 44px;
  color: #dff9ff;
}

.inbox-line span,
.inbox-line em {
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .1);
  font-style: normal;
  font-weight: 900;
}

.mail-preview {
  width: min(620px, 100%);
  margin: 10px auto 0;
  overflow: hidden;
  border-radius: 20px;
  background: #fff;
}

.mail-header {
  padding: 17px 22px;
  display: flex;
  justify-content: space-between;
  gap: 14px;
  background: var(--dark);
  color: #fff;
  font-weight: 900;
}

.mail-header a {
  color: #67e8f9;
}

.mail-preview img {
  display: block;
  width: 100%;
  height: 260px;
  object-fit: cover;
}

.mail-body {
  padding: 30px;
}

.tag {
  margin: 0 0 10px;
  color: var(--orange);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: .08em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  font-size: clamp(42px, 5vw, 64px);
  line-height: .96;
  letter-spacing: 0;
}

.mail-body p,
.copy-card p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.6;
}

.queue-panel h2 {
  margin: 0 0 18px;
  font-size: 32px;
}

.queue-panel ul {
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
  list-style: none;
}

.queue-panel li {
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #f8fafc;
}

.queue-panel strong,
.queue-panel span {
  display: block;
}

.queue-panel span {
  margin-top: 4px;
  color: var(--muted);
}

.content-page {
  width: min(1340px, calc(100% - 48px));
  margin: 0 auto 28px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  gap: 18px;
}

.copy-card {
  padding: 42px;
}

.copy-card h1 {
  max-width: 820px;
}

.copy-card article {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.copy-card h2 {
  margin: 0 0 8px;
  font-size: 24px;
}

.content-page img {
  width: 100%;
  min-height: 100%;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: var(--shadow);
}

.contact-form {
  display: grid;
  gap: 14px;
  margin-top: 24px;
}

.contact-form button {
  justify-self: start;
}

.site-footer {
  width: min(1340px, calc(100% - 48px));
  margin: 0 auto 28px;
  padding-top: 18px;
  border-top: 1px solid rgba(148, 163, 184, .5);
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 18px;
  align-items: center;
  color: #526174;
}

.site-footer p { margin: 0; }
.site-footer a { font-weight: 850; }

.site-footer nav a:hover,
.site-footer nav a:focus-visible,
.site-footer p a:hover,
.site-footer p a:focus-visible {
  color: var(--orange);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.social-links a {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  color: #334155;
  font-weight: 950;
}

.social-links a:hover,
.social-links a:focus-visible {
  transform: translateY(-2px);
  background: var(--orange);
  border-color: var(--orange);
  color: #fff;
  box-shadow: 0 12px 24px rgba(249, 115, 22, .2);
}

.social-links svg {
  width: 18px;
  height: 18px;
  display: block;
  fill: currentColor;
}

@media (max-width: 1100px) {
  .send-grid,
  .content-page {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .app-header,
  .send-grid,
  .content-page,
  .site-footer {
    width: min(100% - 28px, 1340px);
  }

  .app-header,
  .site-footer {
    grid-template-columns: 1fr;
    align-items: flex-start;
  }

  .app-header {
    flex-direction: column;
  }

  .composer-panel,
  .preview-panel,
  .queue-panel,
  .copy-card {
    padding: 20px;
    border-radius: 18px;
  }

  h1 {
    font-size: 40px;
  }

  .recipient-row {
    grid-template-columns: 1fr;
  }

  .mail-body {
    padding: 22px;
  }
}
